Thanks for the quick confirmation that the technical approach (building loads of Models) seems the right Cake-way to do it.
But what about the two other questions? Insights appreciated! On 21 aug, 17:06, "Samuel DeVore" <[EMAIL PROTECTED]> wrote: > perhaps something modeled more on the standard classification with a > model for each of > Kingdom > > Phylum > > Class > > Order > > Family > > Genus > > Species > > where kingdom has many phylum and phylum has many class.... > > On 8/21/07, Bravo_Kernel <[EMAIL PROTECTED]> wrote: > > > > > > > Hi group, > > > I am building an application to (theoretically) store characteristics > > for all existing lifeforms on this planet and need some conceptual > > pointers on the best approach for solving this with Cake. > > > To keep things maintanable and extendible I am thinking of creating > > lots of Models (with different database tables) using class > > inheritance, for example: > > classLifeForms -> classReptiles -> classSquamata -> classLizards > > classLifeForms -> classReptiles -> classSquamata -> classSnakes > > classLifeForms -> classMammals -> etc. > > > Assuming the Model approach is valid I will have to build hundreds of > > Models. Now for my questions: > > 1. Will this force me to build a different controller to handle adding/ > > deleting/modifying each subclass or would it be possible to reuse a > > single controller? > > 2. Will this force me to build a different view for each subclass or > > is reusing an option here as well? > > > Any feedback is highly appreciated. > > > TIA Bravo > > -- > (the old fart) the advice is free, the lack of crankiness will cost you > > - its a fine line between a real question and an idiot > > http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/ --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
