官术网_书友最值得收藏!

The history of Symfony

There are many Symfony versions around, and it's good to know the differences between them to learn how the framework was evolving during these years. The first stable Symfony version — 1.0 — was released in the beginning of 2007 and was supported for three years. In mid-2008, version 1.1 was presented, which wasn't compatible with the previous release, and it was difficult to upgrade any old project to this.

Symfony 1.2 version was released shortly after this, at the end of 2008. Migrating between these versions was much easier, and there were no dramatic changes in the structure. The final versions of Symfony 1's legacy family was released nearly one year later. Simultaneously, there were two version releases, 1.3 and 1.4. Both were identical, but Symfony 1.4 did not have deprecated features, and it was recommended to start new projects with it. Version 1.4 had 3 years of support.

If you look into the code, version 1.x was very different from version 2. The company that was behind Symfony (the French company, SensioLabs) made a bold move and decided to rewrite the whole framework from scratch.

The first release of Symfony2 wasn't perfect, but it was very promising. It relied on Git submodules (the composer did not exist back then). The 2.1 and 2.2 versions were closer to the one we use now, although it required a lot of effort to migrate to the upper level. Finally, the Symfony 2.3 was released — the first long-term support version within the 2.x branch. After this version, the changes provided within the next major versions (2.4, 2.5, and 2.6) are not so drastic and usually they do not break compatibility.

Note

This book was written based on the latest stable Symfony 2.7.4 version and was tested with PHP 5.5). This Symfony version is marked as the so called long-term support version, and updates for it will be released for 3 years since the first 2.7 version release.

主站蜘蛛池模板: 新昌县| 大同市| 苏尼特左旗| 襄城县| 扎赉特旗| 镇康县| 北京市| 德庆县| 建湖县| 桂平市| 额敏县| 林甸县| 黄梅县| 贵南县| 东丰县| 临桂县| 肃宁县| 华宁县| 吐鲁番市| 清徐县| 新营市| 宝鸡市| 贡山| 凤城市| 海伦市| 多伦县| 仙居县| 威海市| 都兰县| 中江县| 凤凰县| 石城县| 科技| 多伦县| 泸水县| 黔西县| 南安市| 苏尼特右旗| 武强县| 申扎县| 牡丹江市|