0

Greetings,

I'm confused about which client-side template engine is recommended by Microsoft.

Microsoft announced the release of a jQuery templating engine, while there's another templating engine created by microsoft, called the DataView component which will be shipped as a part of Microsoft Ajax 4.0 when it's released (it's still in the beta stage).

The two engines have major differences and approaches, which makes me confused because I find it strange that a company creates two products to handle one task.

So, what engine of the two do you recommend?

(The same thing can be said about the MS jQuery globalization plugin and the MS Ajax globalization extensions (Sys.CultureInfo, String.format, Number.format, etc), but this is another story)

Ashraf Sabry
  • 3,081
  • 3
  • 32
  • 29
  • This important article answers my question. One of the answers by Dave Ward says I recommend using jQuery and its plugins for anything you’re starting today. If you need templating, use the jQuery Templating plugin until jQuery 1.5 is released. I'm sad that these great Microsoft client side components are going to be deprecated. – Ashraf Sabry Nov 26 '10 at 19:53
  • Here's another important article about the subject http://stephenwalther.com/blog/archive/2010/03/16/microsoft-jquery-and-templating.aspx – Ashraf Sabry Nov 28 '10 at 17:05

1 Answers1

0

If you are already using (or planning to use) jQuery, then using the jQuery templating engine makes total sense as it will be a familiar approach.

There's some good notes on the Pro's of it here.

i_am_jorf
  • 53,608
  • 15
  • 131
  • 222
scunliffe
  • 62,582
  • 25
  • 126
  • 161
  • Thanks for your reply. In fact, I use both jQuery and MS Ajax/AjaxControlToolkit. In some areas I prefer the former and in others I prefer the latter. But what makes me confused, is why MS made two technologies. – Ashraf Sabry Nov 26 '10 at 15:41