public marks

PUBLIC MARKS from mbertier with tags tools & bestpractices

March 2008

ntop - network top

by 2 others
The use of: * a web interface * limited configuration and administration via the web interface * reduced CPU and memory usage (they vary according to network size and traffic) make ntop easy to use and suitable for monitoring various kind of networks.

<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

JavaScript Project Generator

by 2 others (via)
A simple command-line tool to create the folders and helper files for a new JavaScript project/library. As a bonus, you can quickly create a website to promote your project.

Hypertable: An Open Source, High Performance, Scalable Database

by 2 others (via)
Hypertable is an open source project based on published best practices and our own experience in solving large-scale data-intensive tasks. Our goal is to bring the benefits of new levels of both performance and scale to many data-driven businesses who are currently limited by previous-generation platforms. Our goal is nothing less than that Hypertable become the world’s most massively parallel high performance database platform.

January 2008

Cerny.js - Introduction

by 1 other (via)
Cerny.js is a JavaScript library aiming to ease development of JavaScript projects in large development teams.

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

Sparkle - Trac

by 4 others (via)
Sparkle is a module that developers can stick in their Cocoa applications (five-step install!) to get instant self-update functionality. Your app will be able to update itself, not just check for new versions: it’ll read the update information from an appcast on your server, download, extract, install, restart, and even offer to show the users release notes before they decide if they want to update.

SimplePie: Super-fast, easy-to-use, RSS and Atom feed parsing in PHP.

by 21 others
SimplePie is a very fast and easy-to-use class, written in PHP, that puts the ‘simple’ back into ‘really simple syndication’. Flexible enough to suit beginners and veterans alike, SimplePie is focused on speed, ease of use, compatibility and standards compliance.

July 2007

White Paper: Intelligent Updates to Configuration Files - Spike Developer Zone

In this paper, we provide a new two­fold solution – automated merging of changes that are done by a software provider after installation and manual merging of changes performed by the user thereafter. While some manual intervention is required in this approach, it is a more reliable solution. This approach also includes a tool to ease the manual file comparison and merge process.

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.

[ANN] mod_concat

(via)
The ability to concatenate CSS or javascript files into a single HTTP request.

June 2007

PEAR :: Package :: PHP_DocBlockGenerator

Creates the file Page block and the DocBlocks for includes, global variables, functions, parameters, classes, constants, properties and methods. Accepts parameters to set the category name, the package name, the author's name and email, the license, the package link, etc... Attempts to guess variable and parameters types.

Mike Davidson: How To Keep Widgets From Slowing Down Sites: WEDJE

(via)
WEDJE is similar to the innerHTML method above except it creates what is effectively a cross-platform, cross-browser defer, enabling your script to load and execute asynchronously across all environments.

Common Locale Data Repository

by 2 others (via)
The Unicode CLDR provides key building blocks for software to support the world's languages. CLDR is by far the largest and most extensive standard repository of locale data. This data is used by a wide spectrum of companies for their software internationalization and localization: adapting software to the conventions of different languages for such common software tasks as formatting of dates, times, time zones, numbers, and currency values; sorting text; choosing languages or countries by name; and many others.

March 2007

Introducing MySQL Table Sync - Xaprb

(via)
MySQL Table Sync efficiently finds and resolves data (not structural) differences between two MySQL tables, which may be on different servers. It offers two search algorithms to find the rows that differ, and several methods to bring the destination table into sync with the source.

February 2007

SourceForge.net: MySQL Toolkit

by 2 others (via)
This toolkit contains essential utilities for MySQL developers and administrators, such as a query profiler, a duplicate index and foreign key checker, and a table checksum tool.

January 2007

Natural Docs

by 7 others
Natural Docs is an open-source, extensible, multi-language documentation generator. You document your code in a natural syntax that reads like plain English. Natural Docs then scans your code and builds high-quality HTML documentation from it.

November 2006

MySQL Backup and Recovery - The Open Source Backup Wiki (Amanda, MySQL Backup)

by 1 other (via)
Zmanda Recovery Manager (ZRM) for MySQL simplifies life of a database administrator who needs an easy to use yet flexible and robust backup and recovery solution for MySQL server.

October 2006

Ned Batchelder: Subversion branching quick start

by 6 others (via)
Branching and merging is more complicated than simply making changes to a single line of development. But once you establish some patterns, and get in the habit of working with branches, it is not difficult. They are powerful tools that let you be more thoughtful in what code gets put where, and how many developers have to deal with any given set of changes.

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.

Really easy field validation with Prototype * Dexagogo

by 11 others (via)
I wanted a robust javascript validation library that was simple to implement and didn't require me do any extra work other than creating the form.