• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

i am getting confusion...!!!

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please help me..while i am studying tags(custom tags,simple and classic custom tags) getting confuse.

how to study this tags,is there any easy way....my mind is paining..while i am studying tags..please help me out in this concern.


thanks in advance,

bhaskar
 
Author
Posts: 836
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tags can be tricky because there are a few different types - they each have different lifecycles with different methods invoked at each stage, and return values which vary.

I'd say check Chapter 15 of my book (see signature) which contains a thorough and (hopefully) easy to digest chronological view of tags, so you can see how each works and why each is necessary (conversely why for example a BodyTag is often overkill). There are flow diagrams to make thee lifecycle clear, showing which methods do what and when, and what each return value signals. You'll also appreciate why SimpleTags were created and what you can/can't do with them...
 
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The easiest way is to code different examples for yourself. By coding these examples you will set in your mind the differences. The more you code, the easier it will be to remember.
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Michael Ku:
The easiest way is to code different examples for yourself. By coding these examples you will set in your mind the differences. The more you code, the easier it will be to remember.


+1. I never understood them until I took them time to write them. It seems a little complicated your first time but gets much easier as you get familiar.
reply
    Bookmark Topic Watch Topic
  • New Topic