Hi Chris,
When I was starting a project that needed to hit databases and use CForms I picked apart the Petstore sample application.
It shows how you can query databases from flow and push the results to and from cocoon forms. Its a bit heavy and overwhelming at first but if you take the time to step through the flowscript you can see how it all hangs together.
The main drawback with it is that it is only intended as an example and suffers from a fair bit of 'concern mixing' as a result. The project I'm working on uses Oracle or Informix as its back end and goes OK but all the database connectivity is handled from within flow which isn't cool. I'm now poring over the Hibernate tutorials and the Cocoon/Hibernate/Spring Petstore example in order to handle database stuff correctly.
The Petstore example will get you going in the shorter term, however. Just don't rely on the methods gleaned from it to be a robust solution.
Hope this helps


Tony

Chris Maloney wrote:

Does anyone know a good tutorial on getting started with databases; hopefully one that uses CForms? I have looked all over, and not found one. I am under enormous time pressure, otherwise I probably wouldn't ask this here. I've found several links to one on IBM Developer Works, but I guess they've stopped giving out their content for free, or something. The tutorial in the "Databases Block Samples" doesn't use CForms, and also doesn't work, and has a lot of nasty dependencies, etc.

Any pointers would be appreciated.

Chris


--------------------------------------------------------------------- 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]



Reply via email to