Sponsored by Best Buy
Think Choosing a Gift For A Teen Girl Is Impossible? view!
bestbuy.com - Hello-o-o! No WAY! Email, IM, chat, social networking & streaming audio/video are all on Netbooks.
75 Comments
- pseudojd, on 10/12/2007, -0/+25They are going the distance!
- Carv, on 10/12/2007, -1/+20They're going for speed...
- mrtrick, on 10/12/2007, -2/+20They're all alone (x3) in a time of need?
- inactive, on 10/12/2007, -3/+18he's fighting and biting and riding on his horse,
- cypher35, on 10/12/2007, -2/+16aww man, you ***** it up
no trophies, no flowers, no flashbulbs, no lime - Carv, on 10/12/2007, -2/+16They're racing and pacing and plotting the course...
- Lindquist, on 10/12/2007, -0/+13Now you can have your PHP and eat it too!
- lababidi, on 10/12/2007, -0/+10For anyone unsure why this is important...
CakePHP makes creating and designing PHP sites simple. It helps cut out a lot of the database interaction which can end up being a huge PITA. Cake will also allow more time spent creating rather than debugging. Cake also separates Logic from Presentation (so you won't have HTML code inserted into your php pages). - inactive, on 10/12/2007, -1/+11The new site looks really good. I wish more people knew about cake, I wear my CakePHP shirt all the time, haha. If anybody is curious, feel free to check out their Google Group, It's what they use for a forum.
http://groups.google.com/group/cake-php
Any question you have was probably already asked, and they are a pretty cool bunch. Plenty of regulars, always on topic, so there is almost never a post that goes unanswered.
And be sure to check out their wiki, it has a blog tutorial, that should be the first thing you do; it goes over the installation of cake and gets you building a simple blog in about 30 minutes. - heinousjay, on 10/12/2007, -2/+9What the hell does that even mean? Have you ever done any web development? In COBOL?
- jathos, on 10/12/2007, -1/+8bowel shaking earthquakes of doubt and remorse
- Carv, on 10/12/2007, -1/+8They're haunted by something they cannot define...
- Jeffrey903, on 10/12/2007, -0/+6cached copys
http://www.duggmirror.com/programming/CakePHP_1.0_has_been_released_/
http://cakephp.org.nyud.net:8080/ - sagelink, on 10/12/2007, -1/+7Assail him, impale him with monster truck force.
- borchard76, on 10/12/2007, -0/+5If this works anything like ROR, I'll digg it. I know PHP, but I don't really know ruby, so I'd find CakePHP much easier to transition to.
- edogg, on 10/12/2007, -0/+5Cake has two major selling points for me when I was evaluating different frameworks: 1. It works on php4 and php5 (a few others support php4 as well), 2. the community. When I first decided to take the cake plunge, I picked a really simple php project I needed to do anyways, and did it with cake. I made it my goal to do everything "the cake way" instead of cheating and embedding procedural PHP in the "view" pages. It was a struggle, but the community helped immensely. I popped on to the IRC channel and a few of the cake developers held my hand through things that were probably incredibly simple and boring for them. I was impressed.
At the time, the documentation was very rudimentary, and the wiki had some sub-par content on it, but all of this may have changed by now. At any rate, the valuable live human support made me stick with cake and promote it to other php developers.
In summary: give cake a try, and if you get stuck hop on #cakephp and get some help. - richardathome, on 10/12/2007, -0/+5I must have slept through them re-doing the CakePHP website and it looks like someone has been tidying up the tutorials too.
- heinousjay, on 10/12/2007, -0/+5Oh, see, I only get jokes when they're funny. You should work on that.
- cypher35, on 10/12/2007, -0/+4I hear COBOL is a popular one...
- newezra, on 10/12/2007, -0/+4She's hoping time that her memories will fade
- tnwake, on 10/12/2007, -2/+6Digg effect already!
- zoid, on 10/12/2007, -2/+6I really wish you wouldn't have linked to the main Cake site from digg. I mean it's great to let people know that it's been released but it doesn't help anything to kill ths site...
- jesusphreak, on 10/12/2007, -1/+5> Wasn't rails originally developed in PHP before the guy found ruby?
Yes. Actually DHH (the creator of Rails) had been a professional PHP coder for 4 or 5 years. The project they were working on, they tried to do it in PHP and it just didn't cut it. They then did it in Ruby and the rest is history. - yomomo, on 10/12/2007, -2/+6I loved PHP, tried ruby, and then tried Cake.
I quickly went back to ruby. - Takteek, on 10/12/2007, -0/+4*sigh* Even a website that offers a framework for making websites is suffering from the digg effect.
Should have used cupcakes. - gwoo, on 10/12/2007, -0/+4Well, digging can really jam a site.
here is a mirror for the manual: http://manual.rd11.org/
As far as how it compares with symfony (which is php5 only), check out http://www.h3rald.com/blog/view/23/
CodeIgniter as far as i know does not have Association Data Mapping / ORM which is something that is very nice in rails style frameworks. I think its a little further behind in development, but they might get there soon. Right now I think Cake has one of the larger communities, so there is a lot of code coming out in Open Source. At the end of the day it comes down to your style and what you like best. Give them all a try and see what fits for you. Most of the latest frameworks have a 15 minute get started, so it should not take too long to see which one you prefer. I must say that having a framework is a nice thing and brings a lot more ease and structure to PHP. - iamexcite, on 10/12/2007, -1/+5In his mind, he's still driving, still making the grade.
- h3rald, on 10/12/2007, -0/+3Comparing CakePHP to Ruby in Rails is pointless: one uses PHP and it's reltively younger than the other, and the other one is built in Ruby.
I use CakePHP because at the time I didn't feel like learning a bit of Ruby and my host didn't support Ruby... It's impossible to seriously compare the two things: as PHP programmer, I tell you, I'm all in favour of Ruby's way of doing things. Even the syntax is (much) clearer.
I wrote a short "superficial comparison" between Rails and Cake ( http://www.h3rald.com/blog/view/22 ), and provided a short code snippet showing how CakePHP syntax is significantly more verbose than Ruby's, simply because it uses PHP! Nevertheless, I think CakePHP is an excellent framework FOR PHP, and for PHP only. It borrows some concepts from Rails but don't even attempt to "be better", as they are two very different things. Is pizza better than pasta? They are two very different things...one might be more tangled up and look more messy, but both - in their own ways - are very tasty :) - jesusphreak, on 10/12/2007, -1/+4He didn't just *attempt* it, he did it. Like I said, he had coded professionally in PHP for 4 or 5 years. They did it in Ruby because it all just goes together better.
Do yourself a favor and try Rails (and Ruby) ... there are very few people that have the desire to go back to PHP afterwards. Ruby simply is a cleaner language. This isn't something that's easy to see if you only ever use PHP, but it becomes obvious once you start using other languages. - leohart, on 10/12/2007, -2/+5Been playing with Cake for some time before they released 1.0. Absolutely similar to Rails but in PHP. Of course, that means, some code are gonna be longer because Ruby syntax is better. But, you got the elegance and well-thought-out of Rails. A must have for those who are not ready for Ruby but want to embrace Rails philosophy ^_^ (me)
- frontbrain, on 10/12/2007, -0/+2I used CakePHP for a project where I used to work at my university. I like the MVC design philosophy it really keeps things organized. I am about to start on a new site i have an Idea for and I am deciding between cakephp and ruby on rails. I think I will end up doing it with ruby on rails just to get some experience with it.
The real lesson is: Use and MVC framework for your web development (especially if the application is big or if it will grow), you will thank yourself later. - crackity, on 10/12/2007, -0/+2Yes, they are similar - both were inspired by Rails, but Cake has gone further to differentiate themselves. Here's a decent (but not great) overview of some frameworks: http://www.phpit.net/article/ten-different-php-frameworks/
- yomomo, on 10/12/2007, -2/+4Sorry for the double post, I didn't think the first one got in...
I used to program exclusively with PHP until a freind told me about ruby on rails. I converted a website over to ruby just to try it out, then tried to do the same thing using Cake. For me, Cake didn't make the cut, and Ruby on Rails is where its at.
No matter which you choose, this whole web 2.0 thing is killer... However, if you are flexible, and aren't wed to PHP, have never developed in Model-View-Controller, you've got to try ruby on rails before you try cake.
Wasn't rails originally developed in PHP before the guy found ruby? - cyssero, on 04/18/2009, -0/+2Cause he's racing and pacing and plotting the course,
- rekka, on 10/12/2007, -0/+2He's fighting and biting and riding on his horse,
- JoeWall, on 10/12/2007, -2/+4is there a chart comparing cake vs. rails
- mirunit, on 10/12/2007, -0/+2Anyone know if this supports PHP 4.x or 5.x or both? (the wiki is down and CoralCache isnt loading)
EDIT
Requirements
In order use CakePHP you must first have a server that has all the required libraries and programs to run CakePHP:
Server Requirements
Here are the requirements for setting up a Linux server to run CakePHP:
1. An HTTP server (like Apache) with the following enabled: sessions, mod_rewrite (not absolutely necessary but preferred)
2.
PHP 4.3.2 or greater. Yes, CakePHP works great in either PHP 4 or 5.
3.
A database engine (right now, there is support for MySQL, PostgreSQL and a wrapper for ADODB). - PezFr33k, on 10/12/2007, -0/+2How does Cake compare to phpontrax?
http://www.phpontrax.com/
I really, really like the simplicity in phpontrax so far. Since I know (and enjoy) coding in php rather than ruby, it's been great. - gwoo, on 10/12/2007, -0/+1Trax is a nice straight port of ROR. Main difference is that Cake does not require any outside libraries while Trax requires PEAR. Cake has a larger community and works on php4 and php5, while Trax is sticking to php5.
- CaughtThinking, on 10/12/2007, -1/+2the joke -------------
heinousjay ---> . - gusx, on 10/12/2007, -0/+1trust me, I've done WEB COBOL and it is horrible
I'm quite ashamed I've even done that. - bloodroot, on 10/12/2007, -1/+23 months of ruby and I was far more efficient than I had become after 5 years of php work.
I've been at it for almost a year now and haven't looked back.
It would be interesting to see what the cake guys are up to.
PHP culture definitely suffers from an excess of spaghetti code,
so anything to counteract that sounds good to me, as I cringe
most of the time I have to fix somebody elses code, or even (gasp)
my own. - computerbynar, on 10/12/2007, -0/+1http://cakeforge.org.nyud.net:8080/frs/download.php/157/cake_1.0.1.2708.zip (a link directly to the download)
- gwoo, on 10/12/2007, -0/+1mod_rewrite is not required, but does make things look nicer
- JoeWall, on 10/12/2007, -1/+2but cake is an obvious copy of rails's features, so david hansson must be the smartest guy in town then
also david was alone, he designed the whole thing, while cake is from a 5 team.
anyway, i don t really see why you you bring david in the topic. it might be better explaining why cake is different and better from ruby on rails - masterren, on 10/12/2007, -0/+1I'm not very knowledgable about these tools, but is this similar to Code Igniter ( http://codeigniter.com/ )?
- CapnBob, on 10/12/2007, -2/+3Okay, the horse is dead, stop beating it. Yes, David Heinemeier Hansson *attempted* to do something Rails-like in PHP, but for whatever reason, he just couldn't hack it. Is that to say he's not a smart guy? Of course not. But the fact is, he couldn't do it, obviously other people could, and having used both, CakePHP kicks just as much ass in my opinion, but maybe that's just because I like PHP.
Honestly, it's pathetic really. Everyone assumes that because DHH couldn't do it, that must mean it can't be done.
Dear Rails Fanboys,
Please set David back down in reality (gently!), and remove the pedestal where he was standing. Just get rid of it completely. Trust me, this is for your own good.
Thank you, and have a nice day. - Dangermoose, on 10/12/2007, -0/+1This is great news for the cakephp guys.
For me though, now that I've been using RoR for the last 6 months or so, I will probably not be using it. You see, for me, one of the biggest things going for RoR is ruby. I would find it hard to go back to PHP now.
Each to their own... - Crusty, on 10/12/2007, -0/+1The chart on that page is incorrect, or at least out of date. I took a look at Code Igniter some more, and it supports multiple databases and ORM even though that chart says it doesn't.
Is someone maintaining that page? - jesusphreak, on 10/12/2007, -1/+2From DHH himself when they released their first Rails-powered app:
"Before finding Ruby, I spent about four years developing PHP web-applications (including a few for 37signals), so I think I can say with some authority that we most certainly couldn't have developed Basecamp in less time with PHP. On the contrary."
"On doing maintainable development in PHP:
It is certainly possible to do both object-oriented and maintainable development in PHP. I did just that for more than a few years. Rails is built on principles I realized and used in PHP.
Most languages has a sweet-spot, though. A range of tasks it does better than any other language. Building MVC-style web-applications with an attempt to foster a reusable framework isn't the sweet-spot for PHP. As I said, it's doable, but I found it much more painful than doing the same in Ruby. Likewise, I probably wouldn't use Ruby for a quick little thing little adding some level of dynamics to the 37svn blog. PHP has a sweet-spot for getting simple things working really fast and on a ton of web-hosts. The longer you move beyond that sweet-spot, the more painful it gets. (PHP5 moves this sweet-spot closer to my needs, but still falls way behind Ruby—in my ever humble opinion)."
People were asking the same questions you guys are.
http://www.37signals.com/svn/archives/000606.php -
Show 51 - 75 of 75 discussions



What is Digg?