 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Developer Tutorials Blog: Learn regular expressions in PHP
by Chris Cornutt May 01, 2008 @ 08:48:05
On the Developer Tutorials blog, Akash Mehta offers some suggestions of resources and methods for learning how to use regular expressions in your PHP applications.
When it comes to quickly dealing with large blocks of data, batch processing operations or screen scraping, regular expressions are often the most effective solution. There's just one problem, though - learning them can be as hard as learning a new language altogether. Here's how to get off to a flying start.
He points you first in the direction of the preg_* functions then towards a few examples (like with mod_rewrite) and tools to help you understand how things match, like the regex tested extension for firefox and the regular expression cheat sheet on ILoveJackDaniels.com.
voice your opinion now!
learn regular expression preg firefox extension cheatsheet
Davey Shafik's Blog: Debugging from Firefox with xdebug and Komodo
by Chris Cornutt November 16, 2007 @ 12:03:00
Davey Shafik has shared a method he's come up with for debugging directly from Firefox with the help of xdebug and the Komodo IDE.
In an effort to switch away from Zend Studio I have been trying out Komodo (again) [...] One of the last barriers to switching, has been to emulate the Zend Studio Toolbar for Firefox (also available for IE) which lets you do lots of great things, from Profiling to Debugging every page. I personally use it mostly for debugging single pages, and forms, as well as for end to end PHP and AJAX debugging - so this was the feature I was mostly looking to emulate.
He found his way through a few small additions to his php.ini file that allow Komodo to connect directly to the remote server and make debugging as easy as adding "?XDEBUG_SESSION_START=1" to the URL of whatever page you're on. He's also made a bookmarklet that turns it on for you as well.
voice your opinion now!
debug firefox komodo xdebug bookmarklet debug firefox komodo xdebug bookmarklet
Community News: FirePHP Firefox PHP Extension
by Chris Cornutt February 14, 2007 @ 12:04:26
As mentioned on dzone.com, there's an extension for Firefox, FirePHP, that allows you to get a bit more info on what your PHP scripts are up to.
FirePHP allows you to take a deeper look at all the work your PHP code does to generate that page you are currently looking at in your Firefox browser.
Just install the FirePHP Firefox extension, PHP PEAR package and add a few lines of code to your PHP application to get started. You will see a "FirePHP" tab in your Firebug extension to bring your PHP backend logic to your fingertips!
You can check out screenshots of it in action, a demo of its use, and of course, download the latest version all from their site. It works either as a separate window or attached in your browser and, based on an XML capabilities file, works with your application to provide details about your scripts.
voice your opinion now!
firefox firephp extension monitor request integrate firefox firephp extension monitor request integrate
Inside Open Source: Viewing Large Record Sets in PHPMyAdmin
by Chris Cornutt January 15, 2007 @ 09:47:00
From the Inside Open Source blog (from APress) there comes a helpful tip for those working with Firefox and PHPMyAdmin on a lower resolution screen:
I'm currently working on an e-commerce project involving a relatively small number of database tables. However the clients table consists of 19 fields, making for difficult data review and debugging within PHPMyAdmin, even at 1280Ã-768 resolution.
The answer is simple, at least if you're using Firefox. Firefox offers three hotkeys for changing the text size, and resultingly, the amount of text you can see on one screen.
The keys for this easy little fix use the Control key and plus (larger), minus (smaller), and zero (return to default size).
voice your opinion now!
phpmyadmin firefox text size record set resolution phpmyadmin firefox text size record set resolution
|
Community Events
Don't see your event here? Let us know!
|