FCHouse.com: Debugging PHP5 with Eclipse PDT under OSX: a piece of cake!
692991
From Carlo on the FCHouse.com blog, there's this new guide to debugging your PHP5 application with the Eclipse PDT functionality in an OS X environment.   In these months I have developed in PHP with Eclipse PDT (Php Development Tool). During the first days I tried to make the debugging works, but without great results, therefore I dropped and I took back the usual debugging technique of every good script developer: echo $variableName; or simply logging everything possible in some log files.   Knowing that this wasn't "the right way" to do things, Carlo searched for something better. He found a hint on another blog and ultimately figured out how to get his Eclipse/Apache/XDebug installation to work on his Mac. His post also includes the "glue" that you'll need to get them all working happily together.
224992
The latest release of PHP in the PHP 5.2.x series has been posted for download to the main PHP website today - version 5.2.3.   The PHP development team would like to announce the immediate availability of PHP 5.2.3. This release continues to improve the security and the stability of the 5.X branch as well as addressing two regressions introduced by the previous 5.2 releases. These regressions relate to the timeout handling over non-blocking SSL connections and the lack of HTTP_RAW_POST_DATA in certain conditions. All users are encouraged to upgrade to this release.   Updates in this new version include many security fixes and enhancements - check out the Changelog for complete information.   Check out other comments on the release from Ilia Alshanetsky and Stefan Esser.
753153
P&aacute;draic Brady has a suggestion for all of the PHP readers out there - two articles in the latest edition of php|architect magazine, the May 2007 edition:   The two that stick in my mind are Jim Delahunt's "Unicode and PHP: A Gentle Introduction" and Jeff Moore's "Test Pattern: Model View Controller". Both are something those seeking illumination on these topics should certainly read.   The first presents an introduction to one of the hottest topics in the PHP world - Unicoding - including a few same scripts to get you going. The second article, a look at the Model/View/Controller pattern that really gets more to what the pattern is about rather than just talking about its structure.
748788
Dave Dash has created a simple plugin for use in a Symfony project that enables the use of the Firebug debugging tool.   The plugin is easy to install (three simple steps away) and can be configured to match whether you're working in development, a test area or on production (turning it off and on).   For more information on Firebug, check out its page on the Firefox extensions site.
712717
Picking back up on his blog, Sean Coates shares a Dashboard widget he's created to do quick and dirty PHP interpreting on the fly:   I found myself using php -r on the command line to test some simple code snippets, and it occurred to me that this isn't "The Mac Way." So, following the excellent documentation at Apple, I managed to come up with something pretty useful in an afternoon.   His widget sits happily, ready to take in PHP code and output the result at the click of a button.
190663
Joshua Eichorn points out an interesting project in a new post to his blog today - quercus.   I found an interesting project, quercus that compiles PHP to Java Bytecode allowing it to run ontop of the Java Resin Application Server. It has a couple neat features, one being PHP6 compatible unicode support, the other being easy integration between Java and PHP code.   He gave it a shot and notes that the performance seems decent and allows you to compensate for some of the differences in the PHP API it supports and what you're using via a Java class. According to their site:   Quercus is Caucho Technology's 100% Java implementation of PHP 5 released under the Open Source GPL license. Quercus comes with many PHP modules and extensions like PDF, PDO, MySQL, and JSON. Quercus allows for tight integration of Java services with PHP scripts, so using PHP with JMS or Grails is a quick and painless endeavor.   It includes several extensions too, including the JSON library, APC, MySQL and Oracle support, and PDF functionality. Check out their Getting Started guide, documentation, or their wiki for more information.
647305
Popular posts from PHPDeveloper.org for the past week:Ian Selby's Blog: Uploading Large Files With PHPONLamp.com: Quick and Clean PHP FormsDotVoid.com: Reordering nested sets using PHP and JavascriptRob Allen's Blog: Zend Framework Book Coming SoonCommunity News: php|works Daily Summaries (Day 2)Community News: Sara Golemon & Christopher Jones - First Day Summaries of php|worksJob Posting: University of Wisconsin, Department of Medicine Seeks Web Developer (Madison, WI)Zend Developer Zone: PHP Abstract Podcast Episode 19: Glue Frameworks vs. Full Stack FrameworksStefan Mischook's Blog: Installing PHP and MySQL on the Mac with MAMPSecurityReason: Three Advisories for PHP 5.2.4 (dl, iconv_substr & setlocale)
751529
Michael Kimsal has come up with the start of a series to introduce PHP developers to the world of Grails (the Java framework).   The comparisons I plan to make will be mostly to PHP, cause that's what I'm most familiar with, though there may be some other comparisons from time to time.  This is a work in progress, but I'd be very interested in feedback from anyone out there interested in this aea - Grails, Groovy, PHP, why another language/platform/framework, etc.   The first two installments have been posted - part one and part two - with an introduction to what Grails is and a brief dip into some "Hello world" sort of code to give you an idea of the structure.
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
253381
Latest PHPClasses.org Releases:Nweb ImageLeast Squares FitCalendar CalculationsParagraphGDColorSimple EnumerationFile Exchange ProtocolFind dateNaf_ValidatorGeneric Form classMulti Threaded Daemon
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.
403472
Reinhold Weber has put together a list of signs (40 in all on his "programming list of shame") that you're a lousy PHP programmer. Here's a sampling:   don't see the need and/or benefits of a good programming IDE like Zend Studio or Eclipse PDT have never used some form of version control like Subclipse don't use a consistent methodology don't use test-driven development don't return content but echo or print it from your functions or classes return HTML, not data, strings, or objects. don't allow intelligent error handling you think reusable software equals/requires your code to be OOP   Now granted, some of them are a bit more high level than others, but if you're not headed towards a lot of these, you might change paths, hop out of that comfort zone and branch out into the community and the language a little bit more.
646811
Ilia Alshanetsky has an announcement on his blog today about the release of the next candidate for the upcoming PHP 5.2 series - PHP 5.2.0RC5.    After 2 weeks of inaction 5.2.0 final release is finally in sight. A few minutes ago I've released the last (I mean it this time) release candidate of 5.2.0, RC5. If all goes well a week from now 5.2.0 final will be out ready for use. In the meantime I'd like to ask once again that everyone try this RC, which can downloaded from here.   I don't think you'd be able to find any major issues or regressions in this RC, but if you do certainly let me know, if necessary RC6 is not out of the question.    The more this new release is downloaded and tested, the faster we all get PHP 5.2 - so get out there and get testing!   The Windows builds have also already been created courtesy of Edin Kadribasic.
662669
In this new post to his blog today, Tim shares some of the tools that he uses to develop his PHP applications (including supporting the CodeIgniter project).   IÃ¢ÂÂve been asked on several occasions to spill the beans on my development environment. Sadly, itÃ¢ÂÂs probably not the easiest setup - but it works for my stubborn mind.   Applications included in his list are things like PHP Eclipse, CuteFTP, XAMPP and Subversion. He also mentions a Firefox extension, Devboi, that offers quick access to several different reference manuals on the web.
478822
Pierre-Alain Joye has posted an example of one way to use the XDebug software - to debug the symfony framework or any other script (with the help of vim).   Xdebug is one of the best debugger and profiler for php (maybe the only good one in open source :). The only problem is its lack of dedicated client. The only problem is its lack of dedicated client, however there is many plugins for many IDE or editors like Eclipse PDT or weaverslave and even for my favourite editor, Vim.   He quickyl runs through the installation of XDebug in your installation and the script needed to set up the debugging in vim. All that's left is to add the "XDEBUG_SESSION_START=1" flag to the end of your script name and letting the information flow in.
261062
Latest PHPClasses.org Releases:SPL and IteratorsBWT & MTF encodercPanel Sub-domains CreatorObserverableHTTP SpySimple and Attachment Send MailWindows RegistryClean OutputCryptPHP RARRTF Generation ClassBar ChartPclTemplateICQ Protocol
654370
Pierre-Alain Joye has a little reminder posted to his blog today about two posts from planet-debian and Apache that refer to clones/references in PHP4 and PHP5 and some of the misconceptions presented there.   Reading planet-debian and Apache (from Sven and David), I catched two posts about clones and references in php4 and php5. I do not think it is worth to explain again everything here as Sara wrote a very good post already, check it out here.   He mentions his annoyance with articles/posts like these and the impact that it has on PHP as well as the person posting.   I wonder when the OS community in general will be mature enough to stop bitching at each other. And that's valid for PHP developers, gnome-kde and other well established wars.