May 9th, 2007
Table of Contents showTocToggle(”[+]”,”[-]”)
Overview
Motivation
Features
Licence
Quickstart
Wanna do more?
Installation
Tutorial
User manual
Developer’s guide
FAQ
References
Contact
Overview
Motivation
Object-relational mapping
(ORM)
is useful in developing both Web-based and non-Web-based applications.
Many of us in desperate search for good ORM tools for PHP end up finding
existing PHP persistence packages are either insufficient to address the problems
we face, or unnecessarily complex that demand a steep learning […]
Read more | Comment
May 9th, 2007
Table of Contents showTocToggle(”[+]”,”[-]”)
Get ready
Download and install
The config file
Database setup
The data model
The Base class
The Author class
The Book class
Create objects (and associations)
Include runtime API
Create authors
Create books
Associate authors and books
Commit and auto_flush
Object operations
Check stored objects
Find objects
Delete objects
What’s next?
So you have followed the simple example and you want to do more with EZPDO.
In this tutorial, we are […]
Read more | Comment
May 9th, 2007
Table of Contents showTocToggle(”[+]”,”[-]”)
The primitive types
bool, int, float
char, clob, blob
data, time and datetime
Summary of primitive types
Too few types?
Beyond primitive types
The primitive types
Here is a list of primitive data types supported in EZPDO.
bool
int(m)
decimal(m,d)
float(m)
char(m)
clob(m)
blob(m)
date
time
datetime
bool, int, float
Boolean, int, and float are the same as those defined in PHP and
are simply mapped to the corresponding default database […]
Read more | Comment
May 9th, 2007
Table of Contents showTocToggle(”[+]”,”[-]”)
Object operations
Basic
Advanced
Event listeners
Transactions
This is a summary of the API methods that you would use for most of your tasks. The full API doc can be found here.
Object operations
Basic
All runtime calls are through the persistence manager (epManager). For most of the tasks, you need only six basic methods. They are -
epObject create($class […]
Read more | Comment
May 9th, 2007
Table of Contents showTocToggle(”[+]”,”[-]”)
Configuration
Mapping
Compile (optional)
Runtime
Here is the workflow to use EZPDO to persist/retrieve your objects.
Configuration
You can use any text editor to modify your own EZPDO configuration file. Configuration options can be specified in either
an XML file
or
an .ini file.
A complete list of options with detailed descriptions can be found here. Most […]
Read more | Comment