Found 14 bookmarks
Custom sorting
: Sniffing refactoring needs
: Sniffing refactoring needs
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.
: Sniffing refactoring needs
owasp-esapi-php - Google Code
owasp-esapi-php - Google Code
The purpose of the ESAPI is to provide a simple interface that provides all the security functions a developer is likely to need in a clear, consistent, and easy to use way. The ESAPI architecture is very simple, just a collection of classes that encapsulate the key security operations most applications need.
owasp-esapi-php - Google Code
Greg Sherwood: PHP_CodeSniffer and JavaScript Lint
Greg Sherwood: PHP_CodeSniffer and JavaScript Lint
The new JavaScript tokenizer in PHP_CodeSniffer allows you to write your own custom JS sniffs, but JavaScript Lint already has a set of generic tests that can be applied to your code. Thanks to the JavaScript Lint command line tool, jsl, you can now include JavaScript Lint warnings and errors in your coding standards.
Greg Sherwood: PHP_CodeSniffer and JavaScript Lint
Pxxo - Construire, utiliser et réutiliser des composants graphiques sur le Web
Pxxo - Construire, utiliser et réutiliser des composants graphiques sur le Web

Pxxo sert à créer des composants graphiques (ou widget) qui permettent de construire une page HTML comme une hiérarchie de composants plus simples.

Chaque composant est une micro-application Web pouvant être facilement imbriquée dans une application ou même dans un autre composant.

Au final, cette architecture peut constituer une application complète.

En outre, en proposant un squelette de construction, Pxxo permet d'assurer une homogénéité des traitements et du code source.

Pxxo - Construire, utiliser et réutiliser des composants graphiques sur le Web
sfOpenSocialPlugin - symfony - Trac
sfOpenSocialPlugin - symfony - Trac
The symfony OpenSocial? plugin enables you to create a full-feature OpenSocial? Application using Symfony framework. This plugin gives you a complete PHP5 OO implementation of OpenSocial? JavaScript API( including Gadgets core and feature-specific Gadgets), which makes you're applications robust, scalable and immune to future OpenSocial? versions. This plugin is very flexible taking advantage of both PHP5 ( all the marvelous of object-oriented programming) and the MVC provided by the Symfony framework.
sfOpenSocialPlugin - symfony - Trac
xmpphp - Google Code
xmpphp - Google Code

XMPPHP is the successor to Class.Jabber.PHP that I've been promising for years. Taking advantage of PHP5, I believe it to be an elegant solution with a direct approach.

Some of the features include:

* Connect to any XMPP 1.0 server (Google Talk, LJ Talk, jabber.org, etc)
* Supports TLS encryption
* Several XML processing approaches and supported styles (process indefinitely, processUntil an event, processTime for a number of seconds), waiting on events or map them, etc.
* Persistent connections (AJAX Web client anyone?)
xmpphp - Google Code