Modules Articles

Create Modules and Middleware with Command-Line Tooling Support

April 31, 2017

For the longest time, Zend Framework hasn’t had the strongest support for command-line tooling and scaffolding. However, in recent times, that’s all changed. Come find out how to use Expressive’s new tooling support to create modules and middleware rapidly.

Render Tables the Easy Way in Zend Framework 2

April 27, 2015

HTML Tables, once used heavily for almost everything, have largely been relegated in the modern CSS/HTML5 world. Now they are only used for what they were originally designed for — rendering tabular data. So they’re still essential! But there’s a lot to them, if you want to use them properly. So there needs to be a way of rendering them easily and quickly. Today’s tutorial introduces a module which helps you do just that.

Make Module Configs Cacheable with the ZF2 Factory Interface

April 6, 2014

<p>For the longest time, I’ve been using closures in my Zend Framework 2 Modules <!-- raw HTML omitted -->Module<!-- raw HTML omitted --> class. I know they’re not always the best approach, but they’re not necessarily wrong either.</p> <p>But after <a href="http://www.masterzendframework.com/reviews/maximising-zend-framework-2-performance-phpuk14">reviewing Gary Hockin’s recent talk</a> at <!-- raw HTML omitted -->PHP<!-- raw HTML omitted --> Conference UK, I was reminded that outside of APC and OPCache, <strong>closures aren’t cacheable</strong>.</p>

Zend Framework 2 Modules - The Application's Heart

April 2, 2013

<p><a href="http://www.masterzendframework.com/wp-content/uploads/2013/01/Post-Image.jpg"><!-- raw HTML omitted --></a></p> <!-- raw HTML omitted --> <blockquote> <p>If I have seen further it is by standing on the shoulders of giants.</p> </blockquote> <p>It’s a really exciting time at the moment with Zend Framework 2 gaining so much traction, after being stable for some time now.</p> <p>Though I and countless others really enjoyed the 1.x series, it did leave some things to be desired - to be fair.</p> <p>But the more I explore of the 2.x series, the more I honestly can say that I’m very impressed with it. It may not be as fast as the previous series, but with respect to development, there’s so much going for it it’s worth shouting about.</p> <p>So it really is rewarding and exciting to begin covering all that it has to offer us. In <a href="http://www.masterzendframework.com/articles-2/zend-framework-2-core-concepts-understanding-dependency-injection">part one of this series</a>, I looked at a central concept of the revised framework - <strong>Dependency Injection</strong>.</p>