Welcome Guest, Not a member yet? Register   Sign In
We challenge you to find a framework that has better performance than CodeIgniter.
#1

[eluser]Evollution[/eluser]
i think yii is faster )
#2

[eluser]WanWizard[/eluser]
What benchmark should be used to define 'better'?
#3

[eluser]skimmas[/eluser]
If we find a framework that does very little it will probably be faster... but that's not the reason people use frameworks. Smile
#4

[eluser]Twisted1919[/eluser]
Yii really beats CI in all aspects.
But the most important aspect that makes Yii so great is that the DEV team really listens to user opinion when new features are requested.

Yii memory usage is bigger than CI's but the execution time is less.
I know this because i just rewrite a huge CI written site in Yii. But, YII comes with so many features(events,behaviours,native hmvc,,auth,rbac,etc) and makes use of all php goodies in a nice manner.

When CI will be able to do what Yii does now(after a few years in my opinion) it will be too late .
#5

[eluser]mdvaldosta[/eluser]
Having the most features doesn't make something "best" - it's a framework afterall, not a house. Besides, I'd wait for the community version release before I'd run off to another flashy framework.
#6

[eluser]Twisted1919[/eluser]
[quote author="mdvaldosta" date="1293184773"]Having the most features doesn't make something "best" - it's a framework afterall, not a house. Besides, I'd wait for the community version release before I'd run off to another flashy framework.[/quote]
Please, don't talk unless you tried and understood both frameworks .
#7

[eluser]nZac[/eluser]
Who is "we", and define "better". More features, faster, easier to develop with, documentation, community support... a lot goes into a framework.
#8

[eluser]skunkbad[/eluser]
I took a look at the Yii website and was looking for good CI type documentation, but didn't find any. Did I miss it? The reason I became a CI user was because it had decent documentation. That means a lot to me.

As a side note, I see people in the Yii forum that left Yii for other frameworks.

At this point, I just ask myself why would I change? I can do what I need to do with CI, and I've got some great code for making websites super fast. I actually do this for money, so wasting time learning something I really don't need doesn't make any sense. I haven't had a customer yet that said their site seemed slow.
#9

[eluser]Twisted1919[/eluser]
Yii's documentation is not like you are used to on CI, but every method in class is very well explained,
you can start from here: http://www.yiiframework.com/doc/guide/ and of course you have all the class reference here: http://www.yiiframework.com/doc/api/
Now, i will give you a few reasons( that really matters )why you can go with Yii over CI. Don't get me wrong, i still develop with CI on some projects, because, well CI is what i know best, still learning Yii.
1) Themes support - I like having a theme for admin panel and one or more for frontend.
2) Native HMVC - Well, i cannot create a project without modules. Sure, CI has HMVC but is not in the core
3) Authentication and extensible RBAC - CI doesn't have either of those.
4) A reliable session class
5) Cache using file/apc/db etc
6) A true Active Record class (CI's AR is actually a query builder not Active Record perse)
7) Transactions that works (In CI, that's something that doesn't work)
8) Support for $_GET and the way Yii let's you define the routes using $_GET is just great.
9) Assets manager
10) The validation classes are just great, something like CI does, but in a smoother and extensible way.

You say that people left Yii for other frameworks, well, isn't this normal ?
I mean, this happens a lot to any other framework. If you have in mind how many people left CI because it's support for $_GET only then this won't be a mistery anymore.

The only reason that for one is hard to move to other framework is that, like in my case, i had customized everything using CI so rewriting the code for other framework required some work and time, and i know, we don't have enough time because me, like you, i am doing this for money.

It's not a bad idea to have your eyes open to alternatives in the web dev world.
#10

[eluser]skunkbad[/eluser]
[quote author="Twisted1919" date="1293320032"]
It's not a bad idea to have your eyes open to alternatives in the web dev world.[/quote]

My first framework was my own, then Kohana. Having been a Kohana user, and having decided to move to CI, I do know the value of alternatives. I'll probably fiddle with Yii, and ya never know, I might just be the next Yii enthusiast. Actually, as pathetic as it may seem, I've been getting more and more into Wordpress lately...




Theme © iAndrew 2016 - Forum software by © MyBB