News for hackers. Stuff that matters.
Re:Launching CakePlate, a boilerplate CakePHP distribution f... by ConceptDog on Tuesday November 30, 2010 @09:48AM (#1954229)
'fast' and 'CakePHP' shouldn't be used in the same sentence. Cake is great for RAD (Rapid Application Development) but the framework itself is massively bloated to almost the same level as a full CMS.

You'll get to market faster, but you'll also be planning a rewrite or migration sooner should you enjoy some degree of success.

Re:Launching CakePlate, a boilerplate CakePHP distribution f... by qeorge on Tuesday November 30, 2010 @11:21AM (#1954567)
I'll bite. I write CakePHP apps for my clients, and I've heard this "cake is slow" meme before. Never been a problem for us, and we've shipped a lot of apps.

In almost all cases, the benchmark was done with no caching. I don't know who launches web apps with no caching, but they shouldn't be doing benchmarks.

I don't concede that Cake is slow for any meaningful definition, but as a matter of point - I'll trade faster developers for a couple CPU cycles any day of the week.

Re:Launching CakePlate, a boilerplate CakePHP distribution f... by rynop on Tuesday November 30, 2010 @10:48AM (#1954430)
I sort of agree with you - if you need twitter type scale, you will need to rewrite.

Most frameworks are bloated (not setup to REALLY scale) out of the gate.

CakePHP is very flexible, and if used correctly can scale for 99% of workloads. Especially if you leverage some of the php5 only nuances (cake 1.3 has been developed to support php4 and php5).

CakePlate can steer you in the right direction - but is not an end all. It helps turn your idea into reality quicker. If your idea twitter scales, then you have cash to throw at the (good) problem.

If you give Cake an honest shot, I'm confident you will like it.

Re:Launching CakePlate, a boilerplate CakePHP distribution f... by garbowza on Tuesday November 30, 2010 @09:55AM (#1954250)
Could you expand on what you see as the bloat? I find the base distribution of CakePHP to be very lean, and using it on half dozen production projects, I have found no issues with speed, especially with proper use of memcached and media compression.
Re:Launching CakePlate, a boilerplate CakePHP distribution f... by noodle on Tuesday November 30, 2010 @09:57AM (#1954254)
Re:Launching CakePlate, a boilerplate CakePHP distribution f... by mattcurry on Tuesday November 30, 2010 @10:18AM (#1954296)
These benchmarks are from two years ago. The version of Cake used isn't even a stable release (1.2 RC1). Either way 1.3 has replaced 1.2 and is plenty fast for 99.99999% of sites.
Re:Launching CakePlate, a boilerplate CakePHP distribution f... by robryan on Tuesday November 30, 2010 @10:43AM (#1954400)
No to mention that these kind of things are going to be hard to really measure. Each framework is doing such diverse things that each website will get different performance. Also I wouldn't trust a framework maker to do these tests.
Re:Launching CakePlate, a boilerplate CakePHP distribution f... by powertower on Tuesday November 30, 2010 @10:48AM (#1954428)
Another benchmark source... http://www.yiiframework.com/performance/

Take with a grain of salt.

Re:Launching CakePlate, a boilerplate CakePHP distribution f... by josephmoniz on Tuesday November 30, 2010 @12:48PM (#1954889)
This benchmark seems to be either out dated or somewhat falsified. I ran the same benchmark on my system and CI out performed Yii ( https://github.com/JosephMoniz/BlueElephant/blob/master/docs... ) . The main point though is that with or without caching (APC) CakePHP is the slowest by an order of magnitude.

EDIT: yeah, pretty sure the original Yii benchmark is dated as the graph has older versions while the phpmark repo has slighlty newer ones ( http://code.google.com/p/phpmark/source/browse/#svn/trunk )

Re:Launching CakePlate, a boilerplate CakePHP distribution f... by mario2027 on Monday December 13, 2010 @08:12PM (#2002693)
http://www.phpkode.com another PHP Framework source
Re:Launching CakePlate, a boilerplate CakePHP distribution f... by karanbhangui on Tuesday November 30, 2010 @10:34AM (#1954346)
Here's a more recent benchmark: http://symfony-reloaded.org/fast
Re:Launching CakePlate, a boilerplate CakePHP distribution f... by jaredstenquist on Tuesday November 30, 2010 @11:20AM (#1954555)
Odd that they didn't include codeigniter in the test
Re:Launching CakePlate, a boilerplate CakePHP distribution f... by tgriesser on Tuesday November 30, 2010 @02:06PM (#1955191)
Probably because if they had, wouldn't have been the fastest in all tests, or at least not by much.
Re:Launching CakePlate, a boilerplate CakePHP distribution f... by noodle on Tuesday November 30, 2010 @10:30AM (#1954336)
fair enough, it was the newest one i could find.

this and similar reports from others are the reason i don't use cake, though, and it seems like it would be in their best interest to get some newer information out there. (i made my choices years ago though)

Re:Launching CakePlate, a boilerplate CakePHP distribution f... by noodle on Tuesday November 30, 2010 @09:57AM (#1954253)
agreed. i like codeigniter, which is an order of magnitude or two faster than cake.
Re:Launching CakePlate, a boilerplate CakePHP distribution f... by DanHulton on Tuesday November 30, 2010 @10:52AM (#1954445)
Consider Kohana, then, which forked off from CodeIgniter years ago and learned from the many mistakes CI made (most notably being a complete inability to adapt), and was designed with PHP 5 in mind from day one.
Re:Launching CakePlate, a boilerplate CakePHP distribution f... by noodle on Tuesday November 30, 2010 @11:12AM (#1954521)
i considered it in the past, and i might make the switch with all the internal crap going on with CI. but my biggest current project is CI-based and making the conversion would be...tough. plus, their docs suck.
Re:Launching CakePlate, a boilerplate CakePHP distribution f... by tgriesser on Tuesday November 30, 2010 @02:02PM (#1955173)
It looks like they've been working with the community to try and clear a lot of that stuff up, I really enjoy using CI myself so I've been interested. http://codeigniter.com/news/the_official_codeigniter_communi...
Re:Launching CakePlate, a boilerplate CakePHP distribution f... by dtwwtd on Tuesday November 30, 2010 @04:26PM (#1955636)
You may also want to look at CI's 2.0 development branch.

They've rebuilt much of the base code on top of PHP 5 natively now instead of being built on PHP 4 with hacks to make it also work with 5.

Although it is still in development, it has been said that it is stable.

Re:Launching CakePlate, a boilerplate CakePHP distribution f... by noodle on Tuesday November 30, 2010 @04:59PM (#1955750)
i use it already. it isn't anything especially different.
Re:Launching CakePlate, a boilerplate CakePHP distribution f... by GBond on Tuesday November 30, 2010 @11:39AM (#1954631)
Can you expand on "all the internal crap going on with CI"? I'm building with CI for a project so I'm curious.
Re:Launching CakePlate, a boilerplate CakePHP distribution f... by noodle on Tuesday November 30, 2010 @12:09PM (#1954760)