Articles
Fabien Potencier
Iterator or IteratorAggregate? June 24, 2010
A quick tip on iterators.
PHP Iterators and Streams are awesome May 21, 2010
You should learn how to take advantages of PHP Iterators and Streams.
Find your Files April 22, 2010
How do you find files and directories with PHP? Do you use Iterators? If not, you probably should... or keep reading for a better and simpler way.
Parsing XML documents with CSS selectors March 31, 2010
The one where I talk about the new and shiny Symfony 2 CSS Selector Component, a tool that converts CSS selectors to XPath expressions.
Symfony Live Conference, Symfony 2.0, and Dependency Injection February 19, 2010
This has been an amazing week for me, Symfony, and the whole Symfony community. With more than 350 attendees coming from more than 30 countries, the Symfony Live conference was a blast.
The state of YAML in PHP December 21, 2009
My first exposure to YAML was in 2001, back in the days when I was mainly working with Perl. When I started to use PHP at the end of 2004, one of the first thing that bothered me immediately was the poor support for YAML.
2009 Conferences Wrap-up December 15, 2009
This year, I traveled in 7 countries for PHP conferences, giving a total of 12 talks. It has been a very exiting year of conferences for me.
Pirum, the Simple PEAR Channel Server Manager November 28, 2009
Some weeks ago during the Zend Conference, I quietly released Pirum, a simple PEAR channel server manager. As some people talk about it on "social networks", I thought I should write an official announcement on my blog to explain where I come from.
PHP 5.3.0 on Mac OS 10.6 (Snow Leopard) November 05, 2009
How I compiled PHP 5.3 on my Snow Leopard laptop.
My first Zend Conference was a blast October 24, 2009
This was my first Zend Conference, and I must say I had a great time there. The organization was top notch, there were plenty of good sessions, and the unconference topics proved to be very interesting.
Templating engines in PHP - Follow-Up October 09, 2009
My post about template engines in PHP had now more than 70 comments, and counting. This follow-up tries to answer the most asked questions.
Templating Engines in PHP October 07, 2009
So, you think PHP is a templating engine? So did I... for a very long time. But recently, I changed my mind. Here is why.
Swift Mailer Takeover September 16, 2009
As you might have noticed, I'm the new project manager of Swift Mailer, a powerful mailing library for PHP.
Developers should be Artists August 25, 2009
During my holidays, I took the chance to step back a little and think about my day-to-day work. In this post, I try to explain why hacking is really an art.
Upcoming conferences August 24, 2009
During fall, I will speak at several conferences: the Japan PHP conference in Japan, the Zend PHP conference in the USA, the Forum PHP in France, and the PHP International Conference in Germany.
Sourceforge Community Choice Awards: symfony is a Finalist! June 22, 2009
I'm proud to announce that symfony has been chosen as a finalist for the Sourceforge Community Choice Awards.
Pimple, the small dependency injection container for PHP 5.3 June 16, 2009
The one where I talk about Pimple.
Tweeting from PHP June 14, 2009
Twitter is everywhere nowadays. Odds are eventually you will want to tweet
from PHP. No need to use one of the numerous PHP Twitter libraries, as
tweeting is as simple as using the PHP built-in file_get_contents()
function.
Quick SSH Tip June 09, 2009
If you need to regularly connect to a lot of different servers like I do, you will probably enjoy this tip!
What for PHP6? June 07, 2009
PHP 5.3 is just around the corner with a lot of great new features. But what for PHP 6?
On PHP 5.3, Lambda Functions, and Closures April 16, 2009
PHP 5.3 will have a lot of exiting new features, and one of the most important one for me is the introduction of lambda functions and closures support.
Symfony Service Container: The Need for Speed April 02, 2009
During the first five articles of this series on Dependency Injection, we have progressively introduced the main concepts behind this simple and useful design pattern. In this last article, we will see how to use some dumpers to have outstanding performance.
Symfony Service Container: Using XML or YAML to describe Services April 01, 2009
With the last article on Dependency Injection, you learned how to describe services with PHP code by using the sfServiceContainerBuilder class. Today, with the help of service loaders and dumpers, you will learn how to use XML or YAML to describe your services.
Symfony Service Container: Using a Builder to create Services March 31, 2009
In the previous article on Dependency Injection, you learned how to use the sfServiceContainer class to provide a more appealing interface to your service containers. In this article, we will go one step further and learn how to leverage the sfServiceContainerBuilder class to describe services and their configuration in pure PHP code.
Introduction to the Symfony Service Container March 30, 2009
Until now in this series on Dependency Injection, we have talked about general concepts. These two introductory articles were important to better understand the implementation we will talk about in this article and in the following ones. It is now time to dive into the Symfony 2 service container implementation.
Do you need a Dependency Injection Container? March 28, 2009
In the first installment of this series on Dependency Injection, I have tried to give concrete web examples of Dependency Injection in action. Today, I will talk about Dependency Injection Containers.
What is Dependency Injection? March 26, 2009
This article is the first of a series on Dependency Injection in general and the implementation of a Dependency Injection Container in PHP.
Short URLs March 06, 2009
Websites like Twitter makes URL shortener services a must. My main concern with URL shortening is that you loose all the meaning embedded in the URLs. I wanted a shortener URL service that gives short URLs, but also keep some sort of meaningful information about the original URL.
PHP Serialization, Stack Traces, and Exceptions February 11, 2009
Yesterday, I fixed a bug that looks very weird at first. In this post, I will describe the problem, the solution I found, and explain some PHP behaviors in the process.
print vs echo, which one is faster? February 04, 2009
As probably many of you, I am tired to read blog posts about non-sense
micro-optimizations like replacing print by echo, ++$i by $i++, or
double quotes by single quotes. Why? Because 99.999999% of the time, you don't
care. Why? Because 99.99% of the time, you'd better install a PHP accelerator
like APC, or add these missing indexes on some
database columns, or try to avoid those 1000 database requests per page.
Getting information from SVN with PHP February 03, 2009
Last year, I deployed a new tool to manage symfony plugins. The first goal of this tool was to simplify the process of contributing new plugins. It proved to be very successful, and I had a good feeling that the plugin creation rate was rising since then. And yesterday, I wanted to have hard numbers to back me up.
Twitto - A web framework in a tweet January 10, 2009
Some days ago, I started to use twitter. I am not sure how it will works for me, but I will try to do some experiments with it.
Jobeet: The symfony 1.2 advent calendar December 02, 2008
Just after the immediate availability of symfony 1.2, I was very proud to announce the 2008 symfony advent calendar: Jobeet.
A symfony tip: Unit test your Propel classes October 03, 2008
Learn how to easily test your Propel classes
A symfony tip: Tweak Template Names February 17, 2008
Learn how to customize the template used by your actions.
symfony 1.1 form framework and the MVC pattern January 15, 2008
In this post, I try to explain the philosophy behind the new symfony form framework and how it sticks to the MVC pattern.
A symfony tip: Customize Propel Generated SQL December 08, 2007
Learn how to customize the Propel generated SQL by executing some SQL statements after the propel-insert-sql task (propel:insert-sql in symfony 1.1).
A symfony tip: Upgrade a project running symfony 1.0 November 20, 2007
Learn how to stay up to date with the symfony 1.0 branch.
A symfony tip: "Your name here" November 08, 2007
Learn how to automatically customize the symfony generated classes author name.
A symfony tip: Rename a symfony Module November 06, 2007
Learn how to rename a symfony module step by step.
A symfony tip: Rename a symfony Application November 05, 2007
Learn how to rename a symfony application step by step.
A symfony tip: Clear the cache without the command line November 03, 2007
Learn how to clear the symfony cache without using the command line. This tip is quite useful if you only have FTP access to your production server.
Welcome to my Blog November 01, 2007
Welcome to my blog!



