Frontend Intertag Communication
- by Matt
Hey all,
I've had a question that I've been wondering for a while. I'm making a templating system for front-ends where tags are interpretted (like Smarty). I was wondering if there is value in having the tags be able to communicate with the HTML document and other "Smartyish" tags. I was hoping that the community would have some thoughts on this situation.
Benefits:
More power (tags can tell other tags how to look)
Better structure (smartyish tags behave and look just like html tags)
Tags can manipulate any element on the page
Drawbacks:
Tags can manipulate any element on the page
Tags can interfere with other tags
Code time will increase