L                             H TM                        ND               ER T   A            ND IP          RE S CR     ...
WHY TEMPLATES?
JSRENDER – JQUERY VERSION//Define template//Client
RENDERING A TEMPLATE REQUIRES THREE ASPECTS• Template• Data• Container
JSRENDER – PURE JAVASCRIPT
RENDERING TEMPLATES - 1
RENDERING TEMPLATES - 2
RENDERING TEMPLATES - 3
JSRENDER FUNDAMENTALS
EXAMPLE
DRILLING INTO HIERARCHICAL DATA
CONDITIONALS, EXPRESSIONS AND OPERATORS
USING COUNTERS AND COMPLEX CONDITIONALEXPRESSIONS
ITERATE MULTIPLE ARRAYS TOGETHER
NESTED TEMPLATES
REFERENCEArticlehttp://msdn.microsoft.com/en-us/magazine/hh882454.aspxGithub Projecthttps://github.com/BorisMoore/jsrender
Upcoming SlideShare
Loading in …5
×

JSRender

3,554 views

Published on

using jsrender with javascript and html

Published in: Technology, Business
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,554
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
40
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

JSRender

  1. 1. L H TM ND ER T A ND IP RE S CR JS A G AV IN JUS ITH WRAKE D
  2. 2. WHY TEMPLATES?
  3. 3. JSRENDER – JQUERY VERSION//Define template//Client
  4. 4. RENDERING A TEMPLATE REQUIRES THREE ASPECTS• Template• Data• Container
  5. 5. JSRENDER – PURE JAVASCRIPT
  6. 6. RENDERING TEMPLATES - 1
  7. 7. RENDERING TEMPLATES - 2
  8. 8. RENDERING TEMPLATES - 3
  9. 9. JSRENDER FUNDAMENTALS
  10. 10. EXAMPLE
  11. 11. DRILLING INTO HIERARCHICAL DATA
  12. 12. CONDITIONALS, EXPRESSIONS AND OPERATORS
  13. 13. USING COUNTERS AND COMPLEX CONDITIONALEXPRESSIONS
  14. 14. ITERATE MULTIPLE ARRAYS TOGETHER
  15. 15. NESTED TEMPLATES
  16. 16. REFERENCEArticlehttp://msdn.microsoft.com/en-us/magazine/hh882454.aspxGithub Projecthttps://github.com/BorisMoore/jsrender

×