Lorenzo Alberton

Reading / London, UK   ·   Contact me   ·  

Articles » Tutorial

Filter articles by topic

AJAX, Apache, Book Review, Charset, Cheat Sheet, Data structures, Database, Firebird SQL, Hadoop, Imagick, INFORMATION_SCHEMA, JavaScript, Kafka, Linux, Message Queues, mod_rewrite, Monitoring, MySQL, NoSQL, Oracle, PDO, PEAR, Performance, PHP, PostgreSQL, Profiling, Scalability, Security, SPL, SQL Server, SQLite, Testing, Tutorial, TYPO3, Windows, Zend Framework

Profiling PHP applications with XHProf: the path to scalability

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.   Read article

1 December 2009

Profiling PHP Applications with XHProf

An introduction to PHP Profiling using XHProf, and some techniques on how to get the most out of your application.   Read article

1 December 2009

New article: Graphs in the database, SQL meets social networks

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).   Read article

7 September 2009

Create a video preview as animated GIF with FFmpeg and PHP SPL

Extract frames from a movie and create a preview as animated GIF, using PHP, SPL, Imagick and FFmpeg.   Read article

31 August 2009

Zend Framework testing: emulating HTTP calls

How to test HTTP calls using Zend Framework, using Dependency Injection and a stub HTTP Client.   Read article

29 October 2008

PEAR::Translation2 tutorials - "backend" usage

This second Translation2 tutorial shows how to add, update and remove languages and translations.   Read article

18 May 2008

PEAR::Translation2 tutorials - "frontend" usage

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.   Read article

13 May 2008

PEAR::Translation2 Tutorials

I just released the first stable version of Translation2. Here's an overview of the package, its purpose and its design.   Read article

6 May 2008

PEAR::Pager Tutorials - Use Pager with Smarty. Use Pager_Wrapper with AJAX

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.   Read article

8 March 2007

PEAR::Pager Tutorials - Article Pagination and Navigation

How to navigate through the paragraphs of a long article with PEAR::Pager.   Read article

16 October 2006