Mybb2.0 and yii
techu Offline
Member
***
Posts: 154
Joined: Sep 2010
Post: #1
Mybb2.0 and yii
Recently MYBB team posted in their blog post that the next version of mybb is being written  from scratch in a MVC method and they are using yii framework..

So what do you think about this approach?


I have started playing with yii and I found it very easy to use. It`s gii(a module that generate example code from a database table)  module is awesome. Although MVC is new to me and I also have a basic knowledge on php still I found yii to be much easier than others..

[Image: banner.png]
(This post was last modified: 06-20-2011 01:37 PM by techu.)
06-20-2011 01:27 PM
Find all posts by this user Quote this message in a reply
MattR Offline
Junior Member
**
Posts: 40
Joined: Jul 2010
Post: #2
RE: Mybb2.0 and yii
I've had a quick look at it (more used to Kohana) and it does look pretty nice. We looked at quite a few and Yii came out on top.
06-20-2011 07:40 PM
Find all posts by this user Quote this message in a reply
techu Offline
Member
***
Posts: 154
Joined: Sep 2010
Post: #3
RE: Mybb2.0 and yii
Another thing that I like about yii is Cactiveclass thingy, it is also very usefull.
I guess mybb2.0 will use jquery as yii also uses it by default.

Btw I like the current mybb theming system and I would not like to edit the view files for each theme(as it is with the default theming system in yii) while making a theme. I hope devs get us a easy theming system for 2.0.
I like the screenshots of the login page. I just hope that mybb is using a css reset this time.

[Image: banner.png]
(This post was last modified: 06-20-2011 11:09 PM by techu.)
06-20-2011 10:54 PM
Find all posts by this user Quote this message in a reply
MattR Offline
Junior Member
**
Posts: 40
Joined: Jul 2010
Post: #4
RE: Mybb2.0 and yii
(06-20-2011 10:54 PM)techu Wrote:  I guess mybb2.0 will use jquery as yii also uses it by default.

Indeed it will.

(06-20-2011 10:54 PM)techu Wrote:  Btw I like the current mybb theming system and I would not like to edit the view files for each theme(as it is with the default theming system in yii) while making a theme. I hope devs get us a easy theming system for 2.0.

I'll see to it myself that we don't make things more complicated Tongue Not that we would anyway Smile

(06-20-2011 10:54 PM)techu Wrote:  I just hope that mybb is using a css reset this time.

Yep, it does.
06-21-2011 04:07 AM
Find all posts by this user Quote this message in a reply
techu Offline
Member
***
Posts: 154
Joined: Sep 2010
Post: #5
RE: Mybb2.0 and yii
(06-21-2011 04:07 AM)MattR Wrote:  I'll see to it myself that we don't make things more complicated Tongue Not that we would anyway Smile
Thanks Matt. Smile
(06-21-2011 04:07 AM)MattR Wrote:  
(06-20-2011 10:54 PM)techu Wrote:  I just hope that mybb is using a css reset this time.
Yep, it does.
that`s great..Biggrin

[Image: banner.png]
(This post was last modified: 06-21-2011 11:43 PM by techu.)
06-21-2011 11:39 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #6
RE: Mybb2.0 and yii
Sorry for bumping this thread.

I don't know whether MyBB already decided for the framework they want to use.

I would like to ask this question (noob question):
Which is better (for forum software like MyBB, or CMS/Blog software), using a ready to use framework or creating their own framework?

05-19-2012 03:26 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #7
RE: Mybb2.0 and yii
If one can actually write a good framework, and you don't really have time constraints / don't mind wasted efforts, one would say that writing your own would most likely be better as you can tailor it a bit to the application.

But of course, redoing what's already been done is rather sucky, so unless you need something really specific, it's usually better to just use a framework for a largish system.

Downsides of frameworks would probably be that I find some things are sometimes over-engineered for what you need, which may not be too big of an issue with compiled languages, but something like PHP which has to dynamically grab everything, can have a fair impact on speed.
Sometimes they can take a fair while to learn.
You also may have issues where you want to change something slightly, but feel obliged not to modify the framework's code.  Or perhaps having too much a focus on 'good design' can sometimes strongly impact performance for some things you want to do.

My Blog
05-19-2012 12:36 PM
Find all posts by this user Quote this message in a reply
techu Offline
Member
***
Posts: 154
Joined: Sep 2010
Post: #8
RE: Mybb2.0 and yii
No doubt that using a ready to use framework reduces development time etc. It also provide all the necessary libraries for the software and then some. Mybb aims to be a lite weight forum software and the a ready to use framework like yii got lots of unnecessary stuff that mybb is ever going to use. Moreover if the framework developer drops the project then it will be hard to maintain and update the software. If the framework developers decides to rewrite the whole thing then the software based on the framework needs to be rewritten. if using a ready to use framework the application developer have less control over the codes.
IMHO no project should use too much of 3rd party stuff unless and until it is really necessary. I don't think developing their own framework is a very big job and they should use their own framework.

[Image: banner.png]
05-19-2012 12:40 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #9
RE: Mybb2.0 and yii
(05-19-2012 12:40 PM)techu Wrote:  Moreover if the framework developer drops the project then it will be hard to maintain and update the software. If the framework developers decides to rewrite the whole thing then the software based on the framework needs to be rewritten. if using a ready to use framework the application developer have less control over the codes.
IMHO no project should use too much of 3rd party stuff unless and until it is really necessary. I don't think developing their own framework is a very big job and they should use their own framework.
Largely untrue.

My Blog
05-19-2012 03:46 PM
Find all posts by this user Quote this message in a reply
adisp007 Offline
Junior Member
**
Posts: 26
Joined: Apr 2012
Post: #10
RE: Mybb2.0 and yii
IMO,framework is good for developers,but not for consumers. Smile
For example,I don't think small forum must install framework,too.Morever & as far as I know,framework uses more server resource.
So,it really will make disadvantage for consumers/forum admins.
Biggrin

Btw,will XThreads still work with Yii? I'm afraid of it. xD

Best Regards,

Adi Sucipta Pratama
06-15-2012 09:57 AM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: