简体   繁体   中英

Multiple home page for different clients

We have different clients asking for home page with different design layout so what is an efficient way to have multiple pages with different styles, layout for the same data coming from the database in a mvc project?

You could have different css and change the design according to the user that has logged in. If the different design includes placement of elements in different places, then you could use a grid system and store in JSON (preferably) the schema of the page. Then, on each login you should load the JSON and place the elements accordingly. Hope that gave you a small hint!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM