2009 September

Padraic Brady’s Blog: The Mysteries Of Asynchronous Processing With PHP

Asynchronous processing should be well known concept for all developers. Although idea is commonly known, you will not find many tasks implementations in PHP. Padraic Brady wants to change it.

Before we run off and implement some examples, we first need a task! Once it’s identified, we then need to separate it from the application so it can be processed as an independent unit of work. To add to this, we should also make sure it’s reusable, essentially returning to our Object Oriented basics.

Padraic already publish two parts of his tutorial: Asynchronous Benefits, Task Identification and Implementation Methods
and Making Zend Framework Applications CLI Accessible and is working on third part. He not only presents and explains his approach but also gives solid theoretical knowledge of the topic.

Matthew Turland’s Blog: The Configuration Pattern in Zend Framework

Zend Framework is constantly changing. One of ongoing changes is unification of constructors that accept an array or Zend_Config object of options that relate to the defined setters is a current guideline.

We decided on this for several reasons. One, as you note, is predictability; if all constructors act in the same way, it’s really easy to know what you should pass. Another is to prepare the framework for dependency injection; having a common constructor paradigm such as this makes it easy to use DI containers with the components.

Knowing direction some blogers decided to spread the word about the concept. Matthew Turland wrote a post explaing how options relate to setter and getters and how a class should implement the concept. Small thing but good to know, especially for all contributors.

by Wojciech Szela on September 29, 2009 in News, No Comments »
tags: ,

Call for Papers – phpBenelux 2010 and ConFoo.ca

Either side of Atlantic Ocean you live, there is interesting PHP conference planned in Q1 2010 that needs your help. On Saturday January 30th, phpBenelux team will be hosting their first conference in Antwerp, Belgium. If you want to be a part of the speaker schedule, submit your ideas through call for proposals form. Only few weeks after, on March 10 – 12 ConFoo.ca is happening. ConFoo.ca is also looking for speakers. If you want to submit your presentation proposal please read how to become a speaker.

Federico Cargnelutti’s Blog: Zend Framework DAL DAOs and DataMappers

Zend Framework’s MVC pattern implementation is often criticized for models not being model as definition says. Zend Framework Team even does not pretend that framework has models, although suggests using Zend_Db component classes as simple and dirty replacement. It does not mean that community can’t do anything about it.

In his latest post Federico Cargnelutti shows how DAO, DAL and Data Mappers can be implemented in Zend Framework. He explains purpose of DAO, DAL and Data Mappers, proposes directory structure for it shows example implementation of all the classes.

His approach is very interesting and ready to use. Who knows, maybe it will be a sparkle for new component proposal, the model.

Zend Framework 1.9.3PL1 Released

The Zend Framework announced the immediate availability of the 1.9.3PL1 release. The release corrects a BC break found in the 1.9.3 release, and should be used in its place.

by Wojciech Szela on September 23, 2009 in News, No Comments »
tags: ,