Tempo 1.4 works with or without jQuery and degrades smoothly if there’s no JavaScript enabled.
It eliminates HTML from your JavaScript files and makes AJAX easier to work with. It’s also been tested on all the major browsers and even the world despised IE6.
Tempo is a tiny JSON rendering engine that enables you to craft data templates in pure HTML.
Sounds pretty, right?
Here are some great reasons to use Tempo:
- Clear separation of concerns: no HTML in your JavaScript files, and no JavaScript in your HTML
- It makes working with AJAX/JSON content a piece of cake
- Works in Safari, Chrome, FireFox, Opera, and Internet Explorer 6+
Tempo’s key features include:
- Itty-bitty footprint, lightning-fast rendering!
- No dependencies – Use with or without jQuery
- Supports nested and conditional templates
- Support for filter and formatting functions and safe attribute setters
- Variable injection for inline JavaScript expressions
- Degrades gracefully if JavaScript is not enabled
Visit the Tempo website on GitHub and check out some of the very cool and functional uses of Tempo, as well as grab the code.
[via WebAppers]
Speak your mind...