Part of the EllisLab Network
   
1 of 8
1
CodeIgniter vs. CakePHP
Posted: 02 June 2006 08:13 PM   [ Ignore ]  
Summer Student
Total Posts:  12
Joined  04-01-2006

Hi,

I don’t want this to start into a Framework war, but I simply want to know: what’s the difference between CodeIgniter and CakePHP? Where/when does CodeIgniter shine? When/where does CakePHP shine?

I’m not here to advertise CakePHP or whatever…. I’m simply looking for facts. I’ve been playing around with both, but, I’m like, “Umm… CodeIgniter has way more features, helpers, and overall ease of use. Wtf?”. I was trying to read the documentation in Cake… once again, I was like “Errr… huh?” They were explaining like as if I was a Cake developer. They explain everything horribly, it’s just… bad. Now, I’m just wondering, where’s the competition?

Thanks in advance!

 Signature 

raymond nuñez | excommunity | windows/ubuntu | codeigniter 1.3.3

Profile
 
 
Posted: 02 June 2006 09:55 PM   [ Ignore ]   [ # 1 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  5931
Joined  11-23-2003

Use the one that you can figure out how to do something with.  The less time you spend figuring out the framework, the more time you can spend coding.

I am not sure what the difference is.  You would have to try both to see which one is better for you.

 Signature 

WebmasterBasic: Rent a Webmaster | EE 2.0:  A designers dream becomes a developers dream | Follow me on Twitter.

Profile
 
 
Posted: 02 June 2006 10:10 PM   [ Ignore ]   [ # 2 ]  
Grad Student
Rank
Total Posts:  42
Joined  03-22-2006
exaulz - 02 June 2006 08:13 PM

Hi,

I don’t want this to start into a Framework war, but I simply want to know: what’s the difference between CodeIgniter and CakePHP? Where/when does CodeIgniter shine? When/where does CakePHP shine?

I’m not here to advertise CakePHP or whatever…. I’m simply looking for facts. I’ve been playing around with both, but, I’m like, “Umm… CodeIgniter has way more features, helpers, and overall ease of use. Wtf?”. I was trying to read the documentation in Cake… once again, I was like “Errr… huh?” They were explaining like as if I was a Cake developer. They explain everything horribly, it’s just… bad. Now, I’m just wondering, where’s the competition?

Thanks in advance!

When CakePHP 1.0 was released, I went and checked out their docs and thought the same thing.

What CI is today and coupled with the fact that it seems to be a one man team is very impressive.

Alex

Profile
 
 
Posted: 02 June 2006 10:14 PM   [ Ignore ]   [ # 3 ]  
Summer Student
Total Posts:  12
Joined  04-01-2006
manofsteel - 02 June 2006 09:55 PM

Use the one that you can figure out how to do something with.  The less time you spend figuring out the framework, the more time you can spend coding.

I am not sure what the difference is.  You would have to try both to see which one is better for you.

Well, yeah, of course, I chose CodeIgniter, but I’m just wondering: why would someone go to a product that is (both are free) bare-bones MVC?

 Signature 

raymond nuñez | excommunity | windows/ubuntu | codeigniter 1.3.3

Profile
 
 
Posted: 02 June 2006 10:35 PM   [ Ignore ]   [ # 4 ]  
Grad Student
Avatar
Rank
Total Posts:  75
Joined  03-06-2006

For me personally, I had problems getting Cake to install properly, if I remember correctly it had to do something with these pear libraries (which are bloated), and I just gave up - altough it could be just me that was the problem.

Anyway, as things are running so smoothly now, I’m not even peeking at other frameworks. CI is doing such a good job - I pity the fools that aren’t using it.

Profile
 
 
Posted: 03 June 2006 11:45 AM   [ Ignore ]   [ # 5 ]  
Administrator
Avatar
RankRankRankRankRank
Total Posts:  2508
Joined  12-21-2001

Cake’s database layer is a bit more powerful in some ways then CI’s.  It also has an interesting approach to form validation that is more tied to its models.  CI has more libraries and has better out of the box performance.  I think CI is simpler to use, particularly for those who are less experience with PHP, but then I’m biassed since I wrote most of it.

 Signature 
Profile
MSG
 
 
Posted: 03 June 2006 09:55 PM   [ Ignore ]   [ # 6 ]  
Grad Student
Rank
Total Posts:  49
Joined  04-10-2006

The biggest difference for me is the PEAR thing. I took so long to get PEAR up and running (and then not even correctly) that it just wasn’t worth it in the end. With CI I could basically start coding on the first day, which is a far better thing.

Profile
 
 
Posted: 04 June 2006 09:59 AM   [ Ignore ]   [ # 7 ]  
Summer Student
Total Posts:  18
Joined  05-19-2006
Rick Ellis - 03 June 2006 11:45 AM

I think CI is simpler to use, particularly for those who are less experience with PHP, but then I’m biassed since I wrote most of it.

You bet! I don’t have much experience in PHP, but I feel very comfortable using Code Igniter. I was really confused by CakePHP, but CI is so easy to understand that I’m even coding my own Firebird driver. I never even tried to modify or create some extension to programs I use, but with CI it seemed a pretty easy thing to do.

Profile
 
 
Posted: 11 June 2006 06:53 AM   [ Ignore ]   [ # 8 ]  
Summer Student
Total Posts:  22
Joined  04-12-2006

When looking at PHP frameworks I tried Cake first. It seemed like a good product but it doesn’t seem to favour simplicity. I also found it a bit resticting and the homepage was almost useless in helping you to learn things.

In comparison Code Igniter is simple, well thought out and has very very clear and easy follow documentation.

Profile
 
 
Posted: 12 June 2006 04:20 PM   [ Ignore ]   [ # 9 ]  
Summer Student
Total Posts:  11
Joined  05-18-2006

I also tried Cake for a couple of days, printing out the manual and reading a lot about it.
But, the main difference is the very very good docu of CI and the screencasts are very helpful.

Profile
 
 
Posted: 13 June 2006 12:24 AM   [ Ignore ]   [ # 10 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  599
Joined  09-30-2006

CodeIgniter is way easier than Cake. I’ve been programming in PHP for many years and CI is currently the most productive environment of all that I tried.

Mojavi 2 - Great MVC idea. Ahead of the pack in it’s days. But incomplete in many ways and the Mojavi project has really fizzled out.
Symfony - Configuration overload. Too much commandline stuff. Framework too rich - too many features depending on other projects. Steep learning curve.
Cake - Too complicated. Need to learn commandline tools, etc. to run generators. Steep learning curve.
CI - Great out of box experience. Just enough features in the framework. Almost zero conf. Lean and easy API. Extendable.

The thing that really got me on the CI track was the screencast. With CI you really can get somthing up and running within 5 minutes, using what you already know: PHP.

The only other framework that might actually turn into something similar to CI is the Zend Framework. But’s it far from ready. I’ll have many projects done in CI before I could consider ZF.

HTH,
Juergen

 Signature 

sitesquad.net | < insert catchy tagline here />

Profile
 
 
Posted: 13 June 2006 05:30 AM   [ Ignore ]   [ # 11 ]  
Administrator
Avatar
RankRankRankRankRankRank
Total Posts:  6905
Joined  03-23-2006

In a word, “maturity”.

Cake is a darn nice framework.  What CakePHP had when I started Bamboo was a “running start”.  The project got out of the gates before CI, and has more examples and a larger contributer/userbase.  This is probably still the case.  One of the things that makes CI great is the community.  Cake also has a great community who are active, helpful and participate.  All the things that also make CI a great place.  Let’s face it - Rick is a <censored> genius!  But that’s only half the equation, the other is community and involvment.

Both CI and Cake are excellent OSS projects with active communities, so I judge them on simplicity, performance and technical merit - and that’s why

$I->love{CodeIgniter};

edit: They also have a brilliantly cool name!  They get cheesy (and therefore cool) slogans like “have your cake and eat it too” or “once you eat a cake you’ll never go back”... etc.  wink

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design
BambooInvoice - Open Source, CodeIgniter powered invoicing.

Profile
MSG
 
 
Posted: 18 June 2006 07:38 PM   [ Ignore ]   [ # 12 ]  
Summer Student
Total Posts:  12
Joined  04-01-2006

After I learned the Cake programming ways, and how Cake does it’s things differently, I’m more of a Cake fan, now.  The reason why? The simplicity of the actual programming. I learned that I don’t need extra ‘helpers’ to help me create an application that I’m going to create. All I need is an amazing framework, such as Cake, that can do most of the things for me: such as table associations, super-easy model/view/controller methods, and the like.

All in all, both are great frameworks, but after I read the Manual of Cake, and met the community, it was a simple choice for me.

 Signature 

raymond nuñez | excommunity | windows/ubuntu | codeigniter 1.3.3

Profile
 
 
Posted: 19 June 2006 11:56 AM   [ Ignore ]   [ # 13 ]  
Summer Student
Total Posts:  3
Joined  05-12-2006

About two months ago I was looking for some framework (i had never used any framework before). I read manual of Prado (some nice ideas here like internatiolization or validation system) and manual of Cake (I really liked it). But when I found codeigniter.com, I watched videos (unfortunately only two :( ), read super simple manual, and then it was simple choice for me too wink I think CodeIgniter has incredible great simplicity/abilities relation (respect for Rick).

Profile
 
 
Posted: 07 July 2006 05:01 AM   [ Ignore ]   [ # 14 ]  
Summer Student
Total Posts:  1
Joined  07-07-2006

Hi. guys!
Cake is better than CI due to several reasons.
First of all, Cake has SVN repository (i can download latest sources).
Also, CakePHP has great, so I can easily add bug reports or feature requests
CakePHP divides helpers into Components (parts of code, that used in controllers) and Helpers (functions to be used in views).  Also, every component / helper is an object.
It is much more flexible, than simple functions in CI. 
And so on..

Profile
 
 
Posted: 07 July 2006 03:39 PM   [ Ignore ]   [ # 15 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  5931
Joined  11-23-2003
jtraub - 07 July 2006 05:01 AM

Hi. guys!
Cake is better than CI due to several reasons.
First of all, Cake has SVN repository (i can download latest sources).
Also, CakePHP has great, so I can easily add bug reports or feature requests
CakePHP divides helpers into Components (parts of code, that used in controllers) and Helpers (functions to be used in views).  Also, every component / helper is an object.
It is much more flexible, than simple functions in CI. 
And so on..

Sure… if you can get past the initial learning curve before you give up and start looking at porn instead.  There are lots of great frameworks out there, but I picked CI because I was able to start building things with it almost immediately.  Different tools for different jobs, none are really better than the other unless you are talking about a specific application.

 Signature 

WebmasterBasic: Rent a Webmaster | EE 2.0:  A designers dream becomes a developers dream | Follow me on Twitter.

Profile
 
 
   
1 of 8
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 719, on June 06, 2008 10:16 AM
Total Registered Members: 77562 Total Logged-in Users: 32
Total Topics: 101555 Total Anonymous Users: 1
Total Replies: 544393 Total Guests: 255
Total Posts: 645948    
Members ( View Memberlist )