What kind of knowledge should start studying Yii2?

Good day!

I for some time studied PHP, but the study was not easy. Now the level is not high, even very low. In procedural php I can write some simple little website blog or online store with a Mysql database (using PDO) and simple admin.

I read a lot and realized that it is better to study some kind of framework instead of writing everything from scratch. Stopped at Yii2. With grief in half was able to install it on OpenServer via Composer(Which is also established with grief in half).

Opened the official documentation and in a stupor. I like so many things learned, and everything a dark forest. Don't understand how it all works. Do not understand, can not really move.

Tell me where I missed some step? What I ought to study before getting acquainted with Yii2? It's hard for me to evaluate myself because I don't understand where is the difference to my knowledge and the knowledge required to work with Yii2.
July 8th 19 at 16:44
4 answers
July 8th 19 at 16:46
Teach:
1 - OOP in php.
2 - MVC patern.
In General, I suggest you to start with Laravel. He's the Doc for clearer documented in contrast to Yii and code less.
Here to whom that is, I find it easier with the yii was. Seemed more logical. I think we should take both, to try what will go - the and to continue. In any case, they are similar and that the 2 most popular framework. - Henderson_Beat commented on July 8th 19 at 16:49
: "... it is the 2 most popular framework." But what about Symfony? - enoch.Cremin commented on July 8th 19 at 16:52
: Much harder to start, so lowered. Sorry if offended anyone - Henderson_Beat commented on July 8th 19 at 16:55
: "It is much harder to start". I agree, but then you have to offer codeigniter. - enoch.Cremin commented on July 8th 19 at 16:58
: codeigniter is too simple and too old. Why? YII2 in my subjective opinion very easy to learn. Basic things to understand is not more complex than codeigniter, but there is much to develop. - Henderson_Beat commented on July 8th 19 at 17:01
: Laravel - chick the Golden mean. - brook.Dare commented on July 8th 19 at 17:04
: Why? Yes, because have too little knowledge even for yii2. But with codeigniter you can start: there is almost nothing but mvc and it can be easy to learn the basics of OOP and mvc. I understand that is too old, but for learning, it fits like nothing else. - enoch.Cremin commented on July 8th 19 at 17:07
: Then that chance is higher to find a job for juna under those frameworks( in the future). - brook.Dare commented on July 8th 19 at 17:10
Did you read that the author wrote about himself "Now the level is not high, even very low.". Now writes on a procedural, and you give him a hefty shove frameworks, not only mvc, but also with ORM, the templating systems, routers and other wild things for a beginner. - enoch.Cremin commented on July 8th 19 at 17:13
: Golden words. codeigniter, and unemployment are synonymous, why teach something that is not in demand? I for example got into codeigniter, only because I was a permanent client which has on it 2 website and needed support. And once again, codeigniter is not simple to explore, it is in principle simple. As yii and Laravel offers almost limitless possibilities, but have a number of basic things to learn as fast as codeigniter. - Henderson_Beat commented on July 8th 19 at 17:16
Brad, personally, I myself started with Yii1 and then the second and then Laravel. And that the rules, advice is given on his personal experience. From Yii is not ice dock well, if not use git-chabovskii type https://github.com/yiisoft/yii2/blob/master/docs/g... - brook.Dare commented on July 8th 19 at 17:19
: : not going to argue with you. Everyone advises that he loves, I alone suggest where the real start. Where did you see that the author is looking for a job? - enoch.Cremin commented on July 8th 19 at 17:22
: well, at you have about freelancing. It can be taught. - brook.Dare commented on July 8th 19 at 17:25
: ( in the future ) - brook.Dare commented on July 8th 19 at 17:28
: "well, at you have about freelancing. It can be taught." - in my opinion should be taught constantly and the more the better, regardless of "freelance or not." - Henderson_Beat commented on July 8th 19 at 17:31
July 8th 19 at 16:48
To start learning PHP on the fly with frameworks is a bad idea. You won't understand. First invent your bikes, modify, delete, create them again, finished, etc. Start with the essential:
Queries to the database wrapper for PDO, triggers, foreign keys, search indexes, etc.
Shape of the escaping of quotes, the HTML filter, etc.
- Data validation, including to reduce the number of repeat code
- Caching (code snippets, queries), the use of tags in the cache
- Routing all requests through a index.php (how and why)
All kinds of helpers (for all occasions)
- MVC - custom implementation
- Traits, abstract classes, interfaces, namespaces, various kinds of methods, class inheritance, etc.
After you anywhere in your code, you will be able to pile up anything from this collection go and download a popular and well-documented framework and start writing. If you immediately begin to delve into someone else's code - so your bike was close to the truth.
July 8th 19 at 16:50
With such knowledge, start with CodeIgniter https://www.codeigniter.com/
July 8th 19 at 16:52
To me this is a video liked!
This is the point? - Henderson_Beat commented on July 8th 19 at 16:55
If the words "yii2" and "learning", then the link should be not on video, and entire blog Eliseeva. Great guy in terms of solutions, but is not able to explain, and to speak as a whole. - enoch.Cremin commented on July 8th 19 at 16:58
Well, I mean the blog in General, underneath the video there are links to examples on GitHub. - Henderson_Beat commented on July 8th 19 at 17:01

Find more questions by tags PHPProgrammingYii