News for hackers. Stuff that matters.
Re:Get Your API Right by wccrawford on Friday August 13, 2010 @07:36AM (#1600653)
The author says never to put data in attributes, always put it in tags. He shows and ID tag inside and ASSET tag.

The ID should be an attribute, and all the other data should stay as tags. This is because the ID won't change and identifies the ASSET. Anything else could change and is just data.

There are no comments on this comment yet.