ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

We challenge you to find a framework that has better performance than CodeIgniter.

December 23, 2010 7:21pm

Subscribe [15]
  • #16 / Dec 27, 2010 7:22pm

    VicToMeyeZR

    14 posts

    And again, if i can write a single line of code that will generate me an entire module skeleton or if i do a click getting same result, then i need to wait for you to copy/paste or hand write in couple of minutes what i just did in 1 second . So, make a sum out of this, and i believe in an entire year, i am ahead of you with a few more projects, so it is a win or not ?

    Also, doesn’t mean I wont look at it either.  I have an open mind, I just haven’t found on yet, that I liked…

  • #17 / Dec 27, 2010 7:25pm

    Twisted1919

    500 posts

    You will see that when you have many projects on your hands and there are a lot of people rely on you to finish them on time, every second matters .

    I don’t try to convince anybody, you see , i am still on this forum, meaning that CI has something that i like too, but hell i like playing with many things at once 😉

  • #18 / Dec 27, 2010 7:54pm

    Evollution

    59 posts

    Twisted1919 and what you dont like on CI

  • #19 / Dec 27, 2010 9:27pm

    Twisted1919

    500 posts

    Twisted1919 and what you dont like on CI

    I could write you a full page about, but as every framework has it’s up and downs and when you choose to use it, somehow you accept them, even if you are a newbie and you don’t know them, even if you are a pro and you will find workarounds.

    Anyway, everyone is free to do what they want, if you don’t like CI, you can move to something else when you want, of course this is a frustrating action after you spent almost 2 years with CI and all your large projects(more than 50) are written in CI and you are forced to stay with CI on most of them, because you don’t have time to rewrite them all. Even if, overall, i had my good times with CI (still have) , if i were a newbie again, i would think twice before choosing it, that’s the hard truth.

    One thing that rocks on CI is… well… US, the community.
    This amazing community kept the things work as they should, but there is a time, when the people who run these forums should do more, and i have a bad feeling that, that time won’t be too soon .

  • #20 / Dec 28, 2010 3:35am

    SPeed_FANat1c

    260 posts

    7) Transactions that works (In CI, that’s something that doesn’t work)

    What do you mean,

    $this->db->trans_start();
    $this->db->query('AN SQL QUERY…');
    $this->db->query('ANOTHER QUERY…');
    $this->db->query('AND YET ANOTHER QUERY…');
    $this->db->trans_complete();

    You mean if one query fails others are not rolled back?

  • #21 / Dec 28, 2010 5:15am

    Evollution

    59 posts

    Twisted1919..I wanted to do the project by Yii, but it is very difficult to understand how it works for a beginner .. that’s why I decided to start with CI, besides the fact it is easy to use, has many extensions and active community

  • #22 / Dec 28, 2010 8:29am

    moodh

    94 posts

    I smell fanboi.

  • #23 / Dec 28, 2010 9:12am

    Twisted1919

    500 posts

    @SPeed_FANat1c - yes, the transactions won’t rollback.
    @Evollution - you made a good decision as a beginer, go for it and when you will understand more, you can digg in something else if you feel the need.
    @narcisha - hmm, somehow, i don’t care what you “smell” 😊

  • #24 / Dec 28, 2010 10:04am

    phpserver

    149 posts

    Dear ignitee god of clean code,if this debate drags on to 2011,may all our camels have 3 short legs.

  • #25 / Dec 28, 2010 10:44am

    mdvaldosta

    53 posts

    This whole thread sounds like a Yii advertisement.

    You know what’s faster than all these frameworks? Plain old php. While we’re at it, why don’t you just write your code in C, or assembler since that’ll be even faster. No wait, you wanted code that’s already written for you, to do some automagic things that doesn’t really take a developer to do. Well, in that case, why don’t you just use Wordpress, or Drupal, or EE blah blah blah.

    I think I can speak for many of us when I say that we like CodeIgniter, which is why we’re here. We want it to be the best it can be, so that our jobs are easier. I don’t want continuous changes, because then I worry about my old code needing changes. I just want a reliable, predictable and easy to use framework that I can count on years down the road. I want improvements in methods if there is a better way, but I don’t want features plugged in just for the sake of saying you can do more than framework “B” without having to know how it works.

    I don’t want to switch to another framework, I want this framework to be the best that it can be. It’s not for everybody, obviously, which is why there are many others. If you can offer suggestions to help CI get better, then great. Contribute to the new Community Edition or whatever it’s going to be called. But, attempting to take talented developers with you to yet another framework (which is what you’re trying to do) is counterproductive to the rest of our community here. Frankly, I’m surprised the staff here lets this go on, which is yet another reason I prefer to stay here.

  • #26 / Dec 28, 2010 11:08am

    Phil Sturgeon

    2889 posts

    This whole thread sounds like a Yii advertisement.

    Agreed. This is just flame-bait idiocy.

    To put a few issues to bed:

    1) Themes support - I like having a theme for admin panel and one or more for frontend.

    CodeIgniter has never been about conventions. If you want themes, use a template library. There are lots.

    2) Native HMVC - Well, i cannot create a project without modules. Sure, CI has HMVC but is not in the core

    I NEVER use HMVC. I sometimes use modular MVC, but not always. I’m rather glad this is not in the core.

    4) A reliable session class

    Never had a problem with the. There is an obscure AJAX issue that WanWizard is helping to fix in Reactor.

    5) Cache using file/apc/db etc

    Watch this space, Reactor will almost definitely have a driver-based Cache library.

    6) A true Active Record class (CI’s AR is actually a query builder not Active Record perse)

    Most people are fine with the query builder. It is a simple, lightweight way to construct queries without using native SQL. If you want a full blown ORM (which most people do not) they are all available.

    7) Transactions that works (In CI, that’s something that doesn’t work)

    Never had a problem.

    8) Support for $_GET

    Put that into Reactor yesterday.

    9) Assets manager

    Um…

    <?php img('img/logo.gif'); ?>

    10) The validation classes are just great, something like CI does, but in a smoother and extensible way.

    What is not extensible about MY_Form_validation.php?

    On the whole I think this was a badly drawn up list. Yii works fine, but it is not better than CodeIgniter just because it has a few readily available features.

    Those features that the CodeIgniter community feels is missing such as a Cache lib and GET support is already done and will be in Reactor, so CI still wins for me.

  • #27 / Dec 28, 2010 12:10pm

    Twisted1919

    500 posts

    Those features that the CodeIgniter community feels is missing such as a Cache lib and GET support is already done and will be in Reactor, so CI still wins for me.

    The question is, when ? When can i have a copy of CI that supports what you’ve just said ? How long should i/we wait for that ?

    Seems like i am the bad guy here, no problem, i like this, i don’t try to start any kind of war/flame but i just assume people don’t like the truth and i am just saying my point of view, which i earned in the time i spent on these forums .

    Till this moment, i don’t see nothing else than plain promises and nothing more.

  • #28 / Dec 28, 2010 12:58pm

    Bart v B

    227 posts

    @Twisted1919

    Seems like i am the bad guy here, no problem, i like this, i don’t try to start any kind of war/flame but i just assume people don’t like the truth and i am just saying my point of view, which i earned in the time i spent on these forums .

    No, you fell into a lion’s den. 😉

    I understand your problem.
    CI has the benefit that it is simple, a large community and has a good manual.
    You miss some things, but is not an argument and then to another framework to use.
    Or of trying to convince one another better framework

    I have the idea that you want to make your point you’re missing.
    There are so many topics about which you do not need to start a new topic.

    The argument that YII much better that I do not understand.
    If I choose a framework, a framework I choose what best suits the application to be written.
    Not because you’re missing anything. We call up the advantages against the disadvantages.
    Something you should determine in advance. not afterwards.
    Then you have not done the planning.
    Of course it is good to want something else to try, but any framework you will miss something or see something different.
    This will always remain so.

    But here I have the idea that you are the developers of a CI will give some push to hurry because you miss things.

    Do not get me wrong, I mean it all in a positive mind, of course.

  • #29 / Dec 28, 2010 1:03pm

    Phil Sturgeon

    2889 posts

    This amazing community kept the things work as they should, but there is a time, when the people who run these forums should do more, and i have a bad feeling that, that time won’t be too soon .

    You have heard of CodeIgniter Reactor right?

    Till this moment, i don’t see nothing else than plain promises and nothing more.

    We are working in a private repository until January, it’s all stated in this news article:

    http://codeigniter.com/news/reactor_update/

    The main thing to remember is CodeIgniter is easy to learn and uses as few conventions as possible. That is the reason I have loved it even while using Rails, as most of the time I like being able to configure my own conventions and not have somebody else force their own down my throat.

    The trouble with many of these frameworks is the developer thinks “Hey, my way is pretty good” so he implements his template library or his asset library into the core. Then everyone else has to learn how to use his asset library instead of thinking “maybe I should do it this way instead”. Conventions get in the way and make a framework difficult to work with, even if it does speed things up once you know them.

    Use CodeIgniter, configure your own conventions, get on with making stuff 😊

  • #30 / Dec 28, 2010 1:26pm

    Rolly1971

    144 posts

    i hate threads that are nothing but flame wars trying to happen, and normally i do not even entertain them but this time i feel compelled.

    When i was looking to get serious about getting into PHP development i tried dozens of Frameworks, Zend, Yii, Kohana, and others. But then i found CI and that was the end of that journey

    Native HMVC - tried it, did not like it. Ultimately went with a Modular MVC system created by WanWizard of the ExciteCMS team. Glad HMVC is not part of the core.

    Cache lib - hmmm, not gonna touch this one.

    AR - I love CI’s AR. easy to use, easy to learn, easy to extend.

    Session Class - Never had an issue.

    Theme support - CI’s Templating parser is simplistic yes, but this is great, it does not take allot to extend this into a full theme system. I did it in about 10 minutes of code writing and that includes unique themes for front end and admin end. If you want a more robust templating library look around CI site, there are some great lib’s available.

    —-
    Is CI perfect? no it is not.
    Is it the best? for me it is, for others maybe not so much. One can only answer this question from their own personal opinion. Ok, you like Yii, I like CI. If you hate CI that much why bother coming here to start a flame bashing session about both. Why are you trying so hard to piss people off by trying to shove Yii down our throats? Don’t like CI? leave.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases