Best practices for creating multiple web app instance

流过昼夜 提交于 2019-12-24 00:37:20

问题


I would like to know your opinion on the ideal approach of developing an multiple web app instance for SaaS.

Just to give out a rough idea on what i am trying to do is:

Suppose there is a web app, let say HR application (i.e. OrangeHRM). Where i as the service provider would have more than one clients.

In my application, it could have multiple users with different roles and so on, so forth.

What would be the ideal way to implement this in terms:

  • modularity (adding new modules in the future)
  • confidentiality
  • scalability (i am not sure with this regards)

I have thought of using different approach such as:

  • I would have multiple copies of my apps (think of having multiple root folders within your public_html folder). This way, my server would essentially run the same applications to gether.
  • I would have multiple database schemas, one for each client. I would do this so that data between clients do not get mixed up together.
  • Other suggestions are welcome....

So, bottom line is i would like to have multiple instances of application which shares (or could partially shares) the same code. I would prefer that data of one client be separated to another.

I would preferably use the following language / framework in collaboration with MySQL as my data store.

  • Django, Phyton, HTML, CSS, jQuery Laravel, PHP, HTML, CSS, jQuery

Thanks

来源:https://stackoverflow.com/questions/21446798/best-practices-for-creating-multiple-web-app-instance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!