Friday, November 28, 2008

can interrelated models be baked in any order?

Hello,
i'm new to Cake & Bake and wonder if the order in which you bake your
models is important.

I have 4 models:
Org
Course
Chapter
Module

the following relationships apply
Org hasmany course
course hasone org
course hasmany chapter
chapter hasone course
chapter hasmany module
module hasone chapter
module hasone course

shall I start to bake the module model or the org model? is there a
rule?

thanks,
P.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: