public marks

PUBLIC MARKS from mbertier with tags tools & php

March 2008

<raphael.on.php/>: Sniffing refactoring needs

by 2 others
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.

Greg Sherwood: Using PHP_CodeSniffer in an SVN pre-commit hook

(via)
I've just commit a new script to PHP_CodeSniffer called phpcs-svn-pre-commit. It sits in the scripts dir with phpcs and phpcs.bat. This script was contributed by Jake Bates, who has also volunteered to maintain the Debian package, and will be available in the 1.1.0 release.

February 2008

PHP Simple HTML DOM Parser

by 10 others, 3 comments (via)
A simple PHP HTML DOM parser written in PHP5 . I wrote it is because using PHP DOM XML library to parse HTML is really a pain. The origional idea is from Jose Solorzano's HTML Parser for PHP 4.

Homepage | OpenX

by 4 others (via)
The free, open source ad server trusted by more than 30,000 web publishers in over 100 countries around the world. OpenX is a powerful ad serving solution that puts control over online advertising back in the hands of publishers.

January 2008

phk.tekwire.net - Automap documentation

(via)
Automap is a map-based autoloader for PHP.

Google Maps PHP Class: Phoogle Maps | systemsevendesigns Freelance Web Development Cornelius, NC

by 8 others
Phoogle Maps (pronounced like Foogle Maps) is a PHP class that integrates itself with the Google Maps API and with the Google Geocoding API to make an easy to use interface to display Google Maps on your site. With about 5 lines of PHP code you can display a customized Google Map on your website. Please note that you will need a free Google Maps API Key to use Phoogle Maps

November 2007

First release of phpUnderControl - Manuel Pichler

(via)
phpUnderControl integrates three of the best PHP development tools into CruiseControl, combined with an easy setup routine and a small example project. With the provided XSL-Stylesheets the generated output of PHPUnit, PHP_CodeSniffer and phpDocumentor can be visualized in CruiseContro

September 2007

PHPIDS » Web Application Security 2.0 » Index

by 1 other (via)
PHPIDS (PHP-Intrusion Detection System) is a simple to use, well structured, fast and state-of-the-art security layer for your PHP based web application. The IDS neither strips, sanitizes nor filters any malicious input, it simply recognizes when an attacker tries to break your site and reacts in exactly the way you want it to. Based on a set of approved and heavily tested filter rules any attack is given a numerical impact rating which makes it easy to decide what kind of action should follow the hacking attempt. This could range from simple logging to sending out an emergency mail to the development team, displaying a warning message for the attacker or even ending the user’s session.

August 2007

PHPizabi - Create Worlds

PHPizabi is a feature rich social networking platform that integrates everything you need to jumpstart your community, dating site, or social networking portal right out of the box. PHPizabi is one of the most reliable, safe, and solid platforms on the market, offering your users features they could only dream of.

Quercus: PHP in Java

by 2 others
Quercus is Caucho Technology's fast, open-source, 100% Java implementation of the PHP language.

PHP/Java Bridge

by 1 other
The php/Java bridge allows you to quickly access java classes from within your PHP scripts without having to know Java. It also allows you to access PHP scripts from within your Java classes without having to know PHP.

July 2007

GOsa project - Home

GOsa is a GPL'ed PHP based administration tool for managing accounts and systems in LDAP databases. It administers users and groups, mail distribution lists, thin clients, applications, phones and faxes.

Xdebug 2 released - Derick Rethans

by 1 other (via)
After almost four years of work, Xdebug 2 is finally ready.

Projects: Transliteration Extension - Derick Rethans

(via)
This extension allows you to transliterate text in non-latin characters (such as Chinese, Cyrillic, Greek etc) to latin characters. Besides the transliteration the extension also contains filters to upper- and lowercase latin, cyrillic and greek, and perform special forms of transliteration such as converting ligatures such as the Norwegian "æ" to "ae" and normalizing punctuation and spacing.

May 2007

Premature Optimization » Zend_Search_Lucene talk slides

by 2 others
I think that my main goal, which was to show how easy it is to start indexing existing content, was acheived and several people came to me and said they thing Zend_Search_Lucene is one killer component.

April 2007

phpsh -- an interactive shell for php

(via)
phpsh is an interactive shell for php that features readline history, tab completion, quick access to documentation. It was developed at Facebook and ironically, is written mostly in python. It is open source.

March 2007

TCPDF

by 5 others (via)
TCPDF is an Open Source PHP class for generating PDF files on-the-fly without requiring external extensions. TCPDF is an extension and improvement of the FPDF class by Olivier Plathey (http://www.fpdf.org).

November 2006

A Day In Paradise » ZendCon / PHP Conference Slides UP

My ZendCon and PHP Conference slides are up. Moving to PHP5 with Style Planning a PHP4 -> PHP5 platform Rewrite Advanced PHP Tools (tutorial)

Introduction - XCache - Trac

XCache is a open-source opcode cacher

October 2006

Home - Spike Developer Zone

by 2 others
Many interesting things here.

Projects:phpcoverage - Spike Developer Zone

by 2 others (via)
Spike PHPCoverage is an open-source tool for measuring and reporting code coverage provided by the test suite of a PHP application. Spike PHPCoverage can instrument and record the line coverage information for any PHP script at runtime

PHP Security Consortium: PHPSecInfo

by 8 others (via)
The idea behind PHPSecInfo is to provide an equivalent to the phpinfo() function that reports security information about the PHP environment, and offers suggestions for improvement. It is not a replacement for secure development techniques, and does not do any kind of code or app auditing, but can be a useful tool in a multilayered security approach.

Converting to MySQLi - MySQLForge Wiki

(via)
We have good news for those of you who fear the work of converting thousands of lines of source code manually: MySQL has developed a tool which helps you with the conversion of the code.