JavaScriptTemplates - the middle ground between DOM and InnerHTML

Thursday May 11 2006

When creating applications with a lot of we're often confronted with a choice to either build up all new content through a gazillion lines of code or 'cheat our way out' with the dreaded element.innerHTML. The DOM way is extremely tedious and time consuming while is considered 'dirty' by many developers. I tend to agree with those developers.

Enter JavaScript Templates. A perfect 'best of both worlds' solution. Ever used Smarty? You'll feel right at home with it.

I'm using templates in a project at this very moment and I can tell you: it rocks! If time permits I'll try to write a small tutorial in the future but in the meanwhile just go check it out!

Dark Matter Pro: a premium photoblog template.

Affiliate program available

bookmarking

Commentary

Join the discussion! Leave a comment through the comment form below!

Got something to add to this?

Feel free to leave a comment on this site. You can use Textile and Emoticons. Your email address is only used to show a gravatar. Please stay on-topic and use common decency. Spammers will be shot in front of a live studio audience.

If you plan on posting code, use pastebin please and post a URL to the code. The comment processing doesn't deal very well with code. Sorry for the inconvenience.

Human comment spammers: don't bother posting your crap here. Comments are moderated and I won't let any of your shit through.

Remember personal info?
Yes
No

Trackbacks

If you have an interesting related post on your own site you can leave a trackback. As they say: 'a little AJAX a day keeps the spammers away' which is why you'll have to click below to generate a trackback key. The key will be valid for 15 minutes and can be used only once.

 

  • Featured Links
RockySomewhere near the Orion NebulaBookalicio.usGolden Gate BridgeThames River BankJackie and mePimpin' it