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
(2012-05-03, 09:54 PM)kdevs Wrote: [ -> ]Kind of off topic, but in another thread you said there will be an API. Will this API be built in the software?

Yes.

(2012-05-03, 09:54 PM)kdevs Wrote: [ -> ]if you have planned it already, how will it hook with the templates? Functions or a template style system like it is now? (like get_header(); or {header})

That's still to be discussed.
(2012-05-03, 02:10 PM)SapporoGuy Wrote: [ -> ]...
In a sense, myBB and basically any other large script is a framework...

I've called MyBB a (type of) PHP framework several times. It's a great one for beginners to learn coding, iMO.

(2012-05-03, 09:18 AM)labrocca Wrote: [ -> ]...I know it's written with OOP in mind...

~7 or 8 years ago I resisted and put off learning CSS and valid HTML (i.e. no tables for most page layouts, etc) The older way seemed much easier, and CSS was "unnecessarily complex." Blush

Learning OOP is somewhat similar == It's the right way even if it is harder.

(2012-05-03, 09:18 AM)labrocca Wrote: [ -> ]...So much to learn.
So true. Smile
I came back from the void and was in a similar situation, cds3, html5,php5.3, jquery and mvc + oo!
Talk about waking up in a new world!

My code is cleaner and better because of these new technologies! Well, still cheat on the afmdmin side and fall back into tables but semantics can be loosely followed, not tabular data but settings that end up looking like tabular databWink plus dd and DT or forms would be pudjimg the semantics the opposite way Sad

I'm still not sold on frameworks 100% but there's not much you can do! The world has changed and the days of using php as an alternative For perl and SSI are gone. iOS and android are just an example of how far scripts have changed! Everything is an app these days. You need a library to provide functionality and need to worry about all kinds of things nobody really considered 5-6 years ago. Therr's just too much at risk to not take advantage of code that has been vetted. I'm not saying to not be creative but to be realistic and take advantage of what is available and then if there isn't anything that works, create it Smile

So, yes, something can be strange and seem like gibberish but give a try and then pooh pooh on it Smile
Hello

I am just reading this thread and I have to say I never used a PHP framework. I only did some research.

A lot of people vote for CodeIgniter and I understand. Other people say CodeIgniter is out of date.

Well, maybe you should give KohanaPHP a look. http://kohanaframework.org/
I never tried it but I heard it is an improved version of CI.

Read this for example:
http://stackoverflow.com/questions/55595...-year-2011
Or just look @ Google: http://www.google.nl/search?q=kohana+vs+...00&bih=770

Again, I am not a pro PHP user but I just saw nobody here mentioned KohanaPHP.

Shell
(2012-06-16, 01:31 PM)Shell Wrote: [ -> ]Hello

I am just reading this thread and I have to say I never used a PHP framework. I only did some research.

A lot of people vote for CodeIgniter and I understand. Other people say CodeIgniter is out of date.

Well, maybe you should give KohanaPHP a look. http://kohanaframework.org/
I never tried it but I heard it is an improved version of CI.

Read this for example:
http://stackoverflow.com/questions/55595...-year-2011
Or just look @ Google: http://www.google.nl/search?q=kohana+vs+...00&bih=770

Again, I am not a pro PHP user but I just saw nobody here mentioned KohanaPHP.

Shell

1) CodeIgniter simply sucks. It's old and almost every professional developer moved from it.
2) KohanaPHP isn't a CodeIgniter modification anymore. It has been rebuilt and now is a lot more cleaner.
3) I'm a professional KohanaPHP programmer
4) KohanaPHP has a very fast release cycle, but modifications throughout versions aren't hard to add.
I support Kohana.

EDIT: I remembered FuelPHP's docs, but Kohana doesn't seem too bad.

EDIT2: Was looking at the old (2.3) docs. The 3.0 docs suck.
Kohana is slower than Yii
Is it going to be difficult to develop plugins on top of Yii?
It'll be different, but I doubt it will be difficult. The Developers will obviously try make it as easy as they possibly can and there will doubtless be plenty of documentation and example plugins to work from.
Alright cool. It's going to be a while from now though anyway. Smile
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23