The Artima Developer Community
Sponsored Link

Java Buzz Forum
Re: Should meta tags considered harmful?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Carlos Villela

Posts: 116
Nickname: cvillela
Registered: Jun, 2003

Carlos Villela is a Java developer working mostly with web technologies and AOP.
Re: Should meta tags considered harmful? Posted: Jul 9, 2003 2:38 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Carlos Villela.
Original Post: Re: Should meta tags considered harmful?
Feed Title: That's sooo '82!
Feed URL: http://www.jroller.com/rss/cv?catname=Technical
Feed Description: Carlos Villela's weblog. Everyday life, everyday software development, everyday musings.
Latest Java Buzz Posts
Latest Java Buzz Posts by Carlos Villela
Latest Posts From That's sooo '82!

Advertisement
Carlos wrote a very interesting post about meta tags (the XDoclet-ish ones). I really don't see a problem with them and AOP, because you can define very precise pointcuts with tags. Using the common regular expression pattern to define pointcuts can lead to some mistakes (and end up not picking the right pointcut, or, even worse, being more abrangent than you wanted it to on pointcut selection).

As Carlos said, there's nothing to stop you from creating a doclet that understands those meta tags and documents them on a nifty series of HTML files, together with your regular dose of javadoc. You don't even need support from an IDE to see what's going on. For example, suppose you have created some wicked cool caching aspect that you applied everywhere, ruthlessly. Oops. now the cache is taking up a lot of memory. "But where did I put those meta tags again!?"

Well, simple, fire up the doclet and have it document it for you. Or, if you don't want to use any tools, at all, check the source for SourceFileMetaDataCompiler from AspectWerkz, put it to run on a decent debugger, and with the right expression evaluated (you have an expression evaluator in your debugger, don't you? :), you can get the whole meta-data graphl, and ask it where's the tag applied. Just a simple while loop should do the trick.

Then, why are you guys afraid?

Read: Re: Should meta tags considered harmful?

Topic: Dangers of CPAN Previous Topic   Next Topic Topic: A social side effect of spam

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use