News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Integrating Propel with the Zend Framework
April 28, 2006 @ 13:52:43

The Zend Developer Zone has posted another new tutorial covering the intergration of thier popular framework with another popular tool - Propel - an "object persistence and query toolkit" for PHP. It makes it easier to access database values as objects.

Since the Zend Framework is currently (Preview Version 0.1.3) lacking an ORM-Layer (Object Relational Mapping), I want to show you how to integrate Propel. Propel allows you to access your database using a set of objects, providing a simple API for storing and querying data. So Propel can easily take over the model part in a MVC system. For detailled information on Propel, its dependencies on Phing and Creole and how to install it please refer to the Propel website and the User guide.

The tutorial lays out the same application directories, both for the libraries and for the actual application itself. From there, they set up the paths, and create the actual files that Propel works with to map to the structure of your database (an XML file). The rest is the code of the actuall app, making it possible to access your data as simply as the property of an object.

0 comments voice your opinion now!
zend framework propel integrate tutorial sample zend framework propel integrate tutorial sample


blog comments powered by Disqus

Similar Posts

Builder.au: Zend seeks a sustainable open-source model

SitePoint.com: OAuth for PHP Twitter Apps, Part I

Zend Developer Zone: Zend_Acl and MVC Integration Part I (Basic Use)

Kevin Schroeder: (Basic) Configuring the Magento 2 Dependency Injection Container

Oracle Technology Network: DeployPHP Series, Part 5 - Zend Core for Oracle Quick Start


Community Events

Don't see your event here?
Let us know!


xdebug api framework podcast interview unittest opinion laravel voicesoftheelephpant install community language release introduction laravel5 php7 example series extension library

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework