Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML v/s customtags

 
Shekar Atmakur
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can any one tell me what the advantage or disadvantage would be in using customtags over XMLs in rendering a dynamic page, where the content changes based on the data from previous pages?
thanks,
shekar
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "XML" here?
 
Shekar Atmakur
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well,
WHat i meant by XML here is to create an XML documents based on data in a table and preload those XMLs and then choose the XML to render to the screen based on user input.
WHile with custom tags, i can can choose to display a certain section of the HTML page by havin some kind of an IF logic based on user input?
PLease let me know if i'm still noy making sense.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like you're really between server-side scripting and client-side scripting. If that's the case, then I'd say the pros and cons are:
Server-side scripting:
+ You don't have to deal with differences in browser JavaScript implementations
- You may need to make more round-trips over the network
Client-side scripting:
+ Snappier interface (less round-trips needed)
- Problems with differing browser JavaScript implementations
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic