Topics

programming

php drupal scheme scheming macros design patterns da la

design

design css

random thoughts

scribbles

alter ego

other me 'em that link us my space me linked in

Collections

Programmable web
PHP design patterns

Similar things

  • Going mad talking about relations
  • Relations and their domain structures
  • Relation modules
  • Relations battle plan
  • Relations, SQL, views, algebra or how to cook that broth
  • Once again relations, or the need to focus on smaller parts of the big picture. A rant.
  • Relations in drupal links
  • Relations API - query generation and TODO
  • Relations Battle Plan II and first results
  • drpkg and relations svn

Home » blogs » vlado's blog

nodes related to this one by tags

Submitted by vlado on Wed, 2005-11-09 16:25.drupal | relations | tags

Nasty title. Never the less, the first hurdle is done. Time to wrap up the code. You can see this working on any post within this website. For example this one - you should notice the "Similar content" block. Links are ordered by number of 'my' tags present. As simple as that.

I had a silly problem. mysql 4.0 doesn't support sub-selects, the way my original implementation was coded. Silly, because I spent hours debugging this, without even thinking to check the version.

end result: mysql 1 - vlado 1

I have my test cases for relations now. So things should be out in the wild soon

vlado's blog | add new comment
Home » blogs » vlado's blog

dikini.net

spreading confusion by accident since 1970