Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 61890 invoked from network); 14 Jun 2005 12:06:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jun 2005 12:06:35 -0000 Received: (qmail 5266 invoked by uid 500); 14 Jun 2005 12:06:28 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 5254 invoked by uid 500); 14 Jun 2005 12:06:27 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 5241 invoked by uid 99); 14 Jun 2005 12:06:27 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp.eunet.no (HELO smtp.eunet.no) (193.71.71.238) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 14 Jun 2005 05:06:24 -0700 Received: from [192.168.62.53] (c5100965D.inet.catch.no [81.0.150.93]) by smtp.eunet.no (Postfix) with ESMTP id 7AE99CF2FC for ; Tue, 14 Jun 2005 14:06:13 +0200 (CEST) Message-ID: <42AEC82F.5050204@xangeli.com> Date: Tue, 14 Jun 2005 14:06:07 +0200 From: Askild Aaberg Olsen User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: AW: CForms and Modular Database Actions References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 Stefano Mazzocchi writes about the two "camps" on the dev-list. A simple db-webapp with Flow/CForms and SQL *could* be as follows: * Use one pipeline with the SQL-transformer to generate an XML-document from the DB. * Bind this document to the Form (load) * When the document is edited (save), inject the document to another pipeline with JX, using XSLT and SQL-transformer to update the DB. Reading and "writing" the bound XML from and to pipelines makes the implementation transparent to Flow and CForms, so substituting the implementation is easy (we use our own XDB based on SQL instead of SQL-statements, but the principle is the same). Just a tip in the "right" direction... ;-) Askild - Derek Hohls wrote: >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* deprecated (see other threads for this). > > > >>>>askild@xangeli.com 2005/06/14 12:34:26 PM >>> >>>> >>>> >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 into a complex topic. Sit back, get a >>cup of tea and prepare for some **days** of reading and learning. >>The following skills are mandatory: >>You need to be proficient in Java..." >> >>I did spend a fair chunk of last year downloading and days reading through >>the Hibernate documents - they do seem fairly comprehensive and >>well-written... but they are not simple or straightforward. And for >>someone like myself, with skills in XML, XSLT, Javascript, SQL... all of >>which have been more than sufficient to develop webapps with Cocoon over >>the past few - the add-in of high-level Java skills to the mix is a really "gotcha" >>that significantly raises the learning barrier here. >> >>So to rephrase my original point - is this the only way to develop interactive >>database webapps with Cocoon - or should PHP start looking like an attractive >>option once more?! >> >> >> >> >> >It's the "only" way if your skills are in Java only... ;-) > >The Cocoon-community seems divided in two different camps; one that use >it as a Java-development framework, and another that uses it as an >XML-development framework. > >I myself belong to the second, using only XML, XSLT, transformers (e.g. >SQL), XSP (e.q. ESQL) and Flow. A lot of people will point my finger at >me shouting "bad practice", XSP is deprecated! The original idea behind >XSP was to have an efficient way to prototype/script generators, but >having been misused for "control" in the MVC-pattern, some looks at XSP >itself as bad design... > >So, sitemaps, XSLT, XML, SQL-transformer and optionaly Flow will get you >a long way to develop yout interactive database wepabb. Used in the >right manner, it works - brilliantly! > >In the end it's your ability to design a good architechture that saves >the day, not a lot of fancy tools and frameworks. > >Askild >- > >--------------------------------------------------------------------- >To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >For additional commands, e-mail: users-help@cocoon.apache.org > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >For additional commands, e-mail: users-help@cocoon.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org