Zend Framework Install

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.

Zend Framework Meta Tags

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

ClamAV broke Postfix. Email fix.

In most standart setups Postfix uses amavis (ClamAV) as virus-scanner. On hte 15 of April 2010. ClamAVissues update that made verions lesser then 0.95 incomaptibe with virus database. So, Amavis (ClamAV) can't execute check properly unless updated. It also won’t let any mail through to the mailbox, if it is not checked.

Zend Framework: Error Handling

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.

Zend Framework & POG

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.

Syndicate content