doukefu1361 2012-12-20 18:35
浏览 38
已采纳

架构/部署决策

I have been developing an employee scheduling system in cakePHP. Now, as the application gets closer to the deployment stage I was told that my customer not only wants to use it for his company but also to sell the application service(as membership) for other companies. The application is pretty simple and the database right now is really straightforward. For now there are only 3 tables: employees, customers, schedules(each tuple holds empployeeId, customerId and the time spent at the customer). The employees and customers table will normally hold ~50 records each and the schedules might get up to 15k. I have never delt with anything of the kind and so I have some doubts about it. Should every company now have its own database? How to receive payments and grand/deny access?

Any comments, suggestions regarding the case and the best practices are more than welcome.

  • 写回答

1条回答 默认 最新

  • duanluanlang8501 2012-12-20 18:39
    关注

    If your schema doesn't allow you to select records by company, then each one has to have its own.

    If you don't access records for individual companies in a secure way, then each one has to have its own.

    I think you're mad to sell something that wasn't designed and built with sales to outsiders and support in mind.

    The potential customers would be crazy to buy it.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 Odoo17操作下面代码的模块时出现没有'读取'来访问
  • ¥50 .net core 并发调用接口问题
  • ¥15 网上各种方法试过了,pip还是无法使用
  • ¥15 用verilog实现tanh函数和softplus函数
  • ¥15 Hadoop集群部署启动Hadoop时碰到问题
  • ¥15 求京东批量付款能替代天诚
  • ¥15 slaris 系统断电后,重新开机后一直自动重启
  • ¥15 QTableWidget重绘程序崩溃
  • ¥15 谁能帮我看看这拒稿理由啥意思啊阿啊
  • ¥15 关于vue2中methods使用call修改this指向的问题