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

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.

主站蜘蛛池模板: 嘉峪关市| 威信县| 迭部县| 潜山县| 鲁山县| 忻州市| 天镇县| 南投县| 子洲县| 顺昌县| 萨嘎县| 通许县| 宝清县| 元江| 静海县| 德令哈市| 龙门县| 松滋市| 金湖县| 宁明县| 比如县| 全南县| 嵊泗县| 南漳县| 平乡县| 随州市| 平顶山市| 龙游县| 新晃| 宜州市| 汕尾市| 弥勒县| 西平县| 常宁市| 木兰县| 临泽县| 嘉定区| 织金县| 池州市| 怀集县| 景东|