📜 ⬆️ ⬇️

Fabien introduced symfony components

Everyone knows that symfony consists of a set of classes that work together but are separated from each other. Each of them can be used separately. For example, in your non-symfony project, you can use libraries to work with YAML or routing. In fact, YAML classes are actively used by such projects as Doctrene and PHPUnit, and pookey.co.uk has published an interesting article on the use of routing classes.

However, up to this point, such attention was not paid to the use of classes, and very few people did. We decided that many libraries deserve more attention and decided to publish them separately in a project called Symfony Components .


')
We are not going to copy already existing classes and we will include in the Symfony Components only unique libraries that do not have worthy competitors.

Symfony components will be hosted in the main symfony repository: svn.symfony-project.com/components .

The first library hosted by symfony components is YAML. sfYAML is currently the only PHP library that works with YAML and almost fully supports the YAML 1.1 specification.

The next library will be “Dependency Injection Containe”, which will be actively used in Symfony 2. More information on it can be found in my blog.

Next, we plan to release the templating library that will be actively used in Symfony 2 and the basis of Symfony 2 is the sfRequestHandler class.

PS: in comments to this post it is mentioned that sfForm will also be released as a component.

Source: https://habr.com/ru/post/55996/


All Articles