cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira ...@odoko.co.uk>
Subject Re: CForms / Flow + database actions?
Date Fri, 07 Oct 2005 13:31:32 GMT
Jason Johnston wrote:
> Derek Hohls wrote:
> 
>> Is it possible to combine the CForms / Flow combination
>> with the "old style" database actions; or is the only way to
>> interact with a database, with this combination, via custom
>> written beans and data access layers (all of which *have* to
>> be in Java - e.g. see an earlier post where I asked about the
>> option of using Groovy to create code for Cocoon).
> 
> 
> If you *really* want to do it, you should be able to write your data 
> access layer in JavaScript.  I'm sure Groovy makes some things 
> (overloaded methods, creating arrays, etc.) easier, but AFAIK there 
> isn't anything that *can't* be scripted in JS.
> 
> In terms of the database actions... you'd have to call into a pipeline 
> to execute the action, right?  But I assume you don't want to have to do 
> that in a sendPage() call, i.e. you want to be able to just call the 
> action and continue your flow.  You might be able to do that with 
> processPipelineTo().

I believe there are some new ways being played with for database access 
in cforms. Using jdbi (I believe). Hopefully we'll hear more soon...

Regards, Upayavira

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message