 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Havard Eide's Blog: Leopard and PHP
by Chris Cornutt January 14, 2008 @ 12:08:00
Havard Eide is asking for your help in a new entry to his blog. He's looking for ways to speed up his development in Eclipse, specifically in the debugging.
There is one thing I do need over everything else: remote debugging. Having used Zend Studio for 3 years now it hasn't been the best editor ( I'd rather prefer PHPEclipse/PDT ) but the remote debugging facility is superb [...] Eclipse it has all the tools you need to develop with but the debugging is slow, way too slow!
He's looking for anyone out there that might be able to help him speed up the debugging on his Leopard-installed version of Eclipse ("So slow actually that I had to install Zend Studio 5.5 for whenever I have to debug a file...")
voice your opinion now!
leopard osx mac zendcore eclipse debugging leopard osx mac zendcore eclipse debugging
Box.net: How to Debug PHP with Vim and XDebug on Linux
by Chris Cornutt November 07, 2007 @ 12:17:00
Curt Zirzow has pointed out a cool article on the Box.net website about debugging your PHP applications with a combination of Vim and XDebug (on linux).
Here's how it works. You're coding away in vim. You hit F5; Vim waits for a connection from the PHP server. You refresh the PHP page you're working on. It attempts to contact Vim - connection successful. You are launched into a debugging session right inside Vim. You can step into, over, and out of statements, eval statements, get all variables in context, get and set properties, remove and set breakpoints, all on the fly. Finally, some real programming tools.
Included are the steps to set up the vim environment , set up the client debugger (DGBp) and link it all to the XDebug functionality on your remote machine.
voice your opinion now!
vim xdebug debugging linux dgbp client server vim xdebug debugging linux dgbp client server
Tony Freixas's Blog: High-performance debugging
by Chris Cornutt September 26, 2007 @ 12:59:00
Tony Freixas has posted a new article covering his thoughts on high-performance debugging with PHP5:
In this article, I will show you how to use PHP 5 input filters to support debug, trace and assert statements so that a one-line change disables these statements and restores your script to full production performance.
He makes a custom solution, a simple method for just outputting simple debug statements via his own custom debugging classes - thDebug, theTrace and thAssert. He wraps all of these in a thDebugManager class to make them all play nice together.
With these in place, he moves on to the real key to the debugger, using the input filter extension that comes with PHP5. He makes a thAbstractStreamFilter abstract class to base the filtering on and, using this interface, makes his thDebugFilter class to handle the various debugging outputs. He uses the __autoload functionality to load it correctly into each page that needs it.
voice your opinion now!
debugging performance filter php5 trace assert debug debugging performance filter php5 trace assert debug
Tony Bibbs' Blog: My Zends are Broken
by Chris Cornutt April 12, 2007 @ 11:09:00
If you've read this post and gotten a little lost as to the struggle he (Tony Bibbs) faced to lead up to, you might want to check out the previous post outlining all of the things he came across when making the move from Zend Studio version 5.1 up to version 5.5.
So what have I concluded out of all of this? As clearly as I can state it here is the big problem. With Zend Studio 5.1 you could install Studio Server with no additional fee outside of the Zend Studio license. This allows you to debug via your local Apache instance running PHP. To get the same feature set out of Zend Studio 5.5 you would have to buy Zend Platform separate.
My hunch is the folks at Zend expect developers to debug on their local desktops with only the internal debugger which *can* produce different behavior than that under your web server environment. It's not good if your debugger can exhibit different behavior than your web server. I should also note that remote debugging with Zend Studio 5.1 while serviceable was not the most stable. It would occasionally kill Apache, possibly require me to restart Zend Studio or rare cases even force me to reboot.
He also lists out some of the other issues he's noticed in making the change (six of them).
voice your opinion now!
zend zendplatform zendstudio debugging upgrade zend zendplatform zendstudio debugging upgrade
PHPClasses.org: Software Review - Delphi for PHP 2007
by Chris Cornutt April 05, 2007 @ 09:13:00
On the PHPClasses website today, there's a new software review posted for the recently released Delphi for PHP from CodeGear (Borland).
He (Manuel Lemos) comes into the review not having dealt with Delphi before and having not created desktop applications before and found things a little overwhelming. He goes through the functionality of the application, including the structure of the applications you create (made up of "units" of PHP scripts). He gives a pretty comprehensive overview of what you can expect from the interface and a bit on some of the external functionality too - like the debugging.
For a first version of this PHP IDE, I think Borland/CodeGear did very well, but there is plenty of room for improvement. If you have been a big fan of Delphi for Windows desktop applications, you will certainly love Delphi for PHP.
Even if you dislike the choices that were made when it comes to the generated code or the library packages, Delphi for PHP may still be very useful for developers that need to quickly create a prototype of a PHP application and show how it looks to potential or current customers.
You can get more information, including features and pricing information from the official page on the CodeGear website.
voice your opinion now!
delphi software review overview interface debugging delphi software review overview interface debugging
ThinkPHP Blog: Extending class SoapServer (PHP5) for debugging
by Chris Cornutt January 04, 2007 @ 14:17:30
On the ThinPHP Blog today, there's a new post that talks about extending one of the newer bts of functionality to be added into the PHP core - the SOAP functionality. Specifically, they look at extending the SoapServer class to help with debugging.
For long-term reasons (it's a large multi-year project) and to provide more comfort for our customer (internal monitoring) and the communication from us (the development team) to the external entities (internal/external consumers of the webservice), we decided to improve the debugging capabilities of the SOAP service.
They give a code example of how to use this extension functionality. The script is set to make a request to a remote server and store all of the response information in an easy to use standardized error handling functionality.
voice your opinion now!
soap soapserver extend php5 debugging soap soapserver extend php5 debugging
|
Community Events
Don't see your event here? Let us know!
|