2012-04-15, 03:12 PM
(2012-04-15, 02:15 PM)euantor Wrote: [ -> ]but I wasn't a massive fan of the directory structure as an example
/models
/views
/controllers
that's a pretty standard structure for a Model-View-Controller framework

(2012-04-15, 02:15 PM)euantor Wrote: [ -> ]but I wasn't a massive fan of the directory structure as an example
(2012-04-15, 03:12 PM)ekerazha Wrote: [ -> ]Look at the blog demo with Yii and still saying to me that Yii it's easy....(2012-04-15, 02:15 PM)euantor Wrote: [ -> ]but I wasn't a massive fan of the directory structure as an example
/models
/views
/controllers
that's a pretty standard structure for a Model-View-Controller framework
(2012-04-15, 03:12 PM)ekerazha Wrote: [ -> ](2012-04-15, 02:15 PM)euantor Wrote: [ -> ]but I wasn't a massive fan of the directory structure as an example
/models
/views
/controllers
that's a pretty standard structure for a Model-View-Controller framework
(2012-04-15, 03:28 PM)Night Wrote: [ -> ]Look at the blog demo with Yii and still saying to me that Yii it's easy....
Just see all the code you have in the blog demo (made by the creators of Yii..) and think the horrible code will have a big forum system then...
Sorry bad english
(2012-04-15, 03:46 PM)euantor Wrote: [ -> ]You missed a few:
/protected
--/commands
--/components
--/config
--/controllers
--/data
--/extensions
--/messages
--/models
--/...
Things might have changed since I last tried it (about a year back), but I wasn't all that impressed when I did. I did vow to give it a fair try recently, but I haven't had a chance to.
(2012-04-15, 05:48 PM)ekerazha Wrote: [ -> ]I've used codeigniter, fuelphp, silex and laravel and all of them are better than Yii (including silex that is a mini-framework)...(2012-04-15, 03:28 PM)Night Wrote: [ -> ]Look at the blog demo with Yii and still saying to me that Yii it's easy....
Just see all the code you have in the blog demo (made by the creators of Yii..) and think the horrible code will have a big forum system then...
Sorry bad english
If you ever used a MVC framework that code is pretty easy to understand, if you never used a MVC framework it's just a matter of habit.
(2012-04-15, 05:57 PM)Night Wrote: [ -> ]I've used codeigniter, fuelphp, silex and laravel and all of them are better than Yii (including silex that is a mini-framework)...
(2012-04-12, 12:13 AM)Nathan Malcolm Wrote: [ -> ](2012-04-11, 11:49 PM)Gypaete Wrote: [ -> ]Seriously, I think of idiots waiting for Yii 2.0, when they can try other Frameworks and see how it goes. And we expect more ..
Who said we haven't tried any other frameworks? We didn't just randomly pick Yii...
(2012-04-12, 12:41 AM)Josh H. Wrote: [ -> ]There are times when I wish we had red rep in the MyBB community (here). The post you quoted, Nathan, was deserving.
(2012-04-12, 07:40 AM)Tomm M Wrote: [ -> ](2012-04-11, 11:49 PM)Gypaete Wrote: [ -> ]Seriously, I think of idiots waiting for Yii 2.0, when they can try other Frameworks and see how it goes. And we expect more ..
Seriously we can afford to wait as we're working on 1.8. Yii 2 is a promising framework for MyBB.
(2012-04-12, 09:45 AM)TheGarfield Wrote: [ -> ]Yii isn't that famous, I think more of Symfony or Zend framework. But then it's up to the developers.
A framework is meant to organize and simplify big tasks and projects. At the end no matter what framework you use, we will get the same results (tho, some frameworks work faster than others).
(2012-04-12, 09:56 AM)Tomm M Wrote: [ -> ]Yii isn't famous, but personally I found it a much easier transition between 1.x and 2.x than using any other framework.
(2012-04-12, 03:40 PM)Night Wrote: [ -> ](2012-04-11, 11:49 PM)Gypaete Wrote: [ -> ]Seriously, I think of idiots waiting for Yii 2.0, when they can try other Frameworks and see how it goes. And we expect more ..This is a serious conversation please, use the correct language
(2012-04-12, 09:45 AM)TheGarfield Wrote: [ -> ]Yii isn't that famous, I think more of Symfony or Zend framework. But then it's up to the developers.The problem isn't that famous is the framework, the thing is how light, clean and easy tu use it's for example, Symfony is really famous but I think if I need a VPS to develop a web page then I will never use it, the same thing with zend
A framework is meant to organize and simplify big tasks and projects. At the end no matter what framework you use, we will get the same results (tho, some frameworks work faster than others).
(2012-04-12, 09:56 AM)Tomm M Wrote: [ -> ]Yii isn't famous, but personally I found it a much easier transition between 1.x and 2.x than using any other framework.Look at my previous quote
Some code of Yii
Soo....$this->widget('zii.widgets.grid.CGridView', array( 'id'=>'user-grid', 'dataProvider'=>$model->search(), 'filter'=>$model, 'columns'=>array( 'id', 'username', 'password', 'email', array('class'=>'CButtonColumn'), )) );
(2012-04-15, 05:57 PM)Night Wrote: [ -> ](2012-04-15, 05:48 PM)ekerazha Wrote: [ -> ]I've used codeigniter, fuelphp, silex and laravel and all of them are better than Yii (including silex that is a mini-framework)...(2012-04-15, 03:28 PM)Night Wrote: [ -> ]Look at the blog demo with Yii and still saying to me that Yii it's easy....
Just see all the code you have in the blog demo (made by the creators of Yii..) and think the horrible code will have a big forum system then...
Sorry bad english
If you ever used a MVC framework that code is pretty easy to understand, if you never used a MVC framework it's just a matter of habit.
(2012-04-15, 06:54 PM)ekerazha Wrote: [ -> ](2012-04-15, 05:57 PM)Night Wrote: [ -> ]I've used codeigniter, fuelphp, silex and laravel and all of them are better than Yii (including silex that is a mini-framework)...
Arguments?
I tried many php frameworks too and Yii is my favorite one.
Some history: the creator of Yii previously created another php framework (PRADO) which was the winner of the Zend PHP5 Contest when PHP5 was released. He definitely knows what he does.
(2012-04-15, 05:48 PM)ekerazha Wrote: [ -> ](2012-04-15, 03:46 PM)euantor Wrote: [ -> ]You missed a few:
/protected
--/commands
--/components
--/config
--/controllers
--/data
--/extensions
--/messages
--/models
--/...
Things might have changed since I last tried it (about a year back), but I wasn't all that impressed when I did. I did vow to give it a fair try recently, but I haven't had a chance to.
/models /views /controllers are the main ones, other dirs are there for a good reason http://www.yiiframework.com/doc/guide/1....#directory what's wrong with this structure?
(2012-04-15, 08:08 PM)euantor Wrote: [ -> ](2012-04-15, 05:48 PM)ekerazha Wrote: [ -> ](2012-04-15, 03:46 PM)euantor Wrote: [ -> ]You missed a few:
/protected
--/commands
--/components
--/config
--/controllers
--/data
--/extensions
--/messages
--/models
--/...
Things might have changed since I last tried it (about a year back), but I wasn't all that impressed when I did. I did vow to give it a fair try recently, but I haven't had a chance to.
/models /views /controllers are the main ones, other dirs are there for a good reason http://www.yiiframework.com/doc/guide/1....#directory what's wrong with this structure?
There's nothing particularly wrong with it - I just preferred the structure of FuelPHP and CodeIgniter. As I said, I'm willing to learn Yii as it is obviously a powerful framework (one only has to look at some of the applications built on it to see that - case in point: Chive). I just need to find the time to sit down and get used to it. I'm sure Yii 2.0 will bring vast improvements too.
Also, just a friendly warning to everybody posting here: don't let this discussion get out of hand. I'm all for discussion, but let's make sure it doesn't turn into an argument as it seems it could.