Re: Basic association question, extending models...

2008-01-16 Thread [EMAIL PROTECTED]
In their basic form, models in Cake are a way of accessing SQL-data. They may also contain any number of other data-manipulation functionality that may be relevant. They do not represent the data in the same direct way you are used to. They represent a way of accessing and manipulating the data.

Re: Basic association question, extending models...

2008-01-16 Thread Chris Gallop
Appreciate the clarification, points me in the right direction. Thanks. On Jan 16, 8:58 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: In their basic form, models in Cake are a way of accessing SQL-data. They may also contain any number of other data-manipulation functionality that may be

Basic association question, extending models...

2008-01-15 Thread Chris Gallop
I am just trying to get some clarity on associations. I've done a little object orientated programming before and in cake it seems a little different in regard to extending objects. In my case I have a table for people, clients and suppliers. Obviously people contains basic info like name,