Re: cforms, flowscripts and database

2004-06-03 Thread Derek Hohls
Nick

Again, a plea from the "community" - many people have expressed
a deep interest in seeing a sample of this work (along with, if
possible,
a brief explanation of how to set such a system up) and it would be
excellent if you could spare some time to do so...

Thanks
Derek

>>> [EMAIL PROTECTED] 2004/06/03 08:28:57 PM >>>
Hi,

I'm developing a webapp that also needed persistency. I decided to use
Hibernate (it is very easy to learn and use) in conjunction with CForms
and
the woody data binding framework. Till  now I think it a good choice.
Not
too much flow script, only a few lines for each form.
I hope this will help you.

Nick Van den Bleeken
- Original Message - 
From: "Stephane Delort" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 02, 2004 4:40 PM
Subject: cforms, flowscripts and database


> Hi,
>
> I need to develop a webb app based on a PostgreSQL db.
>
>
> Though, since I decided to work with Cforms, I need to get involved
with
> flowscripts.
> (cforms for a future move to Lenya)
> That's ok,
> I also know (and tryed) db-actions (modular ones), SQLT, and XSP.
(not in
> this context)
> Thus, how which is the BEST WAY to use db and flowscript ?
>
> I took a look at the petstore sample and saw database.js.
> that's a pretty thing but maybe not as strong as actions and so on.
> I already saw that there was quite a long discussion around that
> (cocoon-devel sthg around April 20th )
>
>
> Knowing a little in OJB, I think it is too much complicated for the
job I
> need to fullfill.
> I also notice that it is possible to use hybernate (another
technology
...)
> but I don't really want to learn this other thing.
>
> In fact it appears that I am in front of the LAMP vs
> LinuxCocoonXMLSitemapActionsPostgreSQLAndALotOfFunnyThings... 
problem.
>
> please , feel free to give me any helpfull advice (experience
feedback
> greatly appreciated)
>
> Thanks in advance,
> Stephane
>
>
>
>
>
>
>
-
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
>
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: cforms, flowscripts and database

2004-06-03 Thread Nick Van den Bleeken
Hi,

I'm developing a webapp that also needed persistency. I decided to use
Hibernate (it is very easy to learn and use) in conjunction with CForms and
the woody data binding framework. Till  now I think it a good choice. Not
too much flow script, only a few lines for each form.
I hope this will help you.

Nick Van den Bleeken
- Original Message - 
From: "Stephane Delort" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 02, 2004 4:40 PM
Subject: cforms, flowscripts and database


> Hi,
>
> I need to develop a webb app based on a PostgreSQL db.
>
>
> Though, since I decided to work with Cforms, I need to get involved with
> flowscripts.
> (cforms for a future move to Lenya)
> That's ok,
> I also know (and tryed) db-actions (modular ones), SQLT, and XSP. (not in
> this context)
> Thus, how which is the BEST WAY to use db and flowscript ?
>
> I took a look at the petstore sample and saw database.js.
> that's a pretty thing but maybe not as strong as actions and so on.
> I already saw that there was quite a long discussion around that
> (cocoon-devel sthg around April 20th )
>
>
> Knowing a little in OJB, I think it is too much complicated for the job I
> need to fullfill.
> I also notice that it is possible to use hybernate (another technology
...)
> but I don't really want to learn this other thing.
>
> In fact it appears that I am in front of the LAMP vs
> LinuxCocoonXMLSitemapActionsPostgreSQLAndALotOfFunnyThings...  problem.
>
> please , feel free to give me any helpfull advice (experience feedback
> greatly appreciated)
>
> Thanks in advance,
> Stephane
>
>
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: cforms, flowscripts and database

2004-06-02 Thread Derek Hohls
Stephane

One or two of us (and probably others) are working
to try and get a decent sample for the use of Hibernate
as a persistence layer, acting in concert with POJO, as
well as the usual flow/cforms.  I do not believe it will
be that hard to do, but it is quite a mouthful of 
technology to swallow at one go!!

