On Wed, Sep 10, 2003 at 02:08:08PM -0400, Geoff Howard wrote:
> Garvin Riensche wrote:
> >Hi there,
> >
> >I started looking at cocoons database support and figured out how to
> >connect
> >cocoon 2.1-m1 to a postgresql 7.3 database and how data can be read out of
> >the database. But i didn't understand yet how i can store data. Let's
> >consider a simple example where i have a textfield and want to store its
> >input in my database. How can that be done?
>
> You have some ready-made options:
> 1) the Database Actions (I'd suggest using the "Modular" database
> actions as they are in more current deveolpement. Modular refers to
> their use of "InputModules").
> 2) SQLTransformer
> 3) esql
> 4) Object-relational blocks (don't we have this now? someone?)
>
> Of these three, I'd suggest _not_ using the third for data insert/update
> because it will tend to lead to mixed concerns.
You can use esql in xsp actions which does not mix concerns and is very simple
and fast for those who are not familiar with JDBC
LG
--
__
| / \ | Leszek Gawron // \\
\_\\ //_/ [EMAIL PROTECTED] _\\()//_
.'/()\'. Phone: +48(501)720812 / // \\ \
\\ // recursive: adj; see recursive | \__/ |
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]