Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2.0 Yii framework
#11
Kohana has imho amazing docs.
http://kohanaframework.org/3.2/guide/

Quote:You can see Yii's features and information about its performance on their website.

The Yii performance page is bullcrap.

Quote:We choose to do "Hello World" testing mainly to achieve our goal, i.e., to find out the minimal overhead of each framework.

If you read that whole section of their performance page you'll see they skewed the results. MyBB will not be a "hello world" application so there is no way to be sure that Yii would perform any better than other frameworks. When I read that page I was ticked off.

I have almost no framework experience. So I really can't say for sure one way or another if it's a good choice to go with Yii or any framework. I am however skeptical based on what I have researched. Frameworks appear to be the future of PHP applications but I'm unsure how long-term this choice is going to effect MyBB. I don't see other forum projects converting to MVC or a framework. I have questions like...will this help plugin and theme authors? Will the performance of 2.0 be increased? What problems will arise from being attached to an ever changing framework? When the framework updates will MyBB also update?

The decision to go with any framework is starting to scare the crap out of me.
Reply
#12
The performance page at Yii, I believe, pits each framework's own 'Hello World' test against each other. They were created by their own developers so it could be considered a fair test. Although, true is the case that as you develop an app the frameworks will perform differently.

Invision and vBulletin seem to manage on frameworks. xenForo is growing at lightning pace and it uses Zend. phpBB are using Symfony and I'm sure there's someone using Kohana too. So I'm not entirely sure why you're making the presumption that forum software isn't migrating in the same direction.

As for your questions, it's simply a different learning curve and would be no different as though you were starting anew. We learned how to make plugins and themes for 1.x and we'll be doing the same for 2.x. Performance should be increased, following tests it certainly seems more scalable. Being attached to a framework bears no foreseeable problems, if they release a new version we upgrade to it in a maintenance release (2.0.x) and new major versions (which typically need little adjustments) in feature releases (2.x.x). With Yii, I honestly believe there will be little fuss - it's a mature framework, well developed and easily understood.

Take a look at Yii's public releases. Nov 2010, Jan, Mar, Jun 2011 and then 1.1.8 last week. All with very easy upgrade paths that all could be done in a typical release of ours (of which we would be communicating about anyway even if you didn't follow Yii).

The decision is a very personal one and one I share with you. I love 1.6 - it works, it runs and it plays. Changing is hard but we have to move with the times. Much of 1.x was built on PHP 4 and PHP has come a long way from that - both functionally and on a performance level. It's important that not only do we take this step as a future project and brand, but to better ourselves as developers and push our learning boundaries and experience. I thoroughly believe people will be better off once they have 2.0 - if I didn't, I wouldn't be here.
Reply
#13
Quote: xenForo is growing at lightning pace and it uses Zend.

I could only find evidence they use parts of the Zend framework.
http://xenforo.com/community/threads/dev...uild.3003/

And they state this:
Quote:And we went with Zend for various reasons, but primarily because it's more of a loosely-coupled library than a framework, allowing us to pick and choose the bits we want while ignoring the rest.

My real concern is how MyBB might lose a portion of it's ability to be dynamic stand-alone product by being tied completely to a framework. This also forces plugin authors to adhere to not only MyBB but also the framework. You can read in that thread at Xenforo.

And this thread imho states the types of concerns I have as an author.
http://xenforo.com/community/threads/mis...nts.23219/

I know there are advantages to use a framework so I'm not against it. But I'm not really gung-ho for it either. I think I'm on the fence about it.

Quote: I thoroughly believe people will be better off once they have 2.0 - if I didn't, I wouldn't be here.

I do have a lot of confidence in the team and especially you.
Reply
#14
From my POV, as long as I learn Yii/OOP/MVC then I don't care a whole lot about framework or not.

Really - the worst thing that could happen is Yii stops developing (unlikely). And in that case, as has been said before, the MyBB team patches what is needed to be, and they choose a different framework for 3.0 or 4.0...

PGP Key (Fingerprint: 23B6 F4C0 FE2D 45AA 61A0 1E86 DB87 09DC DD87 6E40)
Reply
#15
There's a key point here - we gain the ability to use the power of a framework across the entire product. Where MyBB might only use A, B or C parts of Yii - a plugin developer can then come along and decide he wants to add a website front-end to his forum. They want to use M, N, O and P of Yii, and they can - or re-use A, B or C. It could be written so that it's all connected to the same database, login methods, language and theme much more easily as it is now (IMO).

The way Yii works is that it only loads the parts you need. Ultimately you only need to learn how MyBB works to create a plugin - powerful developers might want to extend the functionality further and that's where Yii can come to help.
Reply
#16
(2012-01-09, 10:50 PM)labrocca Wrote: Kohana has imho amazing docs.
http://kohanaframework.org/3.2/guide/
Kohana has less features than Yii and Kohana 2.x was usually slower than Yii. Somebody reported (in the Kohana forum) that Kohana 3.x can be slower than Kohana 2.x. Moreover, they redesigned Kohana 3.x around PHP 5.2, while the new Yii 2.0 will be designed around PHP 5.3 so it will take advantage of PHP 5.3 features like namespaces etc.

Quote:The Yii performance page is bullcrap.

It's outdated but the benchmark itself has some merits.

Quote:If you read that whole section of their performance page you'll see they skewed the results. MyBB will not be a "hello world" application so there is no way to be sure that Yii would perform any better than other frameworks. When I read that page I was ticked off.

This is what the benchmark does test

We choose to do "Hello World" testing mainly to achieve our goal, i.e., to find out the minimal overhead of each framework.

No less, no more. Obviously it doesn't test a full featured "real word" application.

Quote:I don't see other forum projects converting to MVC or a framework.
phpBB 4.0 will use Symfony 2.
Reply
#17
I read somewhere that smf may use code ignitor?
Reply
#18
Nope, SMF runs on their own codebase, but CodeIgniter powers Elis forums that power CI and Expression Engine forums.
Reply
#19
(2012-01-11, 06:20 AM)Vapor Wrote: I read somewhere that smf may use code ignitor?

That is false lol. Download CodeIgniter and just look at how it is setup and then look at SMF xD
Reply
#20
They fit together sooo well Wink
PGP Key (Fingerprint: 23B6 F4C0 FE2D 45AA 61A0 1E86 DB87 09DC DD87 6E40)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)