Hi, Thanks for all the replies. I will have a look at the flowscript, which i ommitted so far, as I thought it is not essential for builing a website that has fairly any user-interactive processes, but is just barely an information-delivery-website.
I have been developing some MVC-Webapps with Servlets and JSP and I was hoping to simply adopt this pattern to cocoon (Sitemap == Conroller, XSP or JSP = View, native Java-Class called within views = Pull-Modell). With this approch I could encapsulate all the business-logic in the modell, the sitemap would be responsible for calling the correct view and the views would grep the data from the modell by calling the appropriate method and just perform the Logic for presentation. Is this applicable for cocoon or am I going in the wrong direction with this idea? Kind Regards Ole > -----Urspr�ngliche Nachricht----- > Von: Leon Widdershoven [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 23. April 2004 14:01 > An: [EMAIL PROTECTED] > Betreff: Re: Generating XML - Design decisions > > > You could try an Object/Relational bridge, like OJB or > Hibernate, and combine it with Flowscript. You can use the JX > generator to write bean information in the pages dynamically > (using, of course, flowscript and cocoon.sendPage) > > There are tutorials and introductions on the WIKI on that subject. > > It is, of course, strongly recommended that you have some > knowledge about java if you're going to build a O/R bridge. > But not that much. > > Javascript (flowscript) is, as I understand, at present the > recommended way to write apps. It is also not hard to learn > and Java classes containing business logic can be called from > withing the Javascript interpreter (Mozilla Rhino). > > OJB and Hibertnate do require some investment in time to get > to know it. I think a day full time playing is not too much, > and will give you a feeling for it. > > Please visit the cocoon wiki and look at the howto's for more info. > > Hope that helped a bit. > > Leon > > Hildebrandt, Ole wrote: > > Hi, > > > > I am fairly new to cocoon and I am planning to use it for a > quite big > > website. I keep thinking what the best way is to genrate XML from a > > database. > > > > - XSP seems too complicated and limited and there is no > knowledge in > > the developer-team available > > - JSP seems okay, many developers are familiar with it, but > are there > > any drawbacks regarding performance (I think JSP-Generator is not > > cachable, is > > it?) or other things? > > - Writing a new Generator seems to be a too much, and not > very practical in > > development since you have to recompile it all the time and > cannot make > > changes at runtime > > - Doing it with SQL- and XSLT-Transformers? Not so nice, > since IMO the code > > for implementing the logic is spread over too many files > (Correct me if i am > > wrong) > > > > It would be really helpful if someone had a pice of advise or any > > experience what approach pays off best > > > > Regards > > > > Ole > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
