mailmur wrote:
This is what I have been thinking about a long time.
Its often we need a simple and lightweight db
interface for adhoc needs.
I have not created it but have been planning on doing
it. I was not aware Velosurf has DB helper classes, I
may give it a try.

My idea is to give wrappers/helper classes that work
fine within servlet environment or standalone.


You should give Torque a try (http://db.apache.org/torque). It can do anything you described and more. It has a long common history together with Velocity, it even uses it under the cover to generate objects that you can use in your templates. Like in:

- $user.Firstname
- $address.City.Zip
- #foreach($email in $person.Emails)

Torque is easy to use, supports different database systems and keeps you away from SQL and its dialects.

Bye, Thomas.


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

Reply via email to