News Feed
Jobs Feed
Sections




News Archive
DevShed:
Lazy and Eager Loading in PHP 5
September 11, 2009 @ 12:49:30

On DevShed today there's the start of a new series looking at design patterns in PHP applications. In this first part of the series, they look at lazy and eager loading.

In the case of PHP 5, which is better suited for developing web-based programs, there are two complementary design patterns that can be of great help in building faster and more reliable applications. Of course, as this article's title suggests, I'm talking about the lazy and eager loading patterns. Despite their rather funny names, they are pretty easy to implement in PHP 5-controlled environments.

To illustrate, they've created a sample class that uses a few class properties and a __toString method to return the values.

0 comments voice your opinion now!
lazy eager loading tutorial designpattern


blog comments powered by Disqus

Similar Posts

Rob Allen's Blog: ZF2 Training at PHPNW 2011!

PHPBuilder.com: Developing a Ajax-driven Shopping Cart with PHP and Prototype, Part 2

Brian Swan's Blog: SQL Server Driver for PHP Connection Options: Snapshot Isolation

CodeForest.net: Translate and Localize your web application with PHP and gettext

Anthony Wlodarski's Blog: Node.js and Zend Auth with Sessions stored in the database


Community Events









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


interview opinion development community introduction framework composer zendframework2 conference tool object testing example functional api release code podcast event language

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