Live data from Hacker News

Launching CakePlate, a boilerplate CakePHP distribution for fast web apps

cakeplate.posterous.com

11–20 of 36 posts

Re: Launching CakePlate, a boilerplate CakePHP distribution for fast web apps

#11
post #9

Why not some form of user self-registration and admin management tool as well? I see a facebook connect in there, which helps, but a pure cake-based user reg/management system would go a long way towards a faster 'out of the box' experience.

CakePHP comes with that out of the box. You can use the built-in Auth component for registration and user management, and the "Bake" tools will give you the option of creating admin functions, similar to Django's.

Re: Launching CakePlate, a boilerplate CakePHP distribution for fast web apps

#12
post #5

Earlier quoted context omitted.

http://avnetlabs.com/php/php-framework-comparison-benchmarks

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.

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 for fast web apps

#13
post #9

Why not some form of user self-registration and admin management tool as well? I see a facebook connect in there, which helps, but a pure cake-based user reg/management system would go a long way towards a faster 'out of the box' experience.

CakePHP comes with that out of the box. You can use the built-in Auth component for registration and user management, and the "Bake" tools will give you the option of creating admin functions, similar to Django's.

Coming with an auth component vs something that provides pre-done models, views and controllers are two different things. Having something provided out of the box with some common defaults that I don't need to configure would be much handier for rapid development.

Re: Launching CakePlate, a boilerplate CakePHP distribution for fast web apps

#14
post #5

Earlier quoted context omitted.

http://avnetlabs.com/php/php-framework-comparison-benchmarks

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.

Another benchmark source... http://www.yiiframework.com/performance/

Take with a grain of salt.

Re: Launching CakePlate, a boilerplate CakePHP distribution for fast web apps

#15

'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.

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 for fast web apps

#16
post #4

'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.

agreed. i like codeigniter, which is an order of magnitude or two faster than cake.

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 for fast web apps

#17
post #4

Earlier quoted context omitted.

agreed. i like codeigniter, which is an order of magnitude or two faster than cake.

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.

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 for fast web apps

#18
post #9

Why not some form of user self-registration and admin management tool as well? I see a facebook connect in there, which helps, but a pure cake-based user reg/management system would go a long way towards a faster 'out of the box' experience.

CakePHP comes with that out of the box. You can use the built-in Auth component for registration and user management, and the "Bake" tools will give you the option of creating admin functions, similar to Django's.

I use CakePHP (actually forced to). You can't compare the bake tools with Django admin. The UI of Django admin is usable in fact it's actually nice. I've had lot's of clients who like it. But the generated CSS by the bake tools is non-usable. I usually end up having to write the views for admin when using CakePHP compared to not having to do anything much when using Django.

Re: Launching CakePlate, a boilerplate CakePHP distribution for fast web apps

#19

Earlier quoted context omitted.

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.

Here's a more recent benchmark: http://symfony-reloaded.org/fast

Odd that they didn't include codeigniter in the test

Re: Launching CakePlate, a boilerplate CakePHP distribution for fast web apps

#20
post #4

Earlier quoted context omitted.

agreed. i like codeigniter, which is an order of magnitude or two faster than cake.

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.

[deleted]
Post reply on HN