mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-10 02:45:11 +00:00
caeb2c7540
object-oriented way. One class (the Model class) defines your connection to the database (eg: connectionstring, username and password) and your other classes define interaction with one table each (your entity classes). The Entity classes subclass the Model class and automatically inherit its connection. WWW: http://search.cpan.org/dist/Class-DBI-Lite/
12 lines
424 B
Plaintext
12 lines
424 B
Plaintext
Class::DBI::Lite offers a simple way to deal with databases in an
|
|
object-oriented way.
|
|
|
|
One class (the Model class) defines your connection to the database
|
|
(eg: connectionstring, username and password) and your other classes
|
|
define interaction with one table each (your entity classes).
|
|
|
|
The Entity classes subclass the Model class and automatically inherit
|
|
its connection.
|
|
|
|
WWW: http://search.cpan.org/dist/Class-DBI-Lite/
|