jQuery and templates (Microsoft like jQ)

Category: Technology |

10 May 2010

Microsft again confirm their contribution to jQuery. In new version of Visual Studio 2010 newly created projects, have jQuery library included by default. How cool is that. Now have another confirmation of their contribution - client templating and data binding with jQuery.

The new proposal slightly reminds me Smarty for PHP where you can separate code from the presentation layer but in this case it is done on the client side. I have tested that solution already and I am looking forward to use that in the future projects.

If you have data in JSON this is the fastest and cleanest way (IMHO) to display the data. What I really like (this is also the main principle of the solution) that you don't mix HTML tags wit JS code.

More about jQuery templates and how to use the prototype you can read on Scott Guthrie's blog.

Tags: asp.net jQuery

Comments

blog comments powered by Disqus

Flickr

  • Sunrise over velvet clouds.
  • Tree and clear, dark sky.
  • Ruins of a shelter. The entrance.
  • Sunrise over the Howth, view from Sutton

blog categories

worth visiting

netvibes
Cool, customizable rss feeds agregator