webmaster tutorials and internet facts

Archive for the ‘zend framework’

Design Patterns for Web Programming in PHP

1.   Singleton pattern Name: Singleton Problem: You need exactly one global instance of a class and a global point of access to it. Context: Any Solution & Consequences: Make an encapsulated static variable holding the single instance of a class. Provide a get-method that: • has a static variable for holding the one and only instance • instantiates the instance if it [...]

zend framework flickr tutorial

Flickr is a largest images database with user registration, each user can upload his own images. Flickr became popular because of it’s API and it offers Flickr API development for anyone who wants to add cool features to his website. Zend framework documentation doesn’t contains information on how to show images actually when looping through flickr [...]