pwnt.be

Consider it Tagged (and Plugged)

Dog tagsI just implemented post tagging, which means that I will be categorizing posts from now on. I have no intention of categorizing old posts though.

In case you’d like to know how I implemented it, this site is still open source. It should be noted, however, that the code is insanely complicated. I insisted on using a single query to fetch both posts and their tags, which meant multiple rows for one post, which meant my LIMIT clause no longer applied. Since MySQL doesn’t support LIMIT in subqueries, I ended up fetching the necessary IDs in advance and then retrieving the posts by ID. Yeah, it sucks, but I wonder if it’s any slower than a single query for every post’s tags.

Also, if you speak Dutch, you may be interested in B.’s shenanigans now that he’s arrived in the Land of Hope and Glory. I know I’m looking forward to reading all about it.

Post a Comment

This contraption supports Gravatar, as well as Markdown with SmartyPants. If none of that made sense to you, feel free to ignore it and start typing.

  • :)
  • :D
  • ;)
  • :-O
  • :P
  • :@
  • :$
  • :S
  • :(
  • :'(
  • :|
  • :-#
  • 8-|
  • ^o)
  • :-*
  • +o(
  • :^)
  • *-)
  • 8-)
  • |-)
Disorientation
Continuity
Tangentiality
Retributions
Koop eens een Nokia Lumia 800
Samuel Debruyn
Bizar Hairdressing & Beyond
Hanne, Hanne, Ruxi, Wim, Tim, Sarina, Lies, Lynn, erwin, Ano, Frederick, Jacqueline, Wazaaa, Tim, Rebecca, Charlie
Lplayer for the Rest of Us
fieryy-AA, jesus2099, Tim, jesus2099, Tim, jesus2099, Tim, PixelPirate
Automating OpenVPN Connection on Windows XP
blanky, sky, Tim, Geb, 12vpn, Tim, neecom
Simple Linear Regression with JFreeChart
Nicolas Machado, Sascha, Tim, Sascha, Tim, Sascha
Colophonics