Tags
AJAX,
Apache,
Book Review,
Charset,
Cheat Sheet,
Data structures,
Database,
Firebird SQL,
Imagick,
INFORMATION_SCHEMA,
JavaScript,
Linux,
mod_rewrite,
MySQL,
Oracle,
PDO,
PEAR,
Performance,
PHP,
PostgreSQL,
Profiling,
Scalability,
Security,
SPL,
SQL Server,
SQLite,
Testing,
Tutorial,
TYPO3,
Windows,
Zend Framework
Buy me a book
My latest article on Profiling using XHProf, a neat tool developed at Facebook. A step-by-step tutorial to install and use XHProf, and some useful hints on how to improve performances and scalability of your PHP application.
Graphs in the database: how to store a graph data structure in a DBMS, and answer the most common queries typical of social networks, like "You might also know" or "You might also like", or "How you are connected to XYZ" (degrees of separation).
PHP,
SPL,
Tutorial,
Imagick 31 August 2009
Extract frames from a movie and create a preview as animated GIF, using PHP, SPL, Imagick and FFmpeg.
How to test HTTP calls using Zend Framework, using Dependency Injection and a stub HTTP Client.
PHP,
PEAR,
Tutorial 18 May 2008
This second Translation2 tutorial shows how to add, update and remove languages and translations.
PHP,
PEAR,
Tutorial 13 May 2008
This first Translation2 tutorial shows how to deal with translated strings: how to fetch them one by one or in groups, and how to transform, cache and decorate them.
PHP,
PEAR,
Tutorial 6 May 2008
I just released the first stable version of Translation2. Here's an overview of the package, its purpose and its design.
Since I keep getting emails asking for help with PEAR::Pager, here's a couple of new examples about the most requested features: 1) how to use Pager with a template engine like Smarty; 2) how to use Pager_Wrapper to paginate database results and display them using AJAX.
How to navigate through the paragraphs of a long article with PEAR::Pager.
PEAR::Pager can generate javascript links and AJAX calls. Read how in this new Pager tutorial, examples are included.