I was poking around the blogs posts on the Falafel site and I came across a nice concise example by John Waters of how to define and use custom attributes in your own code. His example shows how to use custom attributes as a simple way to define tag values in sub classes without having to write the same code over and over again for each subclass. It’s a short enough read that there’s no point in excerpting any of it here.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.