Answer the question
In order to leave comments, you need to log in
How to properly organize and create a project in Symfony 3?
Good day!
Within the framework of one charitable organization, I am developing a corporate network. And just recently, I discovered the existence of frameworks, which I was very happy about. Symfony 3 has been defined as the framework . Now I am actively studying it, but the fact is that due to the abundance of information on the official website (guidebooks) and “lessons” (sometimes miserable) from different videos / articles, I am afraid to form the wrong picture for myself. The main problem is that I can’t understand “the complete scheme / cycle of development and creation of a project on Symfony”. And I will be sincerely grateful if you can shed some light on my questions.
Essence:
There are 4 typical html pages (there are more of them in the project, but these are the main ones):
Answer the question
In order to leave comments, you need to log in
Throw out the third version and install 2.8
symfony.com/doc/current/book/installation.html
Connect the base
symfony.com/doc/current/reference/configuration/do...
Further, what I will write Sergey Protko will partially approve
Connect the FOSUserBundle and read the doc .
symfony.com/doc/current/bundles/FOSUserBundle/inde...
Adding 2 roles ROLE_STUDENT and ROLE_PARTNER
Hierarchy in security.yml
ROLE_STUDENT:
ROLE_USER
ROLE_PARTNER:
ROLE_USER
/
/news
/news/{id}
/students
/students/{id}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question