A
A
Alexander Vladimirovich2017-02-09 14:50:20
symfony
Alexander Vladimirovich, 2017-02-09 14:50:20

Where to start when learning symfony from scratch?

Faced with the fact that the project must be done in symfony.
Before that, I wrote only in pure php for more than 10 years. How and where to start?
Does it make sense to study 2, or just 3?

Answer the question

In order to leave comments, you need to log in

10 answer(s)
F
FanatPHP, 2017-02-09
@FanatPHP

Definitely start with this text: Symfony2 versus pure PHP (translated from here ), which literally describes your situation.
It is better to study 3 at once, but in the absence of a rich selection of materials, you will have to make do with what you have.
For example, there is a series of posts on Habré, https://habrahabr.ru/post/301760/

A
alex_dm, 2017-02-16
@alex_dm

The best place to start is here:
https://knpuniversity.com/tracks/symfony
the first course is free, if you like it, access to the rest is $24/month.

S
Sergeyj, 2017-02-09
@sayber

If with OOP on you problems should not arise.
First you need to understand the symphony architecture itself.
Next, move on to the packages that are included in it.
In particular, Symfony\Component\HttpFoundation, Doctrine, Yml, Twig
Services, what they are and what they eat with.
Creation of custom requests for api.
80% of the information is in the documentation, the rest is in Google.
Fortunately, there is a lot of information in the search engine on any topic regarding the symphony.
I would also decide how you are going to do the project.
SPA / Rest API or all in a bunch according to the classic symphony scheme (controller-> method-> service-> response-> twig).

P
pashalim, 2017-02-16
@pashalim

Not so long ago I came across the official Symfony demo application: symfony.com/blog/symfony-demo-1-0-0-released It was interesting to look at the practices of the developers themselves.

V
Vladimir Antoshchenko, 2017-02-16
@antoscenco-vladimir

I started by translating articles , you can read it if you are interested. Symfony has good documentation, if there is some specific task, then in Google you can find answers to almost all questions + a bunch of videos on youtube and of course you need to learn Doctrine more. The differences between versions 2 and 3 are minor, pay attention to bundle compatibility with your version of Symfony. Good luck

V
Vladimir Luchaninov, 2018-02-28
@how

The official Symfony documentation is very good.
If it is difficult to read in English, here is a translation into Russian
https://symfony.com.ua

V
Vadim, 2017-02-16
@kylt_lichnosti

Read the doc on the site.
A series of articles has recently been published on Habré - how to make a blog on a simf, I think it will be useful.
I started studying with 2.7 or 2.8, then when switching to 3, little has changed, the structure is a little bit.

A
Alexander Vladimirovich, 2018-07-17
@polyanin

I found something interesting here, it may be useful
https://stingmu.gitbooks.io/symfony-3/content/inde...
https://legacy.gitbook.com/book/stingmu/symfony-3/...
symfony-docs -en.readthedocs.io/en/latest/doctrine....

S
shagguboy, 2017-02-10
@shagguboy

write a site on symphony. blog/shop

W
wdfk, 2018-07-27
@wdfk

Video courses (English):
- https://coursehunters.net/course/knp-symfony3
- https://knpuniversity.com/screencast/symfony

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question