Re: AW: CForms and Modular Database Actions

2005-06-19 Thread Derek Hohls
Tony Thanks for sharing that... it *always* helps to see code. But (there's always a but!) all the samples that I have seen tend to be either very simple (selects only) or highly intricate... and very hard to establish how they were built -up. The ideal approach would match a draft I put on the

Re: AW: CForms and Modular Database Actions

2005-06-15 Thread Tony Edwards
Hi Derek, I understand your dilemma as I'm not a Java developer by any stretch. One of the good things about Cocoon is that it allows you to achieve an objective in many ways. One of the bad things about Cocoon is that it allows you to achieve an objective in many ways! I think the task for most

Re: AW: CForms and Modular Database Actions

2005-06-15 Thread Derek Hohls
Upayavira I agree with what you say... more than that, I think we should offer some guidelines as to what constitutes a reasonable cut-off: I think you're being too modest ito of what can be achieved with the Java-less route... surely we could extend the sample shown to allow for filling in forms

Re: AW: CForms and Modular Database Actions

2005-06-15 Thread Bertrand Delacretaz
Le 15 juin 05, à 13:58, Upayavira a écrit : ...The point is, there are different people using Cocoon for different things. We need a lightweight way to integrate SQL and Cocoon forms. And on the documentation about it it should say "this is only suitable for _very_ small sites, and will become

Re: AW: CForms and Modular Database Actions

2005-06-15 Thread Upayavira
WHIRLYCOTT wrote: Askild Aaberg Olsen wrote: Why is tightly coupling my data access code to Hibernate so much better then, isn't this yet another framework (like EJBs)? What if I don't have the need to reuse this code? What if I'm just a newbie trying to get some data into my webapp? I sh

Re: AW: CForms and Modular Database Actions

2005-06-15 Thread Bertrand Delacretaz
Le 14 juin 05, à 22:22, Askild Aaberg Olsen a écrit : ...I commited the sample in bugzilla as bug 35364. Have a look at it. Thanks, I have applied your patch to both the 2.1 branch and the 2.2 trunk, with slight modifications (additional comments and minor refactoring), see http://issues.apa

Re: AW: CForms and Modular Database Actions

2005-06-14 Thread Derek Hohls
Thanks for this Askild. >>> [EMAIL PROTECTED] 2005/06/14 10:22:35 PM >>> Bertrand Delacretaz wrote: > Le 14 juin 05, à 16:45, Askild Aaberg Olsen a écrit : > >> ...I'll see if I can make a demo of this concept tonight. A "stock" >> Cocoon-installation comes with a working database, so it should

Re: AW: CForms and Modular Database Actions

2005-06-14 Thread Derek Hohls
Phil Can I ask... from a very naive point-of-view... if you could then outline your recommendations for the overall architecture (assuming it *excludes* additional frameworks such as Hibernate and OJB)? I was the one who raised the issue of avoiding development in Java; having said that, I am sur

Re: AW: CForms and Modular Database Actions

2005-06-14 Thread WHIRLYCOTT
Askild Aaberg Olsen wrote: Why is tightly coupling my data access code to Hibernate so much better then, isn't this yet another framework (like EJBs)? What if I don't have the need to reuse this code? What if I'm just a newbie trying to get some data into my webapp? I should clarify that I'm

Re: AW: CForms and Modular Database Actions

2005-06-14 Thread Askild Aaberg Olsen
Harse, patronizing and true words. But application complexity was not the issue here... Askild WHIRLYCOTT wrote: It seems highly unlikely to me that someone who cannot master the important parts of a modern java application will be able to develop applications that will scale in complexity as

Re: AW: CForms and Modular Database Actions

2005-06-14 Thread WHIRLYCOTT
It seems highly unlikely to me that someone who cannot master the important parts of a modern java application will be able to develop applications that will scale in complexity as the application requirements increase. If you think that java is overly complex, building a layer on top of it b

Re: AW: CForms and Modular Database Actions

2005-06-14 Thread Askild Aaberg Olsen
WHIRLYCOTT wrote: Askild Aaberg Olsen wrote: I'll see if I can make a demo of this concept tonight. A "stock" Cocoon-installation comes with a working database, so it should be easy to install and not too much work. I don't mean that using Cocoon as a Java-framework is wrong, I just want t

Re: AW: CForms and Modular Database Actions

2005-06-14 Thread WHIRLYCOTT
Askild Aaberg Olsen wrote: I'll see if I can make a demo of this concept tonight. A "stock" Cocoon-installation comes with a working database, so it should be easy to install and not too much work. I don't mean that using Cocoon as a Java-framework is wrong, I just want to address that solvi

Re: AW: CForms and Modular Database Actions

2005-06-14 Thread Askild Aaberg Olsen
Bertrand Delacretaz wrote: Le 14 juin 05, à 16:45, Askild Aaberg Olsen a écrit : ...I'll see if I can make a demo of this concept tonight. A "stock" Cocoon-installation comes with a working database, so it should be easy to install and not too much work. I don't mean that using Cocoon as a

Re: AW: CForms and Modular Database Actions

2005-06-14 Thread Bertrand Delacretaz
Le 14 juin 05, à 16:45, Askild Aaberg Olsen a écrit : ...I'll see if I can make a demo of this concept tonight. A "stock" Cocoon-installation comes with a working database, so it should be easy to install and not too much work. I don't mean that using Cocoon as a Java-framework is wrong, I ju

Re: AW: CForms and Modular Database Actions

2005-06-14 Thread Askild Aaberg Olsen
Derek Hohls wrote: Askild Thanks for the "tips"... for me (and maybe others) I am sure a simple working demo [uh, the kind where you do not have to rebuild Cocoon and add/remove blocks etc etc!] would be very useful... even a series of code snippets. If it works, I would be happy to "dress i

Re: AW: CForms and Modular Database Actions

2005-06-14 Thread Joose Vettenranta
Hi! seems like I started one thread pointed here for modular db actions and forms.. I went OJB + Forms way to solve problems and I've been happy since =) I did small tutorial stuff on my homepage (and c&p that once in to wiki, but it turned out to be mess.. didn't know how to fix it).. http

