MyBB Community Forums

Full Version: Yii framework
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
We're still looking at and considering frameworks. Currently 1.8 is the main focus and we're waiting to see how Yii 2.0 turns out as stated earlier.

Personally, I'm a fan of Laravel though I really don't think we should use it for MyBB 2.0. Laravel 4 is close-ish and is a drastic change - just as L1 -> L2 -> L3 was. It's also not backed by any big company (such as Ellis Lab with CI) and as such could cease development at any time - possibly well before the end of MyBB 2.0's lifetime.

Choosing a framework for a large project such as MyBB is no easy task by any stretch of the imagination.
Laravel and Lithium are frameworks we are looking at for the moment as alternatives to Yii; but actually starting 2.0's development cycle is way off and we have plenty of time to gauge options.
(2012-08-29, 08:01 AM)Tomm M Wrote: [ -> ]Laravel and Lithium are frameworks we are looking at for the moment as alternatives to Yii; but actually starting 2.0's development cycle is way off and we have plenty of time to gauge options.

Laravel looks nice but I didn't find things like

Fragment caching: http://www.yiiframework.com/doc/guide/1....g.fragment

Page caching: http://www.yiiframework.com/doc/guide/1....ching.page

etc.

It only has data caching: http://laravel.com/docs/cache/usage
The thing about Laravel though is that things like the Cache class are so easily extensible that you can easily use it to do both of those things. Combine it with event listeners and you can easily create an automatic page cache or whatever with little issue.
Yeah, you can do everything.

You can also develop a HTTP caching module.

You can also develop a RBAC auth system because Laravel doesn't have it built-in (there's a bundle developed by an user: http://bundles.laravel.com/bundle/authority ).

This is the Yii implementation: http://www.yiiframework.com/doc/guide/1....opics.auth (look at the code, it's light-year cleaner)

Substantially, you can also develop a framework from the ground up Smile
I'm actually using Laravel at the minute for a fairly substantial project Wink I really don't think it's suited to MyBB 2.0 at all though. I'd far rather go with something a little more full featured such as FuelPHP or choose something light and build on it such as Slim.
(2012-08-29, 08:01 AM)Tomm M Wrote: [ -> ]Laravel and Lithium are frameworks we are looking at for the moment as alternatives to Yii; but actually starting 2.0's development cycle is way off and we have plenty of time to gauge options.

I am really liking the look of what Laravel 4 is going to be https://github.com/illuminate
A lot of frameworks are going the same way though. Modularity is the way forward.
Make your own framework, I know it's not as easy as it sounds, but then you can go into more detail and custom functions etc.
And develop it
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23