For the longest time, Zend Framework hasn&rsquo;t had the strongest support for command-line tooling and scaffolding. However, in recent times, that&rsquo;s all changed. Come find out how to use Expressive&rsquo;s new tooling support to create modules and middleware rapidly.
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&rsquo;re still essential! But there&rsquo;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&rsquo;s tutorial introduces a module which helps you do just that.
If you want to change a layout for one or all actions in a controller, how do you do it without overriding the layout globally? Today&rsquo;s post shows how.
<p>For the longest time, I&rsquo;ve been using closures in my Zend Framework 2 Modules <!-- raw HTML omitted -->Module<!-- raw HTML omitted --> class. I know they&rsquo;re not always the best approach, but they&rsquo;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&rsquo;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&rsquo;t cacheable</strong>.</p>
<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&rsquo;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&rsquo;m very impressed with it. It may not be as fast as the previous series, but with respect to development, there&rsquo;s so much going for it it&rsquo;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>