Hey there jwm,

I've got experience with both Rails and CakePHP.  In fact, I even gave
a talk at the php|works conference in September on the topic of "What
Can PHP Learn From Ruby On Rails?", so I'd like to think I'm qualified
to comment on this topic.  I'm sure I'll be corrected if I'm wrong.
I've made my comments inline below:


>
>  - join models

CakePHP offers that via the same sort of hasMany, belongsTo and
hasManyAndBelongsTo functionality.  CakePHP very much supports the
"convention over configuration" concept for databases

>  - object-relational mapping of inheritance

I think CakePHP allows this through object chaining, which to me is a
very powerful yet underutilized concept.

>  - polymorphic associations

PHP doesn't support the polymorphic stuff at this time as far as I'm aware.

>  - Acts (acts allow you to decorate a model's behaviour with
>      additional orthogonal aspects and encapsulate that behaviour
>      in a single, central place)

Nope...but I believe that is due to the fact that PHP does not support
closures, a key feature that makes all sorts of awesome feature
available in Rails.

>  - join models

Not sure.

>  - the migration DSL (in fact, all of Rails' DSLs, including but
>      not limitied to the Model DSL)

There's no migrations...but that would be an interesting project.
Maybe I should look into this as it would be something very
interesting.

Hope that helps.

-- 
Chris Hartjes

"The greatest inefficiencies come from solving problems you will never have."
-- Rasmus Lerdorf

@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to