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
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.