- Send emails in a Zend Framework 2 application using ZF2-AcMailer module
Some time ago I created a Zend Framework 2 module designed to wrap Zend\Mail and ease sending emails in a Zend Framework 2 application. I was copy-pasting the code of that module in many applications so I decided it was a good candidate to become an independent module. After creating it I pushed it …
category Archive — "php"
— 2014 —
- Simulate Zend Framework preDispatch and postDispatch in a Zend Framework 2 application
Any programmer that is used to use Zend Framework version 1 will have been in the situation that Zend Framework version 2 has removed Controller Plugins as they were in the first version of the framework. Controller Plugins used to allow us to attach code to be executed at some points of the executi…
- Introduction to PHP unit testing with PHPUnit
Nowadays we are in the era of agile methodologies. One of the best practices promoted by these methodologies is Test-Driven Development (TDD) It mainly consists on preparing small pieces of code that are responsible for testing parts of the real application. For this purpose each of the main program…
Older postsNewer posts