public marks

PUBLIC MARKS with tags pear & clevermarks

2008

Sniffing refactoring needs

by kasi77 & 2 others (via)
While still messing around with the PHP_CodeSniffer Pear package, I took a somehow jealous 1000 feet look at some prominent code inspection tools of the Java community: PMD and Checkstyle. Browsing their available rule sets/checks I soon recognized that guaranteeing the coding standard adherence is just a partial aspect of these tools. The following post will focus on one of these additional aspects, which is finding problems related to the code size of the inspected code artifacts, by showing how to port two selected rules to sniffs for utilization with the PHP_CodeSniffer tool. These ported sniffs can be used to automatically spot obvious code smells in the code base and to signal the need to apply the appropriate and odour reducing activity known as refactoring. Further more a complete set of code size sniffs, going beyond the trageted realm of the sniffs to come, could be used to speed up the feedback loop and to reduce the effort for manual code reviews.

2007

Debugging PHP With Firebug

by nhoizey & 1 other
Logging PHP and JavaScript errors to same window makes debugging easier

2006

2005

Samalyse - Tutorial - Database frontend with PEAR DataGrid and DataObject

by nhoizey & 3 others
Structures_DataGrid and DB_DataObject are two PEAR components, which can be connected together, to easily display the data contained in a SQL table, and let the user sort and page through it. By cleverly using these two components, and with minimal typing, I will try and show you how you can bypass the usual steps of parsing GET parameters, performing SQL requests, and generating HTML content.

PUBLIC TAGS related to tag pear

lib +   mysql +   php +   xml +  

Active users

kasi77
last mark : 12/03/2008 18:27

nhoizey
last mark : 08/02/2007 15:04