Introducing Zend_Translate

November 13th, 2009

One of the big things that the Zend Framework has over other frameworks is the built-in locale and language tools provided by Zend_Translate and Zend_Locale. All this comes with plugins into Zend’s templating system via Zend View Helpers. This video covers setting up some language-friendly routes, writing a custom language switcher Zend Controller Plugin and then running some a CSV-formatted language file.

Grab a copy of the project or browse the repository.
 

Moving Bootstrap Code to Configuration

November 5th, 2009

We’re going to build on what was covered in the last video and work with Zend Controller Plugins to specify a special layout for each module in our application. We’ll also look at how we can clean up the configuration of our Bootstrap.php file by moving as much configuration as possible into the application.ini file. Included in this video is a very quick look at how the Zend Framework’s resources are defined and loaded.

Grab a copy of the project or browse the repository.
 

Protecting Assets with Zend Controller Plugins

October 30th, 2009

I had to take a little hiatus the last few weeks, however I’m hoping to get back into a weekly posting schedule.

This video is an introduction in how to effectively use Zend Controller Plugins. The Zend Documentation refers to Zend Controller plugins being part of the Action Stack which is a simple data structure that can be filled with a bunch of plugins which will run in succession.

We’ll create a simple asset protection script using the Zend Framework’s built in Zend Controller Plugin architecture.

Grab a copy of the project or browse the repository.

 
Desktop RSS feed iPhone + iPod