[drupal-devel] clipper and relations

Bèr Kessels berdrupal at tiscali.be
Wed Sep 7 10:03:31 UTC 2005


please have a look at http://drupal.org/node/28480#comment-42850.
Its a revised proposal for the relation mapping. 
I came with this after developing my second relation module. 

Op woensdag 07 september 2005 09:36, schreef Kristjan Jansen:
> On 9/7/05, Boris Mann <borismann at gmail.com> wrote:
> > On 6-Sep-05, at 11:52 PM, Kristjan Jansen wrote:
> > > My .02 on this:
> > >
> > > 1.  I do not get the inverse order in clipper.module:
> > >> 12 parent-child 15 means that node 12 is parent of 15
> > >> 45 child-parent 10 means that 10 is parent of 45
> > >
> > > Why not just write '10 parent-child 45' ?
> >
> > Thinking about this today, we can actually probably just do "12
> > clipper-parent 15". Actually, parent-child would be modeled by
> > default in the relation.module, but it lets me illustrate that we'll
> > standardize on $modulename-relation.
>
> aha, so you are hinting that there gonna be a default set of relations
> defined in relation.inc like
>
> relation_parent_child
> relation_child_parent
> relation_*
>
> somehow i tend to prefer underscores, it's kinda matching the _hook
> naming conventions
>
> k
>
>
>
> relation-
Regards,
 Bèr
-- 
 [ Bèr Kessels | Drupal services www.webschuur.com ]



More information about the drupal-devel mailing list