Zend Framework

This step-by-step tutorial explains how to install Zend Framework on Linux server.
We will go through basic Linux install, Zend specific configuration of Apache and Mysql and actual install and configuration of Zend Framework itself, so it will be ready for development immediately.

You might wish to check security articles on our web site for production environment lock-down.

For this tutorial we will use Zend Framework version 1.10.3 and Debian Lenny.

The tutorial provide screenshots of EVERY step you need to take to install and configure Zend Framework machine properly.

By framework-zend on 11 April 2010

I was doing my SEO for the site build using Zend Framework. The first obvious question that I have faced was "how do I add meta tags via Zend Framework?"

I was looking at some typical scenario like this:

  • keywords - words that identify what the page is about, usually used in search engines
  • description - a short description of the page

By framework-zend on 04 May 2010

In Zend Framework applications, error handling is usually covered by the error controller. However, there is acouple of different ways how programmer can send the execution to it. The big releif ad programmer's tiem saving comes from the fact that there is not much to error handling in ZF thanks to proprely though through and ready components that make it really easy.

In short: just throw an exception, and write some code in the error controller to handle it. It is also good practice to log the exceptions that get as far as the error controller.

By framework-zend on 15 April 2010

POG is free open source PHP Object Generator. This nifty tool generates MySQL structures and respective PHP classes mapped to it. Despite of obvious CRUD benefits it has pretty flexible API for building up SQL quires. Unless you are trying to avoid any overhead and want to squeeze every CPU cycle out of your server it worthwhile looking at, mainly because it saves enormous amount of time by automating Data Access Objects creation.

We will show you how to plug POG into Zend Framework and use it to access data instead of Zend DB Model.

By framework-zend on 12 April 2010

So, we will start with clean box (or virtual server) and install Debian on it.

You need to boot with Debian install CD or ISO image. We would recommend you to use Network Install image for several reasons:

  • this minimal package has all you need to setup proper web and database server
  • it does not have outdated and unnecessary software that might have security vulnerabilities or consume computer resources
  • it is small and quick to download

When you start your box and it boots from the CD you will see the first Debian install screen.

By framework-zend on 11 April 2010