I have a requirement that the user may choose different templates for his page say for example for user profile page, our web app should give multiple types of templates to show the profile, user might pick any one template. In future we may enhance the same feature by giving more freedom to user over templates, he can customise the template the way he wish to,
Example for customising a template is : he can move his profile pic from Left side to right side , he may change background colour etc.
What are the best possible approach for this kind of UI ? Do I need to keep meta data of whole page and then create it at client side ? Do I need to create the whole html at server side and just load it at client side ?
Are there any frameworks for JADE/Node.js for this kind of UI development ? I am totally new to this kind of development so suggest me the proper way.