1

Topic: PHP Cake (PHP on Rails)

Has anybody taken a look at this PHP take off of Ruby on Rails. Is it any good, I don't know enough to tell.
http://sputnik.pl/cake/docs/intro

Re: PHP Cake (PHP on Rails)

Never heard of it, but by my first look, it appears to be similar to PEAR.  I am going to check it out tonight on my dev server.  Its all OOP based.  Some schools say it taxes the server more than procedural code.  Other say OOP when implemented correctly will be faster than procedural code.  If it makes developing quicker and more simple. I am all for it.  OOP can be much easier to maintain once you get used to how it works.  I'd be curious to see comparisons between a forum app designed with OOP vs. Procedural.

Re: PHP Cake (PHP on Rails)

I very much doubt you would get a performance benefit from going OO. Especially with PHP which has a generally weak OO implementation. Sure enough, OO has it's benefits, but performance is hardly one of them.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: PHP Cake (PHP on Rails)

4.3.x or 5.x ?  I thought PHP 5 made huge strides in this area?

Re: PHP Cake (PHP on Rails)

It did. The object model in PHP5 is a lot better. It still not completely up to spec, but still, a big improvement.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

6 (edited by johnpipi 2005-07-12 05:54)

Re: PHP Cake (PHP on Rails)

There is a new Ruby on Rails clone out now called PHP on Trax - http://www.phpontrax.com .  I have programmed a few projects in it and its works really well.