• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

i am getting confusion...!!!

 
bhaskaritp naidu
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • 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
 
Charles Lyons
Author
Ranch Hand
Posts: 836
  • Mark post as helpful
  • send pies
  • 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...
 
Michael Ku
Ranch Hand
Posts: 510
  • Mark post as helpful
  • send pies
  • 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.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic