PHP 电子商务网站与内部数据库进行库存/订购?

发布于 2024-09-05 05:59:38 字数 362 浏览 1 评论 0原文

我正在开发一个电子商务网站(使用 PHP 定制,或使用 Drupal/Ubercart),我想调查该网站与我们用来管理库存和订单的内部(filemaker)数据库的交互。目前,我们手动将订单从网站传输到我们自己的数据库,并且该网站不会检查或记录库存变化。

我允许两者交互的计划如下:

  1. 使内部数据库在具有固定 IP 的计算机上可用,
  2. 仅允许从站点进行外部访问
  3. 使用 ODBC(或类似的)连接到内部数据库
  4. 使用简单的查询来检查库存/记录库存变化/记录订单详细信息

我是否在这里遗漏了一些东西,因为这听起来很简单? 我应该看看其他解决方案吗?

预先感谢您的任何帮助或意见。

I'm working on an e-commerce site (either bespoke with PHP, or using Drupal/Ubercart), and I'd like to investigate the site interacting with an internal (filemaker) database we use to manage stock and orders. Currently we manually transfer orders from the web site to our own database, and the site does not check or record changes in stock.

My plan to allow the 2 to interact is as follows:

  1. Make the internal database available externaly on a machine with a fixed IP
  2. Allow external access from the site only
  3. Connect to the internal database using ODBC (or similar)
  4. Use simple queries to check stock / record stock changes / record order details

Am I missing something here as this sounds quite straight forward?
Is there another solution I should be taking a look at?

Thanks in advance for any help or comments.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

装迷糊 2024-09-12 05:59:38

你的计划听起来非常简单。您可能要考虑确保最终用户永远无法立即采取更新后端的操作。仅当后端用户采取操作(即批准订单)时,才应修改后端内容。不过,我不确定您首选的电子商务解决方案如何运作。

Your plan sounds completely straightforward. You might want to consider making sure that end-users can never take an immediate action that updates the backend. Backend stuff should only be modified when a backend user takes an action, i.e. approves of an order. I'm not sure how your preferred e-commerce solutions work, though.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文