News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Ibuildings techPortal:
Optimising MHVC Web Applications for Performance
November 17, 2010 @ 08:17:19

On the Ibuildings techPortal there's a new tutorial from Sam de Freyssinet that follows up on a previous article 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.

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 Kohana Framework; however all the concepts portrayed here could apply to any framework or web application.

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.

0 comments voice your opinion now!
hmvc hierarchical pattern cache performance overhead


blog comments powered by Disqus

Similar Posts

DevShed: Using Abstract Factory Classes in PHP 5 to Work with Online Forms

Mike Willbanks' Blog: Zend Framework Cache Backend Libmemcached + Session Cache

Liip Blog: How to preload ACL in order to get good performances

Bollysite Blog: PHP xcache performance tuning tutorial on Lighttpd

Amir Saied's Blog: Book review: "Pro PHP: Patterns, Frameworks, Testing and More" by Kevin McArthur


Community Events











Don't see your event here?
Let us know!


component security code hhvm unittest application facebook language support podcast composer overview introduction opinion release package install framework symfony2 hack

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework