-----Ursprüngliche Nachricht----- Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Andreas Hartmann Gesendet: Mittwoch, 2. Januar 2008 10:35 An: [email protected] Betreff: Re: Apache Lenya and Tapestry 4
> Your authors can edit the website contents with Lenya, I don't think it > would be useful to add another Tapestry-based layer on top of the > authoring environment. Thanks for your answer. Yes, we don't want to do that. A main problem that I'm seeing right now is that Lenya is using it's own XML based Template mechanism whereas Tapestry is using our HTML Templates. How, in this scenario the author is going to see what the layout is look like? Because he sees the content together with the Lenya XML based Templates right? > A central question is how to design > the interface between your application and Lenya. Do you want to use > something like HTTP to achieve a loose coupling, or do you want to > integrate the apps more tightly, e.g. using SAX to get the XML content? At this point our wishes are very small. We only want to fetch content from the Apache Lenya repository and want that a editor (our clients) can access Apache Lenya and modify texts, pictures and the like on some websites. At the moment we put that content in the apache web server and access it from our tapestry web app. Now we have thought of using a web content management system for that purpose. This will allow our clients to edit the content directly. Can you think of a possible solution for that scenario? Thanks in advance. Hi Danny, Danny Waldmann schrieb: > We want to integrate an Apache Tapestry 4 (similar to JSF) Web Application > with Apache Lenya. The goal is, that the Apache Tapestry 4 Web Application > is able to get content like pictures or text from the Apache Lenya > repository and that the author can edit a website and add and modify > content. > > Tapestry uses HTML Templates. > > My question is, do you see a way to do this with Apache Lenya and > When yes, how you would do this? it's hard to answer your question without knowing some more details. Your authors can edit the website contents with Lenya, I don't think it would be useful to add another Tapestry-based layer on top of the authoring environment. As far as the Tapestry web application is concerned: You can fetch content from the Lenya application in various formats, Lenya was designed for this usage scenario. A central question is how to design the interface between your application and Lenya. Do you want to use something like HTTP to achieve a loose coupling, or do you want to integrate the apps more tightly, e.g. using SAX to get the XML content? Some aspects to keep in mind are performance/caching, flexibility, reusability etc. -- Andreas -- Andreas Hartmann, CTO BeCompany GmbH http://www.becompany.ch Tel.: +41 (0) 43 818 57 01 --------------------------------------------------------------------- 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]
