Often times object hydration isn’t a simple matter, and requires a more nuanced, more sophisticated solution than the out-of-the-box options, available in Zend Framework, provide. Today we showcase one such solution - the Aggregate Hydrator.
Zend Framework Articles
Want to learn how to have initialized objects with minimal code and nearly no hands-on configuration in Zend Framework 2? Come learn about setter injection.
Here&rsquo;s 3 simple ideas for improving Zend Framework 2 application performance without learning more code. Think Database
In Zend Framework 2, so much has been changed, updated and improved - with Forms receiving a lot of attention. In this post, I show you a simple, flexible and powerful approach to compose and use them everywhere in your applications.
In today&rsquo;s post, we look at one of the simplest and most effective components of the Zend Framework that allows us to create extendable and extensible Zend Framework applications - Zend Application Resource Plugins (combined with the Strategy Pattern). If you want to ensure your apps can grow without heartache, read on.
Ever wanted to know how to take an existing Zend Framework application where you have <em>posts</em>, <em>records</em>, <em>news</em> or anything else stored in a data source and updated regularly, and make it available as a feed for your users that they can subscribe to?
During the recent development of the new PHP cloud development casts site, which has been developed with the Zend Framework, so much development time has been saved by using one of the simplest and arguably best features of the framework: Controller Plugins. So today I want to introduce you to them and walk you through a working plugin so you can see just how effective and efficient they can make your development workflow.
Welcome to the fourth and final part in the Zend Form Mastery with Zend Config series. Previously we looked at the basic form options, element and form wide prefixes, filters and element options. In this installment, we’re going to look at configuring Zend Validators via our XML config.
When you’re working with Zend Form you keep your configuration as much out of code as you can - right? Well, if you’ve been working withZend Form for more than a little while, you know that Zend Config really makes that pretty simple - well, some of the time. In this series we look, comprehensively at how to do it all with Zend_Config.
<p>Here we are at part four of the <em><strong>Beginning Cloud Development with cloudControl</strong></em> series and in this part, we&rsquo;re adding <strong><a href="http://uk3.php.net/manual/en/book.memcached.php" title="php Memcached">Memcached support</a></strong>. In <a href="http://www.maltblue.com/php/beginning-cloud-development-with-cloudcontrol" title="Beginning cloud development with cloudControl">part one of the series</a>, we laid the foundation for the application and got up to speed with what <a href="http://cloudcontrol.com/?utm_source=maltblue&amp;utm_medium=Banner&amp;utm_campaign=MaltBlue" title="cloudControl: web - application - platform">cloudControl</a> is, why it works and how to get started using it.</p> <p>Then <a href="http://www.maltblue.com/php/beginning-cloud-development-with-cloudcontrol-part2-mysql" title="Beginning cloud development with cloudControl – Part 2 – MySQL">in part two</a>, we started to flesh out the application that we started building in part one and added MySQL support to it. We showed how to work with cloudControl to manage the key requirements, such as enabling MySQL support, connecting to the MySQL database and keeping the database up to date from a maintenance perspective (creating the database schema and loading data in to the database).</p> <p>Then in <a href="http://www.maltblue.com/php/beginning-cloud-development-with-cloudcontrol-part-mongodb" title="Beginning cloud development with cloudControl – Part 3 – MongoDB">the third part of the series</a>, we replaced MySQL with mongoDB support. Now, in this, the third part of the series, we&rsquo;re going to finish up with adding <strong><a href="http://uk3.php.net/manual/en/book.memcached.php" title="php Memcached">Memcached support</a></strong>. As the core of the work&rsquo;s already been done in the application, this tutorial will be shorter and simpler than the previous three. So, get out the code that you worked through from <a href="http://www.maltblue.com/php/beginning-cloud-development-with-cloudcontrol-part2-mysql" title="Beginning cloud development with cloudControl – Part 2 – MySQL">part 2</a>, or download a copy of it from <a href="https://github.com/maltblue/cloudcontrol-project" title="Malt Blue on github">the github repository</a> and let&rsquo;s get started.</p>
<p>What&rsquo;s your attitude to <strong>i18n</strong>? Are you not quite sure what i18n is? Well, according to <a href="http://en.wikipedia.org/wiki/Internationalization_and_localization" target="_blank">Wikipedia</a>, it&rsquo;s:</p> <blockquote> <p><strong>Internationalization</strong> is the process of designing a software application so that it can be adapted to various languages and regions without engineering changes. <strong>Localization</strong> is the process of adapting internationalized software for a specific region or language by adding <a href="/wiki/Locale" title="Locale">locale</a>-specific components and translating text.</p> </blockquote>