I am testing an MVC
framework to use in my project and i have few questions regarding the
YII.
I have
create a model using GII, I know from java the code generation suppose to be a helper
and most of the time should not be modified, because you may want to regenrate in the
future, how is that suppose to work
here?I have created a CRUD out of the
model and it gave a nice gui for it, I want to keep the gui for the admin side but i
want to do a different one for the user side, what is the approach
here?If i am deciding to use some ORM
in my app, this means that i need to create a different model, and i see that the
current model inherits from an other one... problem?
In
generalWhich is
suppose to be faster in terms of load, CI? or
YII?correct me If i am wrong but MVC
architecture does not really gives you a way to be really OOP, like java. interfaces,
inheritance and polymorphic, it is a nice way to build a nice app quickly, not more than
that. I am saying that because your controllers and model are already inheriting some
classes.
Thanks
No comments:
Post a Comment