BH> After converting the data in my project from text files to MySQL
BH> tables, things are certainly working more smoothly than they were
BH> before, but since I use objects (in Perl, which barely supports
BH> objects, but that's another story) I have to write a lot of annoyingly
BH> repetitive code to create the object, run a query on the database to
BH> get the data that I need, set the object's member variables equal to
BH> the results returned from the query, and then do all those steps in
BH> reverse if the object's member values have changed later.

There is a number of CPAN modules which provide OO access for SQL database.
Take a look at http://poop.sourceforge.net.

-- 
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
| Ilya Martynov (http://martynov.org/)                                    |
| GnuPG 1024D/323BDEE6 D7F7 561E 4C1D 8A15 8E80  E4AE BE1A 53EB 323B DEE6 |
| AGAVA Software Company (http://www.agava.com/)                          |
 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to