Answer the question
In order to leave comments, you need to log in
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
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/
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.
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).
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.
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
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
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.
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....
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question