Good day!
Recently mastered PHP. Now there is an order for the development of landing.
Would it be rational to use any framework like Yii or Symfony?
Or everything is written calmly in ordinary PHP
Good day!
Recently mastered PHP. Now there is an order for the development of landing.
Would it be rational to use any framework like Yii or Symfony?
Or everything is written calmly in ordinary PHP
The question gives rise to endless debates and discussions based not on knowledge, but on opinions. To get an answer, rephrase your question so that it can be given an unambiguously correct answer, or delete the question altogether. If the question can be reformulated according to the rules set out in the certificate , edit it .
It all depends on the tasks that you want to solve on the side of the backend. Most likely, all the functionality of the framework is enough for you. I worked with Yii and I know that there are already a lot of helpers in it, which allow to form beautifully dates, amounts and so on. Also, there is a functional protection against csrf and injections.
I do not see anything wrong with that in a one-page someone uses a framework to save time for development and testing. At a minimum, you will not waste time on creating the basic structure, filters and validators of incoming data (filling out forms).
If you use caching in the presence of a sample of sql, then you can easily and quickly save resources.
However, there is no point in using the framework if you write on the server side only some render ('template') and nothing else.
Source: https://ru.stackoverflow.com/questions/545168/
All Articles
JS+HTMLand noPHP. - xAqweRx