Zend_Controller_Action: Redirecting

This post will focus on redirecting to a new action or URL within the Zend_Controller. Zend_Controller_Action has several utility methods for performing common tasks from within your action methods, we will discus _forward and _redirect. Zend_Controller also has a several Action Helpers to perform redirecting. We will discus the Redirector helper. You can determine the current
Continue reading Zend_Controller_Action: Redirecting

Zend Framework: Part 3 – Zend_Layout

Zend_Layout implements a classic Two Step View pattern, allowing developers to wrap application content within another view, usually representing the site template. The main goals of Zend_Layout are as follows: Automate selection and rendering of layouts when used with the Zend Framework MVC components Provide separate scope for layout related variables and content Allow configuration,
Continue reading Zend Framework: Part 3 – Zend_Layout

Zend Framework: Part 2 – Zend_Controller

Zend_Controller Zend_Controller is the heart of Zend Framework’s MVC system. Zend_Controller_Front implements a Front Controller pattern, in which all requests are intercepted by the front controller (Zend_Controller_Front) and dispatched to individual Action Controllers (Zend_Controller_Action) based on the URL requested. Its purpose is to initialize the request environment, route the incoming request, and then dispatch any
Continue reading Zend Framework: Part 2 – Zend_Controller

Zend Framework: Part 1 – Introduction

Introduction Zend Framework is an open source, object oriented web application framework for PHP 5. ZF is often called a ‘component library’, because it has many loosely coupled components that you can use more or less independently.¬† But Zend Framework also provides an advanced model-view-controller (MVC) implementation that can be used to establish a basic
Continue reading Zend Framework: Part 1 – Introduction