@hotrannam
 Templates
 Data Link
 Globalization
 Shipped as plugins in jQuery 1.4.3
 Included as core in jQuery 1.5
 A template contains markup with binding
expressions
 Binding expressions are wrapped in new tags
calledTemplate tags
 ...
 .tmpl([ data ], [ options ])
 jQuery.tmpl(template, [ data ], [ options ] )
 .tmplItem()
 jQuery.tmplItem(element )
...
 ${}
 {{html}}
 {{if}}
 {{else}}
 {{tmpl}}
 {{wrap}}
 A .NET data binding at the client side
 One way and two way
 Conversion is supported
 .link( target, [ settings ] )
 .unlink( target )
 Available soon… 
 API Documentation
jQueryTemplates API – http://api.jquery.com/category/plugins/templates/
jQuery Data Link API – http://...
jQuery plugins - templates, data link, globalization
jQuery plugins - templates, data link, globalization
Upcoming SlideShare
Loading in...5
×

jQuery plugins - templates, data link, globalization

2,600

Published on

jQuery plugins - templates, data link, globalization

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

  • Be the first to like this

No Downloads
Views
Total Views
2,600
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
27
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

jQuery plugins - templates, data link, globalization

  1. 1. @hotrannam
  2. 2.  Templates  Data Link  Globalization
  3. 3.  Shipped as plugins in jQuery 1.4.3  Included as core in jQuery 1.5
  4. 4.  A template contains markup with binding expressions  Binding expressions are wrapped in new tags calledTemplate tags  Templates are applied to data  Render into the DOM as the way jQuery does Note: tested on jQuery 1.4.2
  5. 5.  .tmpl([ data ], [ options ])  jQuery.tmpl(template, [ data ], [ options ] )  .tmplItem()  jQuery.tmplItem(element )  .template([ name ])  jQuery.template(name, template )  .empty()
  6. 6.  ${}  {{html}}  {{if}}  {{else}}  {{tmpl}}  {{wrap}}
  7. 7.  A .NET data binding at the client side  One way and two way  Conversion is supported
  8. 8.  .link( target, [ settings ] )  .unlink( target )
  9. 9.  Available soon… 
  10. 10.  API Documentation jQueryTemplates API – http://api.jquery.com/category/plugins/templates/ jQuery Data Link API – http://api.jquery.com/category/plugins/data-link/  Download jQueryTemplates – http://github.com/jquery/jquery-tmpl jQuery Datalink – http://github.com/jquery/jquery-datalink jQuery Globalization – http://github.com/jquery/jquery-global  Demo GitHub – http://github.com/hotrannam/jquery-in-rails
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×