4 ms·
Yii2[0] is simple, elegant and powerful. Unfortunately it does not adhere to: > - no php code in templates But it does abstract the template/view nicely. On
by oneweekwonder 10y ago
Yii2[0] is simple, elegant and powerful. Unfortunately it does not adhere to:
> - no php code in templates
But it does abstract the template/view nicely.
On a personal note and this will most probably get me down votes. I would not recommend anyone to use PHP frameworks. But I understand real-life factors like current skill set, dev availability, etc.
[0]: https://github.com/yiisoft/yii2 https://github.com/yiisoft/yii2
- rdoherty 10y agoI agree, and I've used Laravel too. Yii is built and designed by someone who has written frameworks before and understands how to do it right. The creator wrote the Prado framework, then wrote Yii from the ground up. Laravel definitely has all the hype, but Yii has been around much longer and is better architected imho. It does have a slightly steeper learning curve and isn't as instantaneously easy to use at first, but it's worth the effort.
- emilsedgh 10y agoI would not recommend anyone to use PHP frameworks. I haven't created anything in PHP for years. However, I used to create stuff with Yii and I was pretty happy with it. My feeling was that if you use a proper framework and you're a decent programmer, PHP is actually not that bad. Why do you advise against it?