Archive for April 16th, 2007

PHP.net: The PHP.net Google Summer of Code

The PHP.net site has made the official announcement of the PHP projects involved with this year’s Google Summer of Code:

The PHP team is once again proud to participate in the Google Summer of Code. Seven students will “flip bits instead of burgers” this summer:

On the list this year are:

  • LiveDocs - mentor Michael Wallner, student Hannes Magnusson
  • The PHP Interpreter - mentor Derick Rethans, student David Wang
  • XDebug - mentor Derick Rethans, student Adam Harvey
  • Doctrine - mentor Lukas Smith, student Konsta Vesterinen
  • PHPUnit - mentor Sebastian Bergmann, student Mike Lewis
  • MDB2_Schema - mentor Lukas Smith, student Igor Feghali
  • Jaws - mentor David Coallier, student Nicolas Bérard-Nault

Also, be sure to check out some of the other organizations and students participating on the Summer of Code website.

Continue Reading · Add comment

Creating a Blog Application with Interpreter Classes with PHP 5

Working with interpreter classes in PHP 5 can be a useful experience for any PHP developer. Welcome to the final part of the series that began with Building Interpreter Classes with PHP 5. Composed of three educational tutorials this series teaches you how to implement the interpreter pattern with PHP by covering not only the corresponding theoretical concepts but also showing you concrete cases where this pattern can be applied in a useful way….

Refurbished and Used Networking Equipment Network Liquidators sells refurbished and used networking equipment for up to 95% off list, with a 1 year warranty. We buy and sell top brands like Cisco, Extreme, Foundry, and more. Call us for best pricing.

Continue Reading · Add comment

DevShed: Creating a Blog Application with Interpreter Classes with PHP 5

DevShed has posted the final part of their look at working with the Interpreter pattern and its use in a PHP5 application with the creation of a simple blogging application.

As you can see, the logic that drives the interpreter pattern is rather easy to understand and implement with functional PHP code. Therefore, in this final installment of the series, I’m going to demonstrate how to get the most out of this handy pattern by developing a highly expansible blogging application. The application will be able to insert, update and delete blog entries, using a simple MySQL database as backend.

They start off with the creation of the MySQL class that will interface with the database backend for the application. Also included is a Result class to fetch the results from each query. On top of these, they create the Blog class to handle the requests for information and a BlogHandler class to push the submitted data back into the database.

Finally, they wrap it all together and give a real-life example of it in action, inserting new blog information and making an update of the content on one.

Continue Reading · Add comment

The Bakery: 13 New Tutorials and Articles Posted

The Bakery (the CakePHP site) has another great long list of tutorials, articles and helpers covering tons of different subjects posted recently, including:

Tons of great topics in there like geocoding, Excel file creation, working with memcache, caching, PHPMailer, and the ConfComponent DB.

Continue Reading · Add comment

Vinu Thomas’ Blog: PHP and Serial Ports

In a recent post to his blog, Vinu Thomas posted about a PHP extension that allows your scripts to directly interact with the serial ports on the web server its running on.

Last month there were at least two inquiries at the Bangalore PHP UG on how to get PHP to communicate with the server’s serial port. I didn’t think it was possible, but here’s what a quick google search turned up…

Two tools popped up on the radar - the PHP Serial Extension and the PHP Serial Class. Both have their benefits, and both can be used for the same kinds of functionality - one for the Windows side and the other for Linux-ish machines. The first seems to be a bit more flexible in its approach, though.

Continue Reading · Add comment