I need some help regarding implementation of following case.
In a servlet ,I have a Data Access object which is returned by a database query upon request from a client browser.
Now the requirement is that the user should be able to customize the layout format.
So now we plan to accept from user :
1. Stylesheet file which has css definitons for his layout.
2. "something" from user where he can specify the layout, and the placeholder for content in the JSON object.This will have reference to the styles defined in stylesheet provided.
Items provided by user in 1 and 2 will be stored in database and will be used for his access only.
The end user here is expected minimum to know the CSS, and html designing.
My query is what should be this "something"
In future plans we are thinking of moving from JSON to xML format.
What are other ways/technologies using which such sort of personalization can be done.