<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 23 May 2012 10:58:55 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Ibuildings techPortal: Optimising MHVC Web Applications for Performance]]></title>
      <guid>http://www.phpdeveloper.org/news/15443</guid>
      <link>http://www.phpdeveloper.org/news/15443</link>
      <description><![CDATA[<p>
On the Ibuildings techPortal there's <a href="http://techportal.ibuildings.com/2010/11/16/optimising-hmvc-web-applications-for-performance/">a new tutorial</a> from <i>Sam de Freyssinet</i> that follows up on a <a href="http://techportal.ibuildings.com/2010/02/22/scaling-web-applications-with-hmvc/">previous article</a> he wrote about using HMVC (Hierarchical-Model-View-Controller). In this new article, he talks about some of the things you can do with that pattern to increase performance.
</p>
<blockquote>
Hierarchical-MVC has been shown to make large web applications easier to scale out, but there is a price to pay- namely overall performance. This article will investigate ways of improving performance within HMVC web applications using asynchronous processing and some good old caching techniques. Predominantly this article will use examples written for the <a href="http://kohanaframework.org/">Kohana Framework</a>; however all the concepts portrayed here could apply to any framework or web application.
</blockquote>
<p>
He starts by pointing out what's wrong with the typical HMVC application - namely that the clean separation of code structure (the hierarchical part) costs the application in overall speed and memory usage. He suggests a simple technology for helping ease the load - caching as much information as possible, mostly in the HTTP client code since HMVC applications rely heavily on it. Code samples includd show how to implement this in a simple Kohana application.
</p>]]></description>
      <pubDate>Wed, 17 Nov 2010 08:17:19 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ibuildings techPortal: Scaling Web Applications with HMVC]]></title>
      <guid>http://www.phpdeveloper.org/news/14069</guid>
      <link>http://www.phpdeveloper.org/news/14069</link>
      <description><![CDATA[<p>
On the Ibuildings techPortal today there's a new post by <i>Sam de Freyssinet</i> about a slight modification to a well-known pattern (MVC) by adding some scalability - the <a href="http://techportal.ibuildings.com/2010/02/22/scaling-web-applications-with-hmvc/">Hierarchical-Model-View-Controller pattern</a>.
</p>
<blockquote>
It can also be very costly in time and resources to re-architect software that not scaled well. Ideally applications should grow organically as required and without large sums of money being exchanged in the process. [...] The Hierarchical-Model-View-Controller (HMVC) pattern is a direct extension to the MVC pattern that manages to solve many of the scalability issues already mentioned [in this post].
</blockquote>
<p>
He talks about the benefits of the HMVC style and how its multiple parts work together and how it promotes code reuse more than the traditional MVC pattern. Some sample code is included so you can get your hands dirty with more than just the concepts behind the pattern including a more real-world example, their service (Gazouillement) that works similarly to twitter.
</p>]]></description>
      <pubDate>Mon, 22 Feb 2010 12:59:49 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Daniel Cousineau's Blog: Hierarchical Data With PHP and MySQL]]></title>
      <guid>http://www.phpdeveloper.org/news/10319</guid>
      <link>http://www.phpdeveloper.org/news/10319</link>
      <description><![CDATA[<p>
<i>Daniel Cousineau</i> submitted a <a href="http://www.toosweettobesour.com/2008/06/02/hierarchical-data-with-php-and-mysql/">new blog post</a> he's come up with that looks at using hierarchical data in a MySQL database.
</p>
<blockquote>
I recently had fun with an all-to-common issue with SQL driven websites: hierarchical data. For those who don't like big words, think trees. <a href="http://dev.mysql.com/tech-resources/articles/hierarchical-data.html">Other people</a> have already discussed storage methods, and I would actually highly suggest you read the writeup if you haven't already.
</blockquote>
<p>
He includes a sample table you can work from and <a href="http://www.toosweettobesour.com/2008/06/02/hierarchical-data-with-php-and-mysql/">some code</a> that can be used to generate a select (based on a $depth variable) parent/child values from it. A few simple function calls later and you have a nested array or lots of little subarrays maintaining the parent/child relationships the database has.
</p>]]></description>
      <pubDate>Mon, 02 Jun 2008 12:09:37 -0500</pubDate>
    </item>
  </channel>
</rss>

