Win a copy of Terraform in Action this week in the Cloud forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Al Hobbs
  • salvin francis

User Defined Layout/Personalization

Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
Presently I am converting this AccessObject into JSON format in servlet and returning it as a response to request. This JSOn is then rendered in browser using javascript.

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.

Thanks in advance.
Ranch Hand
Posts: 15304
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sounds like you want a CMS. Have you looked into existing CMS solutions to make sure you aren't trying to reinvent the wheel?
    Bookmark Topic Watch Topic
  • New Topic