No-MVC Zend Framework: Rating Controller / Part VI

The controller is the most important part in this ZF tutorial. This is where most of the PHP code resides. It handles all input – coming thru the file receiving the Ajax rating – as well as all output – e. g. updating the rating scores. The only...

Google Maps Geocoding with JSON and PHP

When using maps on a website, Google is clearly the service to go with. If you are using JavaScript only, parsing a JSON response from Google shouldn´t be difficult, but how to use the response in PHP? In this article, I´ll describe how to use Zend Framework...

Converting a MySQL database to UTF-8

I just spent about 2 days to convert my old MySQL database from latin1 / latin1_general_ci to UTF-8 character encoding. There are about a gazillion pitfalls, especially when you work on old PHP code mixed with ZF code, on a live site of a client. The first tip...