📜 ⬆️ ⬇️

Symfony Live 2010. Day Two

image

The second, last day of the Symfony Live conference is over. On the second day it was much more interesting: I saw friends from the first day of the guys, talked to the topics abstract from the problem of having an incomprehensible layout on my macbook.


')
Day one .

In the first report, the OkAPI guys talked about their sfRouting improvements, dependency injection, and possible improvements to the symphony service classes. Quite a difficult report for non-users:)

image

The second report was about optimizing php-code. Xavier de Cock showed pieces of C ++ code that are responsible for the corresponding functions. It is not recommended to use functions of the form array_ * and in_array as the slowest. Dumper opcode looks very interesting.

image

Scott Chacon, the author of the Pro Git book , stunningly revealed the topic of GIT. I really wanted to read his book. He mainly talked about the ideologies and the principle of the system.

Then a guy from the states told about the integration of the Zend Framework in Symphony. The topic turned out to be quite popular, since for example, the overwhelming majority of those who used the Zendovsky library for GDLO services GData used.

image

During the break, the university pofot a little:

image

image

A guy named Marcos Labad with a terrible Spanish accent talked about building a CMS based on a symphony. The topic somehow touched me a little, I was distracted by conversations with some dude from London.

Dennis Benkert talked about the model of events in the symphony. In general, when he asked those who were present “did you use symfony events in your projects?”, Most of the guys raised their hands. The dude was upset and said that he should not have done this topic:) Ie there was raised the theme of the observatory and its implementation in a symphony.

image

image

A very interesting report was from the developer Yahoo! Dustin Whittle, who told how they sharpen symphonies for their projects. In particular, he noted that for small projects it is necessary to abandon the ORM, and for medium projects, use Doctrine.

image

Well, the most delicious was cooked in the end. Fabien talked about the second branch of symfony.

image

image

In short, the ideology is the same, the device is completely different. Another folder structure, another principle of connecting application modules: instead of plug-ins, bundles are now used, the concepts partial, slot have disappeared. Only components and templates are left. Each bundle must be registered, and not connected by autoloader. All this underlines the new course on lazy loading. All helpers also have deferred loading and are now classes. Well, of course, everything is written taking into account the new features of php 5.3, so it is laid out in name spaces.

The folder structure is completely different, ROR reminded me a lot.

Some pictures:

image

New elegant debagging panel:
image

image

image

The answer to the question of performance:
image

image

Fabien gave a link to his gitkhab repos .

The estimated release date of the second branch is the end of 2010.

image

In conclusion, a few more words about the transition to the 2nd branch. Fabien asked to use it for small projects and send feedback. The more and more the better. The version is stable, but it can change many things. 1.4 will be supported for another 3 years, unlike its previous 1.0, 1.2, 1.3, which support has been discontinued. 1.4 is the most stable version of the symphony, on which it is recommended to start projects at the moment. Well, we commit a symphony 2.0, we are not lagging behind our European colleagues :)

In Paris, 15 minutes past eleven, I didn’t translate clocks, we have 15 minutes past one in Moscow. Sooooo want to sleep. Good night, Habr :)

ps: hi for all habr from the familiar french:

image

The word "Habrahabr" he learned to pronounce:)

upd: official website of the second branch

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


All Articles