Runtime API

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

Workflow

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

A simple example

May 9th, 2007

Table of Contents showTocToggle(”[+]”,”[-]”)

A simple example

Mapping
Persisting
Retrieval
Delete and update

Wanna do more?

A simple example

The following is a simple example that shows you how to use EZPDO to persist and retrieve your objects.

You may want to check out the tutorial that showcases more advanced features that EZPDO has after following this simple example.

Mapping

Suppose you have a class […]

Read more | Comment

Object query

May 9th, 2007

Table of Contents showTocToggle(”[+]”,”[-]”)

Overview
Basic queries

From and Where
The in operator
Sorting and limit
Simplified syntax
Aggregate functions

Advanced queries

Single-valued vars
Many-valued vars

Overview

EZOQL stands for EZPDO Object Query Language. EZOQL is a mini query language that resembles the standard SQL SELECT statements. It provides great flexibility in object retrieval.

Despite the resemblance to standard SQL statements, please keep in mind EZOQL is […]

Read more | Comment

Installation

May 9th, 2007

EZPDO is self-contained1). Simply download and unzip, and you are good to go!

Download the latest EZPDO release.
Extract tarball to a directory you desire.
tar -xzvf ezpdo.tar.gz -C /path/to/install/ezpdo

Check if your system is ready for EZPDO.
Check out the tutorial to quickstart with EZPDO.

1) The default database library is ADODb. Only if you […]

Read more | Comment

« Previous Entries  Next Entries »
Get Chitika eMiniMalls