Some thourghts about Yii

Hi

I have been using Prado for a few years and spend a lot of time and some money on Prado based projects, and is therefore a little sad to figure out that Prado is more or less dead - I know that Qiang have promised to fix issues, but as we can see the 3.1.3 release is late with no new release date.

I also welcome Yii, as it seems to do a pretty good job - So far…

As shown the performance is 'better' than other MVC frameworks, but how does Yii compare feature by feature and what is the advantage of Yii?

Why using Yii instead of other MVC frameworks?

Is there a feature by feature comparison e.g Zend have ACL Yii don't.

And also very important: Will the developers behind Yii abandon ship as with Prado ?

Br

Steen

Just a comment or two

The developers behind prado did not abandon it, they brought it as far as they could but they also went one step further. They realized there is a series of flaws in prado, not programming issues but functional issues (for example prado only allows one form per page). The Yii framework addresses those issues, it has its grassroots in prado (much of your base classes are still there simply prefixed with a "C" now)

Qiang also promised to continue maintaining Prado the only thing he suggests is that any new functionality will be introduced into the Yii framework and may not be backported to prado. He wrote a really nice email on the prado forum detailing this (http://www.pradosoft.com/forum/index.php/topic,11022.0.html).

As far as features did you checkout the list at http://www.yiiframework.com/features/ ? You will find that Yii does support RBAC.

Regarding choosing Yii over other frameworks I would think the major benefits would be similar to prado. Well documented with samples, widget based,  multiple database support through PDO, fully Object Oriented etc etc, whats new of course is speed, JQuery, multiple forms.

I too have a large project written in prado, I will continue to maintain it using prado. I dont feel abandoned, I feel empowered to have something that is more flexible then Prado but is not totally foreign either. My next project will be Yii based (Actually I had started it in prado but I had just the active records written so those are easy enough to convert)

Will the Yii framework live forever ? That is every developers dream but everyone knows there is always something new on the horizon.

NZ

Quote

As far as features did you checkout the list at http://www.yiiframework.com/features/ ? You will find that Yii does support RBAC.

Please correct me if I’m wrong, but the RBAC in Yii is pretty much the same as In Prado and does ‘only’ provide simple - more or less - one role to one level of access, it’s not possible to inherit or create a hierarchy of roles/resource access, as with Zend or other ACL implementation.  Have a look on the definition on RBAC http://en.wikipedia…_access_control  :)

Quote

Please correct me if I'm wrong, but the RBAC in Yii is pretty much the same as In Prado and does 'only' provide simple - more or less - one role to one level of access, it's not possible to inherit or create a hierarchy of roles/resource access, as with Zend or other ACL implementation. 

Have a look at http://www.yiiframew…sics.controller you can define filters based on actions (or even define your own filtering mechanism). This is quite a bit more powerful then the prado framework was.

z

Yes, RBAC in Yii is the same as in Prado, with some minor improvements only. notzippy is also right that you can use more powerful filters to plugin your own RBAC logic if any.

I will consider implementing RBAC that supports inheritance. Thanks.

Quaing,

Has RBAC in Yii been updated since this post was made?  I just read through it and it seems to have a better features than Prado / .NET

Yes, RBAC in Yii is new, different from that in PRADO (PRADO doesn't really have RBAC).