Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

jQuery plugins - templates, data link, globalization

on

  • 2,757 views

jQuery plugins - templates, data link, globalization

jQuery plugins - templates, data link, globalization

Statistics

Views

Total Views
2,757
Views on SlideShare
2,687
Embed Views
70

Actions

Likes
0
Downloads
26
Comments
0

1 Embed 70

http://altnetsaigon.wordpress.com 70

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

jQuery plugins - templates, data link, globalization jQuery plugins - templates, data link, globalization Presentation Transcript

  • jQuery plugins come from Microsoft
    @hotrannam
  • What are they?
    Templates
    Data Link
    Globalization
  • Roadmap
    Shipped as plugins in jQuery 1.4.3
    Included as core in jQuery 1.5
  • jQuery Templates
    A template contains markup with binding expressions
    Binding expressions are wrapped in new tags called Template tags
    Templates are applied to data
    Render into the DOM as the way jQuery does
    Note: tested on jQuery 1.4.2
  • API
    .tmpl([ data ], [ options ])
    jQuery.tmpl(template, [ data ], [ options ] )
    .tmplItem()
    jQuery.tmplItem(element )
    .template([ name ])
    jQuery.template(name, template )
    .empty()
  • Template tags
    ${}
    {{html}}
    {{if}}
    {{else}}
    {{tmpl}}
    {{wrap}}
  • Demo
  • jQuery Data Link
    A .NET data binding at the client side
    One way and two way
    Conversion is supported
  • API
    .link( target, [ settings ] )
    .unlink( target )
  • Demo
  • jQuery Globalization
    Available soon… 
  • References
    API Documentation
    jQuery Templates API – http://api.jquery.com/category/plugins/templates/
    jQuery Data Link API – http://api.jquery.com/category/plugins/data-link/
    Download
    jQuery Templates – 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