Answer the question
In order to leave comments, you need to log in
Which framework is better for a beginner, Laravel or YII?
Hello.
Not to say that I am a beginner, but I have never worked with frameworks. I always wrote everything from scratch, made my own framework, but, of course, not without holes.
Wrote projects in js, php, java.
Tell me, please, which of the frameworks is better?
Laravel or YII ?
I'm interested in:
1) The level of entry, which is easier?
2) What programming knowledge is needed? For everybody.
3) Which one is more reliable? In the plan, are there any bugs in it?
I will be grateful for any adequate answers!)
Answer the question
In order to leave comments, you need to log in
1. Yii2
2. OOP, namespaces, SQL and general common sense.
From the experience of communicating on the forums, there are two main jambs: using a framework for everything ("tell me an extension that adds 2 + 2") and overestimating the capabilities of the framework ("I want to make a social network, tell me how"). They should be avoided.
3. Available in both. Some of them just haven't been found yet. And in some, for example, they found: habrahabr.ru/post/219475
1. Laravel
2. PHP at 3, OOP at the same level. And you can write simple sites
1. All modern frameworks are good. Yii is loved in Russia and if you get a job in the future, his knowledge will be a plus. Plus there is more Russian-language information. But Laravel is much more popular abroad, there is information (in English) and, probably, there are more extensions for it in general.
2. Everyone will need general ideas about the correct architecture of the application - why interfaces, repositories, etc. are needed, understanding that MVC is not a cult. In the context of Laravel, several books and articles have been published on the subject - for example, culttt.com/code , "From apprentice to artisan" by Taylor Otwell.
3. Laravel is covered with tests, I don't know about Yii.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question