dsdzvprlp51692469 2010-06-10 08:35
浏览 25

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

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.

  • 写回答

1条回答 默认 最新

  • duanbei7035 2010-06-11 02:08
    关注

    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.

    评论

报告相同问题?

悬赏问题

  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 关于大棚监测的pcb板设计
  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 lna设计 源简并电感型共源放大器
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用