What is the best web interface structure for creating dynamic pages / forms?

We are at the stage of reviewing various frontend interfaces (most likely components like GWT, JSF, Wicket, Vaadin, etc.).

One of the main use cases / limitations is that it must support dynamic page creation. Ie, page layout and forms and components are stored in the database and modified at runtime and from these pages are created. We are also going to write static layouts, but that is not the main focus of this question.

I thought that maybe the user community here can share experiences of different frameworks in this context. Are there differences in ease of implementation and what is appropriate?

+2


a source to share


3 answers


None of the above frameworks support creating components from a database out of the box. But there is a framework that can do it. I only know client-side frameworks like swixml, but there are webframeworks that can do this, I'm sure.

But it's pretty simple to define some json / xml format and create components from them.



I would go with Vaadin (based on GWT) which is my favorite now. In the wickets you will also need to save the html, but this is also ok + fast (!) And very nice if not all of your clients have javascript.

JSF, hhmmh, no comments, although it should be possible; -)

+1


a source


Since GWT allows you to programmatically create page components, this should be fine for you. About using JSF - I would not recommend it.



+1


a source


I am trying to dynamically (programmatically) generate pages using JSF 2. I wanted to use existing customized ajax components (ICEfaces). So I decided to use composite components.
This is a great pain. Many things that should work just don't. I have to face a lot of weird problems that I gradually get lost in all these workarounds. I am migrating to GWT. Hope it gets better.

0


a source







All Articles