About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
  • License: Freeware
  • Last update: 5 years ago
  • Total downloads: 68
  • Price: Free |
  • Operating system: Linux, Mac OS X, Win All, BSD, Solaris
  • Publisher: Mika Tuupola (3 other programs)
See full specifications

scripts default iconMDB2_DataContainer (Scripts) Publisher's description

A persistence layer encapsulates the behaviour needed to make objects persistent

A persistence layer encapsulates the behaviour needed to make objects persistent. Meaning to load, save and delete objects to and from persistent storage. In this case persistent storage means relational database. Database abstraction is provided by PEAR MDB2.

With MDB2_DataContainer2 and few lines of extra code you can implement Active Record Pattern (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. Extending class itself IS the configuration. All that is needed is to have matching propertyname – columname pairs in the class and the database table.

If the database schema changes, for example the developer adds a column foo to the table, all needed to do is to add a property name foo to the class which extends MDB2_DataContainer2. There is no need to rewrite any internal SQL queries.

Key Features of MDB2_DataContainer2:
- Simple API

- 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 MDB2_DataContainer2.

System Requirements:

Program Release Status: New Release
Program Install Support: Install and Uninstall

MDB2_DataContainer (Scripts) Tags:

Click on a tag to find related softwares

Is MDB2_DataContainer (Scripts) your software?

Manage your software

Most Popular

scripts default icon ADP Forum (Scripts) 2.0.3
ADP Forum is a discussion board system that doesn't use any database, but instead stores all the data in... Read more
scripts default icon Soraxdesign PHP Guestbook (Scripts) 3.2.5
The Soraxdesign PHP Guestbook is a simple PHP Guestbook with no MySQL database required, which offers a... Read more
scripts default icon PHPizabi (Scripts) 0.848b-C1
PHPizabi is one of the most powerful social networking platforms on the planet
scripts default icon my little forum 2.0RC1
my little forum is a simple web-forum that supports classical thread view (message tree) as well as... Read more
scripts default icon Tobi's Download Server for Download Managers 0.9
Tobi's Download Server is a PHP/MySQL solution for providing Document and/or Data downloads in a... Read more

Related Category

» Auctions (36)
» Blog (217)
» Books (75)
» Calculators (17)
» Calendars (50)
» Chat Scripts (162)
» Countdowns (1)
» Counters (2)
» Database Tools (1345)
» Date and Time (14)
» Development (1506)
» Documents (3)
» E Commerce (72)
» Education (127)
» Email Systems (202)
» Guestbooks (42)
» Healthcare (2)
» Link Checking (12)
» Link Indexing (46)
» Match Making (7)
» Miscellaneous (201)
» Modules (9734)
» Multimedia (126)
» Networking (113)
» Organizers (4)
» PHP Classes (7)
» Real Estate (1)
» Security (1)
» Top Sites (6)
» Web Fetching (1)
» Web Sites (3)
» Wikis (73)
» XML and PHP (2)