Categories


Loading feed
Loading feed
Loading feed

Integrating Propel with the Zend Framework

It is very easy to integrate other tools and components into the Zend Framework. I have already shown, how to integrate Smarty as a template engine and the eZ Components to expand the selection of useful components to build your own framework based on the Zend Framework. 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.

Member Profile: Ralf Eggert

My name is Ralf Eggert and I am the team leader of the German translation team for the Zend Framework manual. From time to time I write some articles here at the Zend Developer Zone. Please have a look at the overview of the articles I wrote so far. I work with PHP since 1999, starting with PHP 3.

I live in Northern Germany and founded my first web building company back in 1998, in the good old days before the first big Internet bubble burst and spilled its ingredients all over the place. Nowadays, my company Travello GmbH has turned its focus from pure web building to the tourism sector.

Integrating Smarty and ez Components with the Zend Framework

Here is a follow-up to the first part of the little tutorial Integrating Smarty with the Zend Framework. I want to address some of the issues in the comments of the first part and add some further information on how to setup your application to use the Travello_View_Smarty class. Along the way you learn how to integrate classes of the eX Components.

Integrating Smarty with the Zend Framework

Inspired by this article I started to play around a bit to integrate the Smarty template engine into the Zend Framework. My ambition was to minimize the required code in the controller actions but stay close to the given Zend_View API. I also wanted to integrate the Smarty caching feature. Here is the code I came up with.