Zend Framework 2 Event Manager

January 16, 2013 by

This article is meant as an introduction to Zend Framework 2’s event system. It begins by giving an introduction to the concepts of the event system and further discusses the event manager. Examples of how to attach event listeners and how to trigger events are also provided.

Using Transactions in concrete5

November 21, 2012 by

If you have been trying to use transactions in concrete5, then you might have been left wondering why on Earth it is not working. As it turns out, this functionality is not enabled by default. See why and how to enable it here, along with an example of how to use transactions in concrete5.

Accessing Block Variables in concrete5

October 26, 2012 by

When developing blocks in concrete5, you will most likely store data related to each block instance, such as settings. This data can easily be retrieved from within the block’s controller or in the block’s view scripts.

Getting URL Parameters in concrete5

October 6, 2012 by

It is often useful or necessary to include parameters in URL addresses. Many people use one of PHP’s superglobals for this, but that is not a pretty approach. In this short article, you will learn a better solution while maintaining pretty URLs.