News Feed
Sections
News Archive


Community Events






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


feed this:

Jaisen Methai's Blog:
Stop including class files and use __autoload() instead
0 comments :: posted Wednesday July 02, 2008 @ 11:11:50
voice your opinion now!

On his blog, Jaisen Methai posted about a very handy feature of PHP5 - the __autoload function.

It's one of the gems in PHP that I find to be relatively under used. It's common for PHP applications to break out classes into their own files. This becomes cumbersome when working on large projects as you wind up with numerous include/require calls for any given page.

He shows an example of its usage (loading class files dynamically from a specified directory) and mentions how it can help to make your code a lot less ugly. Comments on the post range in topics - from comparing it to include paths, how the idea was borrowed from PEAR, and how proper naming conventions can make its use even easier.

tagged with: include class file autoload php5 tip


Padraic Brady's Blog:
HTMLPurifer 3.1.0 Release Candidate Available
0 comments :: posted Wednesday April 23, 2008 @ 09:31:40
voice your opinion now!

Padraic Brady has noted that the latest release candidate of the HTMLPurifier software has been posted for download:

HTMLPurifer is possibly the most understated underpublicised quality library in PHP today. I consider it a fundamental standard library that is automatically included in every PHP web application I start these days.

This latest release candidate (their first!) includes updates on two major features - the use of autoloading and a change to the way you use the filters. Check out a demo of it in action or just download this latest release and try it out for yourself.

tagged with: htmlpurifier candidate release download demo filter autoload


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

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