Hi,

I just started out using jcr / jackrabbit and have some questions on some best practices for building a cms. Just for the record let me say that I'm using the springmodules jcr package.

The questions relating to building a cms based site:

- Is it a good idea to create classes like Page, Paragraph, Content, Template, ... which hide direct calls to the node. So for example a call like page.getTitle() is actually a node.getProperty("cms:title"); I have not yet have a lot of experience using node operations so I do not know if I'm just working myself in trouble using such a approach or aren't there any issues with such a approach?

-I would like to build a web user interface that shows the tree structure of the pages in my cms. But I do not want that all the pages would be loaded immediately. But by using dwr / ajax I would like to have async calls to my service layer and retrieve the pages / nodes I need only when opening a page in the tree structure. Has anyone got experience with nodes in combination with dwr or ajax or other async calls. Issues I should now or some advice on best practices?

- Also I was born in the age were there was no speak no more of hierarchy databases ... relational by all means they thought us. So I'm not very familiar on how the pages, paragraphs, content should be stored? Can I just have a root node wit under that page nodes, and each page node can have another page node under it or paragraph nodes. And paragraph nodes can have content and so on .... Workable solution or ... ?

Other people wh have already build a cms or dms using jcr .... I would be great to get some input from you guys. Not only the technical stuff but also what experiences you have building user interfaces for jcr.

Thx!

Reply via email to