Fabien Potencier's Blog: Symfony Service Container: Using XML or...

Courtesy PHPDeveloper.org  Thu, 04/09/2009 - 11:06

Fabien Potencier has posted the most recent article in his "Symfony Service Container" series, a look at using XML/YAML to describe services .

Today, with the help of service loaders and dumpers, you will learn how to use XML or YAML to describe your services.

The Symfony Dependency Injection component provides helper classes that load services using "loader objects".

By default, the component comes with two of them: sfServiceContainerLoaderFileXml to load XML files, and sfServiceContainerLoaderFileYaml to load...


 

More related items

Fabien Potencier's Blog: Create your own framework......
Fabien Potencier has posted the eighth part in his "building a framework on Symfony2 components" series. So far he's created a full-featured microframework with routing, controllers, HTTP...

Fabien Potencier's Blog: Create your own...
Fabien Potencier has posted the third and fourth parts of his "Build a framework on top of Symfony2 components series to his blog: Part three adds on another page to the sample site,...

Community News: PHPBenelux 2012 Announcement -...
As is mentioned on Michelangelo van Dam's blog, the PHPBenelux conference for 2012 has been announced and tickets are now on sale. The PHPBenelux team only announced the names of tutorial...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com