Re: AW: CForms and Modular Database Actions

2005-06-14 Thread Derek Hohls
Askild Thanks for the "tips"... for me (and maybe others) I am sure a simple working demo [uh, the kind where you do not have to rebuild Cocoon and add/remove blocks etc etc!] would be very useful... even a series of code snippets. If it works, I would be happy to "dress it up" and add to the wi

Re: AW: CForms and Modular Database Actions

2005-06-14 Thread Askild Aaberg Olsen
Yes, Derek, I have followed the discussion with great interest, but not participated myself. It seams like reason has won, and someone even tries to enhance the current XSP-block! 0:-) As a side note here, look at http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=110848544625231&w=2 where Stefa

Re: AW: CForms and Modular Database Actions

2005-06-14 Thread Derek Hohls
Askild My skills are similar to yours... but, I have not seen any documents or examples that deal with the creation of a full-fledged DB app that only uses XSLT, XML, SQL-transformer and Flow/CForms. I'd be very happy if you can point me in the right direction. Thanks. P.S. XSP is *not* de

Re: AW: CForms and Modular Database Actions

2005-06-14 Thread Askild Aaberg Olsen
Derek Hohls wrote: Tom Ok; that is one viewpoint. But I think these quotes from the Wiki: http://wiki.apache.org/cocoon/GettingStartedWithCocoonAndHibernate are also pertinent: "Be aware that you will not be ready to write Hibernate-based applications in 5 minutes. You are about to venture

Re: AW: CForms and Modular Database Actions

2005-06-14 Thread Derek Hohls
Tom Ok; that is one viewpoint. But I think these quotes from the Wiki: http://wiki.apache.org/cocoon/GettingStartedWithCocoonAndHibernate are also pertinent: "Be aware that you will not be ready to write Hibernate-based applications in 5 minutes. You are about to venture into a complex topic.

AW: CForms and Modular Database Actions

2005-06-14 Thread Lutz Thomas
Title: AW: CForms and Modular Database Actions From my personal experience I would not consider moving to Hibernate as very difficult. Following the wiki tutorial at http://wiki.apache.org/cocoon/CocoonAndHibernateTutorial it took me a day to create a search form with result list... and the