Archive for December 13th, 2006
PHP Developer - December 13th, 2006
Elizabeth Smith points out a handy bit of functionality for the PHP-GTKers out there on her blog today - tooltips in PHP_Gtk2.
She talks specifically about how she’s using them in her CC Desktop framework to make tooltip creation simple:
CC_Tooltips extends the base GtkTooltips class to enhance the functionality. It handles a few “special cases” and forces the object to be a singleton.
There’s a few bits of added functionality that are enhancements off of the standard standard tooltips PHP-GTK offers as well. Check out the full entry for more info on this and other features of the CC Desktop - including a code sample.
Continue Reading ·
PHP Developer - December 13th, 2006
In his latest blog entry, Ilia Alshanetsky has proposed (and provided) a patch that can help with one of the more abused of the popular PHP functions out there - mail().
One of the problems with solving the mail() abuse is figuring out who is doing it or perhaps what script was exploited to do it, since the mail() function does not offer any logging mechanism.
To address this problem, he’s supplied this patch you can apply to your source to add two new options to the mail function:
- enable the addition of the X-PHP-Originating-Script header
- mail.log (takes a filename) allows you to enable logging of every single mail() call
Check out his entry for more details on configuration options and other functionality included with the patch.
Continue Reading ·
PHP Developer - December 13th, 2006
The PHP-Tools blog has a new entry today concerning the XJCOnfForPHP package they maintain and a new offering for those looking to get the latest - a nightly build.
XJConfForPHP, the XML-to-object-mapper, Frank Kleine and me are working on is now available as a daily snapshot from snaps.php-tools.net.
XJConfForPHP is a “flexible solution to parse XML documents and create PHP data structures”.
Continue Reading ·
PHP Developer - December 13th, 2006
Jason Gilmore dropped us a line to point out the latest edition of his series on Developer.com - this time focusing on form validation with Prototype and a different framework than before, symfony.
These tutorials focused on the increasingly popular CakePHP framework, however in this installment I’ll switch gears a bit and instead examine my preferred framework solution: symfony. Specifically, I’ll show you how symfony’s built-in support for the Prototype JavaScript framework can greatly enhance the user experience within your applications.
Jason introduces the Prototype library and a simple version of how it’s used with a form to do a little validation. The next step is integrating it with something useful - a site built up inside the symfony framework (you’ll need to know how to use it already).
Continue Reading ·
PHP Developer - December 13th, 2006
Following on the heels of these comments from Alexander Netkachev, the Zend Developer Zone has posted the full project plan for the next release of the PHP IDE Zend is working on, version 0.7.
The plan of the 0.7 version is based on the initial SRS which is available here. On top of that SRS many bugs were submitted together with enhancement requests that were/will be included in the 0.7 release. You can find all PHP IDE open bugs here.
The announcement is broken up into three sections - the release deliverables, the release milestones, and the target operating environments - each with plenty of details to show you exactly what the team is working towards.
Continue Reading ·