PUBLIC MARKS from nhoizey with tags pear & php

2010

2007

Selenium Remote Control (SRC) is a test tool that allows you to write automated web application UI tests in any programming language against any HTTP website using any mainstream JavaScript-enabled browser. SRC provides a Selenium Server, which can automatically start/stop/control
any supported browser. It works by using Selenium Core, a pure-HTML JS library that performs automated tasks in JavaScript; the Selenium Server communicates directly with the browser using AJAX (XmlHttpRequest).

2006

Recently I had to move an existing project from using PEAR::DB to PEAR::MDB2 - the new database abstraction layer. I took notes on the parts of the code I needed to change, I hope they can benefit someone who's doing the same.

Today PEAR has over 200 active maintainers [3] and many more registered developers that help with frequent patches. The repository is home to over 400 object oriented (OO) packages. Total download numbers exceed 11.5 million...

Image_Graph is, as is indicated by the title, a project to create graphs. It utilizes PHP's object oriented model, to simple but very customizable enable a user/developer to create highly versatile graphs.

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.

Although there are already some PHP database abstraction classes available, the advantage of PDO is that it will be available in any PHP installation (so long as it is enabled) at runtime, without any need for recompiling. In addition, since it has been written from scratch specifically for PHP 5, it has a high level of performance. And if you are like me and often only want the key features, then PDO provides all the essential functions you need to connect to different databases. If you need the "full works", then the PEAR MDB2 package can handle that.