Perhaps we can call this LATCH
(Linux/Apache/Tomcat/Cocoon/Hibernate) 
[nb. avoid adding in mysql as this solution is meant to 
be db independant!]

Derek

>>> [EMAIL PROTECTED] 2004/06/02 04:40:48 PM >>>
Hi,

I need to develop a webb app based on a PostgreSQL db.


Though, since I decided to work with Cforms, I need to get involved
with
flowscripts.
(cforms for a future move to Lenya)
That's ok,
I also know (and tryed) db-actions (modular ones), SQLT, and XSP. (not
in
this context)
Thus, how which is the BEST WAY to use db and flowscript ?

I took a look at the petstore sample and saw database.js.
that's a pretty thing but maybe not as strong as actions and so on.
I already saw that there was quite a long discussion around that
(cocoon-devel sthg around April 20th )


Knowing a little in OJB, I think it is too much complicated for the job
I
need to fullfill.
I also notice that it is possible to use hybernate (another technology
...)
but I don't really want to learn this other thing.

In fact it appears that I am in front of the LAMP vs
LinuxCocoonXMLSitemapActionsPostgreSQLAndALotOfFunnyThings... 
problem.

please , feel free to give me any helpfull advice (experience feedback
greatly appreciated)

Thanks in advance,
Stephane






-
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: cforms, flowscripts and database

2004-06-02 Thread Mark Lundquist
On Jun 2, 2004, at 7:40 AM, Stephane Delort wrote:
Hi,
I need to develop a webb app based on a PostgreSQL db.
Though, since I decided to work with Cforms, I need to get involved 
with
flowscripts.
(cforms for a future move to Lenya)
That's ok,
I also know (and tryed) db-actions (modular ones), SQLT, and XSP. (not 
in
this context)
Thus, how which is the BEST WAY to use db and flowscript ?

The BEST way in general is:
— business logic in Java
— ...with object persistence via Hibernate, OJB or whatever
— controller logic in flowscript
However, if you have legacy data in PostgresSQL, then the general 
"best" way might not be the "best" way for you!  You would probably be 
better off with a data access layer of simple Java classes using JDBC.

I took a look at the petstore sample and saw database.js.
I haven't looked at that, so I can't comment on it.  Maybe that would 
be a good way to go, all things considered.

Using flowscript as the implementation language for an application, 
i.e. for application/business logic, is somewhat of an "abuse" :-).  I 
think flowscript is primarily intended for controller/presentation 
logic.  You get sort of a two-level controller layer, with little 
controllers written in flowscript, and the sitemap as a kind of 
"super-controller" or dispatch layer.  But flowscript was never meant 
to be "the programming language of Cocoon applications".

that's a pretty thing but maybe not as strong as actions and so on.
I already saw that there was quite a long discussion around that
(cocoon-devel sthg around April 20th )
Man, I need to get caught up on that list... it's been a while :-)
~ml
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cforms, flowscripts and database

2004-06-02 Thread Stephane Delort
Hi,

I need to develop a webb app based on a PostgreSQL db.


Though, since I decided to work with Cforms, I need to get involved with
flowscripts.
(cforms for a future move to Lenya)
That's ok,
I also know (and tryed) db-actions (modular ones), SQLT, and XSP. (not in
this context)
Thus, how which is the BEST WAY to use db and flowscript ?

I took a look at the petstore sample and saw database.js.
that's a pretty thing but maybe not as strong as actions and so on.
I already saw that there was quite a long discussion around that
(cocoon-devel sthg around April 20th )


Knowing a little in OJB, I think it is too much complicated for the job I
need to fullfill.
I also notice that it is possible to use hybernate (another technology ...)
but I don't really want to learn this other thing.

In fact it appears that I am in front of the LAMP vs
LinuxCocoonXMLSitemapActionsPostgreSQLAndALotOfFunnyThings...  problem.

please , feel free to give me any helpfull advice (experience feedback
greatly appreciated)

Thanks in advance,
Stephane






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]