Archive | Zend Framework RSS feed for this section

Introduction to using Zend_DB for database abstraction

TweetWelcome back! Today we are going to look into database abstraction layer of one of the most popular MVC frameworks out there. Yes, you are right the framework is Zend framework and the component we will look at is Zend_DB. While Zend_DB is an important part of the framework, one of the best parts of [...]

Read full story · Comments { 1 }

[Zend Framework] Slug filter

TweetWhile 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 [...]

Read full story · Comments { 0 }

[HowTo] Google Calendar API : PHP – Manage events (Part 3)

TweetEarlier 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 [...]

Read full story · Comments { 21 }

[HowTo] Google Calendar API : PHP – Retrieve events (Part 2)

TweetIn earlier post we saw how to install GData and retrieve a list of calendars. Continuing the same topic lets now see how to retrieve events from Google calendar using GData library. If you haven't done so, please read the part 1 of this series before continuing. Firstly, lets instantiate the Zend_Gdata_Calendar class. PLAIN TEXT [...]

Read full story · Comments { 0 }