Clay Loveless' Blog: PHP MimeViewer for Trac
683176
Clay Loveless, spurred on by a comment from a visitor to his site, has modified his Trac package to get things working correctly with the syntax highlighting.    As John Herren pointed out in the comments to yesterday's post, my suggestion for PHP syntax coloring wasn't working for several versions of Trac.   After a little digging, it turned out that my CSS rules were based on the non-standard SilverCity highlighting output, rather than the newer and more common native PHP highlighting.    His solution is to create a simple shell script, php_mimeview, to make adding cirrect syntax highlighting as easy as changing your config.
635920
Popular posts from PHPDeveloper.org for the past week:Padraic Brady's Blog: Complex Views w/Zend Framework - The Final Chapter: ZFE & Zend_Layout in Core!php|architect: Stuff your stockings: single issues 30% offDeveloperTutorials.com: How to Install PHP 5 on LinuxStoyan Stefanov's Blog: Fancy FormattingSymbianOne.com: Your S60 Web server gets a boostAndreas Gohr's Blog: MySimple.php - A lightweight PHPMyAdmin substituteNessa's Blog: Working with Permissions in PHPSymfony Blog: Symfony 1.0.10 is OutMatthew Turland's Blog: Web Scraping Article PublishedJan Lehnardt's Blog: REST Controller for PHP Applications
355469
Popular posts from PHPDeveloper.org for the past week:DeveloperTutorials.com: AJAX and PHP Form ProcessingPHPRiot.com: Monitoring File Uploads using Ajax and PHPCommunity News: Has Smarty's Time Come?Deasil.com: Lessons to be learned from PHPIan Bicking's Blog: What PHP Deployment Gets RightDaniel Crook's Blog: Mashups from IBM at NYPHP in JanuaryMike Naberezny's Blog:  Horde/Yaml 1.0 ReleasedMikko Koppanen's Blog: Padding thumbnail with colorRichard Lord's Blog: If you want to create AVM2 swfs from PHPZend Developer Zone: PHP Abstract Episode 31: Book Review - Sitepoint's PHP Anthology, 2nd Ed.
661935
In this new post to his blog, Richard Heyes talks about an example he's come across of PHP being used as backend behind a large marketing project:    I recently read an interesting example at Neil Shearing's internet marketing strategies blog of combining .NET desktop software with a PHP backend.   We all know PHP is often slated by "real programmers" as a scripting language only useful for kiddie's home pages, and its nice to see a serious marketer choosing PHP to power the backend to a serious piece of viral software with the potential to go load-mad.    Richard also points out some of his experience trying to market his software and which of his customers are the ones that would provide the most return (the ones looking for updates) and how he can gather their information more productively to further his project's goals.
41064
Gerd Schauffelberger writes on the PHP-Tools Blog today about the contents of the latest issue from the German PHP Magazine, specifically an article covering the PEAR package HTML_AJAX.   This article's target is (1st) to give a brief introduction to AJAX and how things work from Javascript an PHP side in contrary. Also (2nd) I wanted to show that you actually don't have to muck around with a mess of Javascript (browser compatibility issues and such) because it's it is all done by the Joshua Eichorn's HTML_AJAX framework.    The article doesn't build up an entire application (as Gerd mentions) but it does provide you a good base to work from and gives you a good direction to head from to learn more about this powerful package.
715118
In a new post to the JSLabs blog today, there's a mini-tutorial showing how to, with the help of the new hooks in PHP 5.2, create a file upload progress meter.   This progess meter is based on the yahoo user interface library and alternative php cache (APC).  You will need both of these for it to display properly.  PHP 5.2.0 or higher is also required. (I have written a previous article on alternative PHP cache here).   He gives a brief overview of how things work (including the php.ini setting to make it happen) and has a screenshot of the resulting output. You can check out the demo here or just grab the source and jump right in.
347402
In this new post on the PHP Security Blog, Stefan Esser brings up an interesting issue when dealing with web applications - being able to bind a script/application to a different port on the local machine.   Unfortunately the ability to bind yourself to a port and receive connections is a threat to webapplications installed on different virtual hosts on the same IP, even if other security measures in place, like tight filesystem permissions or executing PHP script with the permission of the owner.   He gives an example in PHP of how this can happen and one of the scary side effects of having it in the same domain - the cookie information is passed in. It's a simple concept that could have very bad consequences in the wrong hands.    Additionally, you don't even have to create it in PHP either. As cyberlot mentions, it could be created in any language that has socket functions. Be sure to check out the comments for more thoughts and comments on the post.
582774
Sebastian Bergmann has posted about a new contest to his blog today centering around the phpOpenTracker software.    After two years in which I did not have the time to work on it, the development of phpOpenTracker is slowly commencing again. The first step to restart the development has been the migration from BerliOS to a Trac setup that is generously provided by Tobias Schlitt.   While setting up Trac it occured to me that I do not have a logo for phpOpenTracker. To get to such a logo I try something new: I ask you to participate in the phpOpenTracker Logo Contest.    He sets up some rules for the competition including that the design should convey flexibility and that the winner's work will go under the Creative Commons Attribution-NonCommercial-NoDerivs 2.5 license. Check out the post, though, for the full details on rules and submission guidelines.
134862
In a post a little while back, Padraic Brady wrote about an extension he whipped up to act as an interface between PHP and the Snarl notification tool (inspired by Growl from OS X).   My intention for the API is to facilitate Window's use of a soon to be announced tool for autotesting in PHP using PHPSpec.    He wants to use it in an automated testing environment that, when tests are detected in the current tests, runs the changed items and reports back the results via the Windows notification service. You can grab the code from the Google Code repository for it and test it our for yourself.
176495
On his blog today, Ilia Alshanetsky has posted an update on one of the last issues before PHP 5.2 is released - the Filter extension - and some of the problems that have surrounded it.    If you have been monitoring PHP's internal mailing list you probably know that over the last few weeks we've been locked in a stalemate in regard to the API revision of the filter extension brought to light by Dan from our documentation team. This is also the reason why despite this being early October PHP 5.2 is still not out.    Fortunately, after mediation with Derick and Pierre the two protagonists of the filter conundrum a compromised was finally reached.    He mentions the commit that was made to include it into the current build, and no complaints have been lodged against it. He also comments that, with this isse out of the way, developers can look for PHP 5.2RC5 out as soon as this Thursday (10.05.06). Ilia also gives a brief tour of the filter extension's functions.
759547
Popular posts from PHPDeveloper.org for the past week:FCHouse.com: Debugging PHP5 with Eclipse PDT under OSX: a piece of cake!Tutorial: An Introduction to PHPIDS (PHP-Intrusion Detection System)Developer.com: Build Multi-lingual Websites With the Zend FrameworkPro::PHP Podcast: Newscast for June 14th, 2007Community News: VS.PHP v2.3 for Visual Studio ReleasedJob Posting: S&ME, Inc. Seeks Web Developer (Charlotte, NC)Site News: Popular Posts for the Week of 06.15.2007Nexen.net: Ext/elephpant : the furry PHP mascotJob Posting: Coolpink Seeks a PHP Developer (Leeds, Yorkshire, UK)Job Posting: BravoTECH Seeks a PHP Developer (Dallas, TX)
159475
Hannes Magnusson has posted about more updates that are being made to the PHP.net website today, including an upgrade to the "conference teaser" patch and the introduction of a new box to like directly to the latest releases on the front page.    Since I moved the 'current releases' info into "a giant" includable array, living in include/version.inc, we can now provide a simple XML feed (or whatever) for you to parse to get the latest release info simpler and more accurately...   What do you think? Is it worth it? What kind of format would you want it in?    He wants your feedback on this last point - would having an XML feed for just the version info be that useful? Or would it just be yet another RSS feed to add to the list to keep up with the new PHP releases?
104466
Matthew Turland has mentioned his article in the latest issue of php|architect magazine (the December 2007 issue) covering web scraping.   Just a quick post to announce (albeit a little late) that the December 2007 issue of php|architect, which includes my article on web scraping. Please buy a copy, give it a read, and feel free to post comments on the forum thread for the article. I'd love to hear some reader feedback!   Other articles in the issue include "Writing an Object/Relational Mapper in PHP", "Understanding CLI" and the cover story "Going native with mysqlnd".
277396
Lukas Smith has posted his review of a book from Packt Publishing - "PHP Web 2.0 Mashup Projects: Practical PHP Mashups with Google Maps, Flickr, Amazon, YouTube, MSN Search, Yahoo!"   Duane from Pakt asked me if I would be interested in reviewing a few books for them in my blog. I picked "Mashup Projects" from the list of just released books, since I am interesting in the topic and I am actually going to give a presentation at the internal "PHP Day" we are doing at Optaros in November.   He points out the good (good writing style, well-chosen examples) and the bad (a log list of errors and oversights in the code). He also talks about the contents of the book - the different examples and the final more major project. Overall though, he sees it as a good book, one that would be a good introduction to mashups for PHP developers (if you look past the formatting issues).
152445
Latest PHPClasses.org Releases:Flash MessagesRSS and Atom Feeds Processing APImabp::tagCloudUltimate MySQLerror_managerSingly Linked ListChinese Encode ConvertphpSortableASCII Art GeneratorPSPLMultiselectNiftyCubeAmazon ECS Webservicesimple Email ClassPHPDance
135369
A quick post from janschneider.de talks about questions regarding the PHP5 compatibility of Horde, IMP, or other applications on the Horde mailing list
366947
Lukas Smith is sending a wakeup call to the internet providers and web hosters out there - get involved in the PHP community!   We do not seem to have any ISP's active inside the PHP community. This is kind of odd, considering that PHP seems to be driving the business of hosters quite a bit. Why have none of them decided that PHP is important enough for their business that its worthwhile to ensure that their interests are taken into account?   He makes the suggestion of passing along the suggestion to bosses/co-workers/anyone who'll listen about getting involved. Suggested places to start would be as a part of the testers group or even contributing to the migration guide.