KBD

Keith Devens .com

Saturday, March 20, 2010 Flag waving
A charlatan makes obscure what is clear; a thinker makes clear what is obscure. – Hugh Kingsmill
← O'Reilly Radar > Web Development 2.0Saved! →

Daily link icon Sunday, February 12, 2006

Yay tags

Just tagified my site (does that make me web 2.0?). Incidentally, I just discovered that MySQL's API returns all result data as strings. So, even if your field is a number (say, your primary key), you get a string back. Weird.

Update: Incidentally, tag renaming is a pretty hard problem. You have to watch for recursive renames... and what happens if there's already a tag for the tag name you're trying to rename a tag to? You'll have to run through every associated tag table and update all the old ids to the new one, but it's not like there's only ever one association table (i.e. if I tag my weblog entries, and I make a tagged bookmark system, and have my wiki pages tagged, I'll have three different associated tables), so the tag library can't know what it has to update unless you tell it about all those tables. So, it's messy.

← O'Reilly Radar > Web Development 2.0Saved! →

Comments XML gif


Feel free to post a comment below. Please see my comment policy.

Formatting Rules (No HTML):

  • **bold**, *italic*, _underlined_, --strikeout--
  • "text"="url" creates a link, and URLs are auto-highlighted
  • Blockquote: Like e-mail, begin paragraph with > (greater-than sign)
  • Lists: begin paragraph with *,-, or + (unordered), or # (ordered)
  • Code block: ?!code:language=perl|php|sql|javascript|etc.{\n}...{\n}?!/code

:
(will be your IP address if blank)
: (optional)
(Will not be shown on site)

: (optional)
:

March 2010
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
28293031 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 2 posts

Recent comments XML

I hate ASP.NET

I hate ASP... I was doing wonders​with PHP, then suddenly one of my​clients...

Johnies: Mar 17, 6:14am

Quantum physics and free will

I knew you were going to say that....

Tom Massey: Mar 15, 9:26pm

Generated in about 0.1s.

(Used 8 db queries)