Consider a web application (MVC, such as Rails) for several clients as a service.
How to do it?
The former one is simple, but ... "inefficient." How about the last one? (best practices, design patterns) How to separate customer data? For example: worker "A" of client "1" has two documents, worker "B" of client "2" has three documents. How to create model associations to protect the data of other users (and customers)? I think that combining each request with a client model is not a good solution.
source
share