Can you please add the license for jdbi to the legal directories (2.1.x and trunk)?
Thanks Carsten Sylvain Wallez wrote: > Hi all, > > Just in time before the code freeze deadline, I committed an additional > sample for CForms [1], which shows how, using JDBI [2] and the > Collection wrappers for container widgets and repeaters [3] and a few > conventions, writing simple CRUD applications with Cocoon is a breeze. A > simple flowscript, a form definition and a few templates and you're done. > > No Java classes, no binding file, no O/R mapping tool! > > This sample is for now limited to editing one table, but I currently use > this approach on a small project with a few entities with associations > and compositions, and this works quite well. We'll have to expand this > sample to more than a simple table, but it's already a good start to > show people how to move away from the ugly inserts-with-sqltransfomer > pattern! And BTW I removed the previous sample that was using that > pattern... > > This sample also uses some patterns (JS DAO objects) and conventions > (use of id for primary keys and xxx_id for foreign keys, generic > pipelines, etc) that we may want to factorize in some code generators or > run-time database introspection libaries. With Racoon, Crack and this > sample, Cocoon is back on the rails :-) > > The live demo should be available soon at > http://cocoon.zones.apache.org/demos/trunk/samples/blocks/forms/sql/ > > Enjoy! > > Sylvain > > [1] http://svn.apache.org/viewcvs.cgi/cocoon/blocks/forms/trunk/samples/sql/ > [2] http://jdbi.codehaus.org/ > [3] > http://svn.apache.org/viewcvs.cgi/cocoon/blocks/forms/trunk/java/org/apache/cocoon/forms/util/ > -- Carsten Ziegeler - Open Source Group, S&N AG http://www.s-und-n.de http://www.osoco.org/weblogs/rael/
