XML RSS feed Articles » Tutorial

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.

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.

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

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.

Zend Framework testing: emulating HTTP calls

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

PEAR::Translation2 tutorials - "backend" usage

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

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.

PEAR::Translation2 Tutorials

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

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.

PEAR::Pager Tutorials - Article Pagination and Navigation

How to navigate through the paragraphs of a long article with PEAR::Pager.
1   2   Next »

Lorenzo Alberton

Lorenzo Alberton Lorenzo PHP5 ZCE - Zend Certified Engineer has been working with large enterprise UK companies for the past years and is now CTO at DataSift. He's an international conference speaker and a long-time contributor to many open source projects. Lorenzo Alberton's profile on LinkedIN View Lorenzo Alberton's Twitter stream

Lorenzo Alberton - Sun Certified MySQL 5 Developer