DB_DataContainer
Details
| Size: | 9K |
| Last Update: | 2008-05-27 00:08:01 |
| Version: | 1.3.1 |
| OS Support: | Linux |
| License/Program Type: | BSD License |
| Publisher: | Mika Tuupola |
| Price: | $0.00 |
Description:
DB_DataContainer 1.3.1 is database apis software developed by Mika Tuupola.
DB_DataContainer is a PEAR compliant database persistence layer and data encapsulation class. A persistence layer can encapsulate the behaviour needed to make objects persistent like for exemple: to load, save and delete objects to and from persistent storage. Currently the only supported persistence mechanisms are relational databases. Database abstraction is provided by PEAR DB.
Data encapsulation is provided by overloaded accessor methods. This means that if you have a property named $foo and you do not write getFoo() and setFoo() methods in the extending class yourself, they will be automatically provided by DB_DataContainer.
As a result of the provided persistence mechanism and data encapsulation DB_DataContainer together with few lines of extra code can be used to implement the Active Record Pattern as described by Martin Fowler:
An object that wraps a row in a database table or view, encapsulates the database access, and adds domain logic on that data.
The class does not use any external configuration files. The extending class itself IS the configuration. All you need to take care about is to have matching propertyname - columname pairs in the class and the database table.
If your database schema changes, for example you add an column foo to the table, all you need to do is to add a property name foo to your class which extends DB_DataContainer. There is no need to rewrite any internal SQL queries.
The class does not provide direct support for JOIN:s or table linking. For extreme cases it is still possible to pass hardcoded SQL queries. This usage is discouraged since it breaks the basic idea of using DB_DataContainer.
Here are some key features of "DB DataContainer":
Simple API
Persistence mechanism encapsulation. You only need to call load(), save() or delete(). Note that there are no separate methods for INSERT and UPDATE. save() figures itself out which query to use.
Overloaded accessor methods for class properties without such methods.
PEAR DB supported databases as persistence mechanisms (tested with Postgres, MySQL, MSSQL and SQLite).
Multi-object actions provided by a static getObjects() call.
Possibility to use hardcoded SQL queries in multi-object actions.
Regression tests.
Supports PHP4 and PHP5 (starting from version 1.3.0)
What's New in This Release:
This release fixes problems with protected and private data members when using PHP5.
DB_DataContainer 1.3.1 supports different languages (including english). It works with Linux.
Downloading DB_DataContainer 1.3.1 will take several seconds if you use fast ADSL connection.
0 comments
Downloadtube.com agrees that pirated software hurts software
developers and does not support such practices. We acknowledge and
agree that software piracy is theft. Using DB_DataContainer crack,
DB_DataContainer key generator, DB_DataContainer keygen, as well as any
pirated DB_DataContainer serial number/serial numbers and DB_DataContainer
registration code/codes, warez, keys, torrents, passwords, is illegal
and does not support the future development of DB_DataContainer.
Downloadtube.com advises that DB_DataContainer should be only used in
accordance with the rules of intellectual property and the existing
Criminal Code. Downloadtube.com does not allow the inclusion of any
crack, serial or keygen and disclaims any liability for the
inappropriate use of DB_DataContainer.
Add to
DB_DataContainer Version History
Related Software
|
|
From category: Database-APIs |
| DBAHelper 0.1.7 is database apis software developed by IzzySoft. DBAHelper project is a collection of scripts to ease the daily maintenance work of Oracle database administrators. Examples a... |
|
|
From category: Database-Engines |
| Cego implements a relational and transactional database system with support for the SQL query language.... |
|
|
From category: Database-APIs |
| DBDesigner Preview 2 is database apis software developed by Mihnea Balta. DBDesigner is a program to create any visual design of MySQL databases. f you need to build complex SQL databases yo... |
|
|
From category: Administrative-frontents |
| DocServ 1.0 is administrative frontents software developed by Antoine Duval. DocServ is a small tool for indexing documents in a database. It is easy to use, and can be installed in less tha... |
|
|
From category: Administrative-frontents |
| CrunchyFrog 0.1.1 is administrative frontents software developed by freshi. CrunchyFrog is a database schema browser and query tool written in Python/PyGTK. CrunchyFrog\'s current status is \'under... |
|
|
From category: Database-APIs |
| Firebird .NET Data Provider 2.0 RC4 is database apis software developed by Carlos G.A.. Firebird .NET Data Provider is an ADO.NET data provider for Firebird. Firebird .NET Data Provider is written... |
|
|
From category: Database-Engines |
| cbMySQL 4.0.2 is database engines software developed by Christoph Becker. cbMySQL is a PHP Class witch can create, alter, and modify MySQL databases and tables. For backup issues, you can export CS... |
|
|
From category: Database-APIs |
| SQLiteJDBC supports the most commonly used features of JDBC that can be efficiently implemented on top of SQLite.... |
|
|
From category: Administrative-frontents |
| Database Fishing Tool 1.4.3 is administrative frontents software developed by Jelco Huijser. Database Fishing Tool is short DaFT is a front-end to any database that can be connected to with an ODBC... |
|
|
From category: Administrative-frontents |
| DataKiosk 0.8 beta is administrative frontents software developed by The KDE Project. DataKiosk is a JuK-like database interface tool for generic SQL databases. What does that mean? Essentially, Da... |
|
|
From category: Database-APIs |
| Demunger is a script used to process the database dumps in order to turn them into plain UTF-8 again.... |
|
|
From category: Administrative-frontents |
| Databrid is a powerful tool that provides easy access to data and manipulation of data within an Oracle or MySql database.... |
|
|
From category: Database-APIs |
| FreeTDS 0.64 is database apis software developed by Brian Bruns. FreeTDS is an open-source implementation of the TDS (Tabular DataStream) database client access protocol and related libraries used... |
Leave a comment