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 |
|
For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

