- [Zend Framework] Slug filter
While studying for my Zend Framework certification, I tried to build a small application to test my knowledge. One of the tasks in that project was to try and build a slug filter which converts a particular string to slug, for example, ‘My Test String’ to ‘my-test-string’. It also checks for slug duplication if you […]
- Namespaces in PHP 5.3 – Part 1
One of the most significant and welcome features added in PHP 5.3 was that of namespaces. While this has been around in other programming languages, namespaces have finally found their place starting with PHP 5.3. If you are not new to namespaces and have worked on them in other languages don’t go away, you might […]
- [HowTo] Google Calendar API : PHP – Manage events (Part 3)
Earlier we saw how to install Zend’s GData library and retrieve list of calendars and events. Now its time to manage events i.e. create, update and delete events. First we need the Calendar service instance, so lets instantiate the Zend_GData_Calendar class. PLAIN TEXT PHP: $path = ‘/home/abbas/ZendGdata/library’; $oldPath = set_include_path(get_include_path() . PATH_SEPARATOR . $path); require_once […]
- Adding security to your CakePHP application – Part 1
Ben Parker once advised his young nephew Peter, whose super-hero alter ego is Spider-man, that “With great power comes great responsibility.” CakePHP framework provides us a rich tool-set to build high performance web applications. The applications built using CakePHP are secure at much extent as long as it comes with some nice features such as […]