May 9th, 2007
he palest ink is better than the best memory.”
EZPDO documentation is composed of two parts.
This wiki contains overview, tutorials, user manual, developer’s guide and FAQ.
The Development API document generated by phpDocumentor from the source code.
Read more | Comment
May 9th, 2007
do object-oriented programming (OOP), it’s probably hard to understand and use EZPDO. If you are willing to learn the OO way in PHP, you probably should […]
Read more | Comments
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