Hello, I’m CakePHP user planning to switch to Yii. Recently found it and after reading some documentation I think it’s quite professional (from the architectural point of view), flexible and fast, compared to Cake
But I have some questions:
-
First, what bothers me most. As I understand the creators of Yii are the same as creators of Prado FW. What I don't realize is why to program another, second framework in the first place? You will support both projects!?
-
I don't see support for view 'helpers'. Are they called 'widgets' here or am I missing something?
-
Associations. Can we filter associated model data when retrieving associated models? I mean, can we retrieve ->post with associated comments, filtering them somehow? (CakePHP has nice behaviour for this called "containable")
-
Static pages. Let's say my project has many static pages with own directory structure which need to be simply handled by some "pages" controller… is there a built-in solution for this? Although it's not very hard to write your own pages controller for this task.
-
Does this FW have controller and model callbacks like beforeAction, beforeRender, beforeSave, afterSave, for example? It's quite useful, but not critical feature, of course.
That's all for now, thank you.