So please hope this is ok, im totally new to frameworks and the learning curve can be quite steep.
I understand what I read in the guide, I get where everything goes and how it hangs together, but try to do something I can’t see an example of, and I’m struggling.
So I have a DB with table A that has a foreign key ID to table B, which has a foreign key to table C.
I can do a SELECT query with my eyes closed, but I’m trying to use the framework and I can’t figure out how I can pull out the query results in the Yii model format.
All the relationships are set up in the database, and I used Gii to generate the scaffolding, but to do more complex searches, I have no idea.
The last question is around learning this stuff - what is the best way to come to grips with this learning curve, is it just diving in and playing ? I have the book from leanpub called “Yii 2 for beginners”, but its extremely for beginners and it doesn’t do a great job of actually explaining the concepts and where everything is - any other book recommendations on Yii2 would be great (are books on Yii 1 still valid, like The Yii Book?)