MVC Design Question

Hello, I would like to move an web application to MVC Laravel 4 (not sure yet). The challenge is that the application is used by many customers and each customer have its own website/front-end but they all use the same backend/admin.

The strucutre is something like this...
backend.domain.com (all customers go to here to update their site)
www.cliente1.com (a folder on the server with customized hml, css, etc that access the share PHP code)
www.cliente2.com (a folder on the server with customized hml, css, etc that access the share PHP code)
www.cliente3.com (a folder on the server with customized hml, css, etc that access the share PHP code)

So basically the question is: can i use MVC for this type of solution? if so, what would be your recomendation from a design stand point

Thanks!

Recommended Answers

All 2 Replies

Yes, it should be no problem. In your case the domain you're on should specify the view to use, and some database specifics perhaps. As you said, the controller and model is the same for all, it's just the layout that differs.

thanks for your quick response.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.