News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

Michael Girouard's Blog:
Rolling Your Own MVC The Page Load Scenario
0 comments :: posted Wednesday April 09, 2008 @ 15:33:45
voice your opinion now!

Michael Girouard has posted his 10,00 foot view of the typical structure of an Model/View/Controller application (and framework) and how a page request is handled:

In my previous article, I announced that I would be documenting the process of developing a simple MVC framework. In this post I will go into a little more detail about each of the specific components of our MVC and will discuss the series of events which occur each time a page loads, otherwise known as the page load scenario.

He talks about how URIs work, the role of mod_rewrite, several of the objects involved (like the Front Controller, Request, Route and View) and how they all fit in with the custom Models, Views and Controllers the user could define.

tagged with: modelviewcontroller mvc page load object route request


DevShed:
Working with Multiple Document Nodes with the DOM XML Extension in PHP 5
0 comments :: posted Wednesday March 19, 2008 @ 07:59:49
voice your opinion now!

DevShed has posted the fourth part of their series looking at working with the DOM functionality of PHP5, this time with a focus on working with multiple document nodes inside of an XML document.

It's time to learn a few other methods included with the DOM XML extension. Based upon this premise, in this fourth tutorial I'm going to show you how to get access to multiple nodes of an XML document, either for internal processing or simply for echoing to the browser.

They show you how to grab the collection of nodes to work with and how to grab data from an XML text file with load() and loadXML().

tagged with: dom xml tutorial php5 load set collection object

Leon Chevalier's Blog:
Improve website load time by 500% with 3 lines of code
0 comments :: posted Wednesday January 23, 2008 @ 12:09:00
voice your opinion now!

Leon Chevalier has posted about a class he's developed (you can download it here) that can help to speed up the load times for your site.

There are 4 relatively easy ways by which you can speed up the time it takes a browser to download a page. Following on from my post on joining CSS and JavaScript files, I have written a PHP script which will automatically do all of the above.

He gives example code of the class in action and includes some screenshots of the benchmarks from the YSlow Firefox extension showing the improvements.

tagged with: website load time compress gzip class download

Stubbles Blog:
Loading classes from the XP-Framework
0 comments :: posted Monday April 09, 2007 @ 12:22:00
voice your opinion now!

On the Stubbles blog, there's a new post that describes how to load in classes from the XP-Framework into the Stubbles framework.

The following little example uses a so called foreign class loader that is responsible for a given namespace, in this case net.xp_framework. This class loader is registered within the default Stubbles class loader. After that, all classes that reside in the namespace where the foreign class loader is responsible for will be loaded via this class loader.

The method they use is simple - seven lines of code simple. It loads in the class file using the load() functionality of the Stubbles framework making it so it can be called natively after creating an object for it.

tagged with: xpframework load class module native object xpframework load class module native object


PEAR zend security ajax database mysql developer PHP5 conference framework job release pecl book zendframework package cakephp releases code application

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