Shall we use HTML 5 Template instead of the JQuery Template?

Sep 28, 2011 at 6:06 PM

Hi,

Shall we use HTML 5 Template instead of the JQuery Template?

Best Regards

Developer
Sep 29, 2011 at 3:30 PM

Hi,

From the Architecture chapter of the Silk MSDN documentation,

"Client-side UI structure can be generated with JavaScript, loaded on demand from the server, or rendered by a plug-in or a library. Initially, the team tried on-demand loading of granular HTML fragments from the server. This approach was motivated by the team's desire to limit the creation of HTML to a single location. However, this approach failed to provide the desired result, so the team changed tactics and used jQuery templates instead. See Chapter 7, "Manipulating Client-Side HTML" for a full explanation of this choice."

Inside the chapter mentioned in thsi note, you might find the following sections especially useful, as they explain the Silk team's decision to use jQuery Templates. Considering this information, you could decide which mechanism to use to fulfill this scenario:

I hope you find this helpful.

Guido Leandro Maliandi
http://blogs.southworks.net/gmaliandi

Oct 7, 2011 at 8:14 AM

Hi GuidoMaliandi,

Before, I read old version.