public marks

PUBLIC MARKS from chantal

October 2008

Using an autoload function to make your life easier by Stefan Ashwell | PHP & MySql articles and tutorials | Total PHP

(via)
In PHP 5 you can make your life a lot easier by writing an autoload function. This function will automatically load your classes, so you do not need to repeatedly include classes on every page.

June 2008

the Beast (a.k.a. how to test AJAX applications) : Part 1

This is the first in a two part blog series titled 'Taming the Beast: How to test AJAX applications". In this part we discuss some philosophies around web application testing and how it should be done the 'right' way. In part 2, we walk through a real example of designing a test strategy for an AJAX application by going 'beyond the GUI.'

Debugging: A Beginner's guide

(via)
Everyday the forums see probably hundreds of topics posted where the problem is a fairly simple error. These generally fall in 4 categories: * Syntactical/parse errors * Fatal errors, warnings and notices * Database errors * Logical errors As a beginner, it can be difficult to find and solve these errors. By tackling each of these in turn, I hope to teach you some methods of finding and solving them. So we'll get started with syntactical errors on page 2.

May 2008

inputEx - a field framework for web applications

by 2 others (via)
inputEx is a javascript framework to build fields and forms.

inputEx: JSON form builder

inputEx is "a javascript framework to build fields and forms" created by Eric Abouaf. The framework uses a JSON format to describe a form

wiiuse - The Wiimote C Library

(via)
Wiiuse is a library written in C that connects with several Nintendo Wii remotes. Supports motion sensing, IR tracking, nunchuk, classic controller, and the Guitar Hero 3 controller. Single threaded and nonblocking makes a light weight and clean API.

April 2008

Unit Testing Custom Code with the Dojo Objective Harness

(via)
Many Dojo developers are aware of the Dojo Objective Harness (DOH) that the Dojo Toolkit uses for unit testing. Many people, however, want to use DOH for testing their own code or even non-Dojo code that they have written. While DOH has always supported this, there currently aren’t many examples of doing so. Let’s see if we can help that out.

Testing PHP/MySQL Applications with PHPUnit/DbUnit - Sebastian Bergmann

(via)
Here is the presentation material I used for my "Testing PHP/MySQL Applications with PHPUnit/DbUnit" presentation at the MySQL Conference in Santa Clara, CA today.

Learn SVG - The book

by 1 other (via)
"Learn SVG: The Web Graphics Standard" by Jon Frost, Stefan Goessner and Michel Hirtzler revisited by Robert DiBlasi and Tobias Reif eBook

March 2008

Writing an Email Autoresponder Script with PHP

by 1 other (via)
It's very convenient for users to be able to communicate with web applications (or businesses) via email, but it's not always easy for the employees of the company to respond.

Building File Uploaders with PHP 5

(via)
My goal here is simply tackling file uploads from a hands-on point of view and discarding all of those additional configuration settings that must be performed in the web server. Therefore, in this series of articles, I’m going to show you how to build some file uploading mechanisms with PHP 5, which, due their intrinsic modularity, can be easily integrated into other existing PHP applications with minor hassles.

To ExtPHP, or to PHP-Ext?

(via)
I got emails on the same day from two developers letting me know about ExtJS wrappers for PHP.

February 2008

Add the Graphics Power of SVG to PHP

Scalable Vector Graphics (SVG) is an XML specification for producing vector-based graphic content that you can create, modify, and manipulate dynamically from programming languages. Here, you'll explore the most important techniques and libraries for integrating SVG with PHP to create diverse graphic content—from simple shapes to complex graphs.

Class Inheritance with PHP

(via)
There are many benefits of inheritance with PHP, the most common is simplifying and reducing instances of redundant code. Class inheritance may sound complicated, but think of it this way. Consider a tree. A tree is made up of many parts, such as the roots that reside in the ground, the trunk, bark, branches, leaves, etc. Essentially inheritance is a connection between a child and its parent.

PHP cheat sheets

by 2 others (via)
Liste des penses-bêtes PHP