1. #21
    Sencha User
    Join Date
    Feb 2008
    Location
    Illinois
    Posts
    142
    Vote Rating
    0
    carl23934 is on a distinguished road

      0  

    Default


    I learn about the wheel. When the "wheel" consists of multiple layers, concepts, protocols and ideaologies- it's good to understand WHY things are the way they are.

    I will probably eventually move to a framework, but I haven't fleshed out my needs just yet, and I have been careful to make sure I am following the commonalities I've see in all the major frameworks so when I do want to switch it will be relatively painless.

  2. #22
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,361
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Code Igniter's active record sold me in about 5 minutes.

    I no longer have to develop really crappy Strings of SQL code. Also, I don't have to manage the code that enables me to not have to develop really crappy strings of SQL code.

    The paradigm is the same for all frameworks. Either you spend time building tools or using tools. You figure out where you want to invest your time.

  3. #23
    Sencha User
    Join Date
    Jun 2009
    Posts
    750
    Vote Rating
    0
    meroy is on a distinguished road

      0  

    Default


    Quote Originally Posted by jgarcia@tdg-i.com View Post
    Code Igniter's active record sold me in about 5 minutes.
    Have you ever looked at adodb?

    http://adodb.sourceforge.net/
    http://phplens.com/lens/adodb/docs-active-record.htm

  4. #24
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,361
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    Yes. And I believe it's much more powerful than CI's Active record implementation.

    CI provides the MVC architecture for PHP that was easy for me to learn and adopt.

  5. #25

  6. #26
    Touch Premium Member
    Join Date
    Feb 2008
    Posts
    206
    Vote Rating
    0
    BlueCamel is on a distinguished road

      0  

    Default


    Quote Originally Posted by jgarcia@tdg-i.com View Post
    Code Igniter's active record sold me in about 5 minutes.

    I no longer have to develop really crappy Strings of SQL code. Also, I don't have to manage the code that enables me to not have to develop really crappy strings of SQL code.
    Be careful with CI database. At least with the mysql and mysqli drivers, when dealing with large data sets there is no way to iterate through the data set without reading it all into an object first.

    You think next_row() would allow for this but the first call to it ended up triggering a num_rows() request causing all results to be loaded.

  7. #27
    Sencha User steffenk's Avatar
    Join Date
    Jul 2007
    Location
    Haan, Germany
    Posts
    2,664
    Vote Rating
    7
    steffenk has a spectacular aura about steffenk has a spectacular aura about steffenk has a spectacular aura about

      0  

    Default


    we use adodb together with DBAL in TYPO3. And, i have to say, the code is old and not nice. There are many bugs when it comes to oracle or postgres.
    No easy stuff at all.
    vg Steffen
    --------------------------------------
    Release Manager of TYPO3 4.5

  8. #28
    Sencha User
    Join Date
    Jun 2009
    Posts
    750
    Vote Rating
    0
    meroy is on a distinguished road

      0  

    Default


    Quote Originally Posted by steffenk View Post
    we use adodb together with DBAL in TYPO3. And, i have to say, the code is old and not nice. There are many bugs when it comes to oracle or postgres.
    No easy stuff at all.
    Thank you for your feedback.

  9. #29
    Sencha User darren's Avatar
    Join Date
    Nov 2008
    Location
    Southern California
    Posts
    90
    Vote Rating
    0
    darren is on a distinguished road

      0  

    Default


    You can combine an ORM by using DataMapper (not Ruby version) with CI as well.

  10. #30
    Ext User
    Join Date
    Jul 2010
    Posts
    1
    Vote Rating
    0
    exterese is on a distinguished road

      0  

    Default


    There is NO BEST framework. I personally now use Zend coming from Kohana 3, Kohana 2 and Code Igniter which I use 4 years ago for about 2 years. So listen...

    1. Code Igniter DOES NOT SUPPORT PHP 5 - It's life will fade out very soon. It's library and docs are all discontinued.
    All Code Igniter users must switch to Kohana 2 (made by same team as Code Igniter) at least. It will shock you to see how much better Kohana is. Moreover Kohana 2 is gonna get pushed away by Kohana 3.
    2. Kohana 3 is lightning fast, in fact, the fastest to echo 'hello world' from front controller and it is limitless and flexible.
    Disadvantages: Hardly any docs, Not thoroughly tested. Requires deeper understanding and longer structural learning curve. Kohana 3 deploys most Zend methodologies like structure where Class Model_Form_EXT is models/forms/ext.php which makes Kohana 3 look like Zend. That alone defeats the purpose of using Kohana 3. At this stage, I would be very cautious using it for big corporate projects, that's why I use old reliable Zend now which happend to be written by PHP Development team.