ClassModelList::updateXref()DeprecatedPlease use the Relations instead.
This function is used to automate the links creation and destruction with simplified command. After saving an item, if the POST query has sent more datas concerning relations with other tables, this function must be called.
N:M Use (many-to-many)The links are database rows. This following example is written in traveller (item) model:
N:1 UseForeign Keys are widly used in Cook, but what happen when we want to set up those links from the opposite side ? The links are made with simple foreign keys in opposite table. This following example is written in country (item) model |
|
Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.