• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Do Tag files hold advantages over JSP include?

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
Does Tag files has any advantages over JSP fragments included via JSP include?
Thanks for help and time.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Like what?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Think about how they're different: a tag has arguments and all that goes along with them. They're also namespaced, which may add additional structural and semantic information. They're also (marginally) more work, for the same reasons.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64719
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vastly superior.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Vastly superior.

Would please you tell us in which ways?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64719
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just think about it for a minute...
  • Are there formal semantics for include files?
  • How do you pass information to an include file? Is it clear?
  • Can you document this information?
  • Can you assign types this information?
  • Is there a tool that can create documentation for the include files?
  • Yadda yadda yaddsa...
  •  
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic