«« Next » « Previous
«« Next » « Previous

Link Details

Announcement

iPhone DZone: Fresh Links On Your iPhone by matt at Sat Jul 05 14:09:51 EDT 2008

Reading DZone on your iPhone just got a little bit easier. Visit http://dzone.com/iphone from your iPhone to try out our beta iPhone support. You can view stories, filter by tags, and login. We'd appreciate your feedback at feedback@dzone.com.

We can't do it for you. Login and vote now.
Link 73176 thumbnail

By nerdyhearn
via nerdyhearn.com
Submitted: Mar 28 2008 / 13:29

A templating system can be very useful in javascript. Using a templating system can mean that your designers can setup basic layout in HTML only and the developer of the javascript can implement more advanced javascript as necessary, as well as doing value-substitution. This basic templating system can substitute variables and have a template stored in either a textarea (recommended), input, span or div. It could easily be expanded to create your own internal scripting system for iterating variables, implementing basic if-then-else logic, and many more concepts.
  • 1
  • 0
  • 155
  • 27

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (1)



Voters Against This Link (0)