Archive for December 26th, 2007
PHP Developer - December 26th, 2007
DevShed has posted the next part of their series looking at handling errors thrown by the __autoload functionality of PHP. This time they enhance their previous method and allow for custom error messaging.
In this last article of the series I’m going to introduce some additional modifications to the current signature of the “__autoload()” function to make it throw exceptions that display more useful error messages.
They start by setting up the application to have something to build from (a series of PHP scripts). They add on the exception handling to throw the custom error (the “class not found” they mentioned).
Continue Reading ·
PHP Developer - December 26th, 2007
Now that it’s all wrapped up, Chris Shiflett has posted his own look back at the PHP Advent calendar he coordinated.
Coordinating this turned out to be a lot of work, but I hope to do it again next year. […] With a little bit of prodding, we all hopefully learned a little more than we would have otherwise, and the people who were gracious enough to share something deserve our thanks.
You can check out his post (and, of course, our own) for a complete list of all twenty-four days.
Continue Reading ·
PHP Developer - December 26th, 2007
Richard Heyes has shared an epiphany he’s come up with - a method for running scripts in a web-based environment using lynx.
OK maybe not to you, but it has just occurred to me, and things don’t come to me all that fast these days. Cron jobs. […] You can have a directory inside your webroot called “cron” (imaginative eh?) with scripts in there that are run via cron.
His method uses the cron daemon on the machine to invoke lynx and call the web page through its url. Of course, there are advantages and disadvantages of the method (including having the script open to the world - scary). Be sure to check out the comments for other suggestions from fellow developers.
Continue Reading ·
PHP Developer - December 26th, 2007
Mike Willbanks has made a series of posts covering the acceleration tools available for you the PHP developer and some of the benchmarks of using them in an application.
Here’s the list:
Continue Reading ·
Dev Shed - December 26th, 2007
If you re a PHP developer who wants to learn how to load automatically into client code all of the source classes required by your object-oriented applications keep reading. In this series of articles you ll learn how to implement the magic __autoload function that comes integrated with PHP 5. With this function you ll be able to build scripts that can include automatically all of the classes needed by a given application without using multiple require require_once PHP statements….
Automate Software Builds with Visual Build Pro Easily create an automated, repeatable process for building and deploying software.
Continue Reading ·