Jquery plug-in-template and Data Binding plug-in

Source: Internet
Author: User

Record this in the group for future reference.

ASP. NET Ajax 4.0 provides the client data binding function. I believe you have heard of it. If you are interested, see using ASP. NET Ajax templates.

We recommend two jquery template plug-ins:

Chain. js

Hackszine.com: chain. js-data binding for jquery
Http://www.hackszine.com/blog/archive/2008/08/chainjs_data_binding_for_jquer.html

Data Binding solution for jquery
Chain. js-Data Binding service for jquery
Interaction. js-drag/drop/sort support for chain. js

Chain. JS is good, and the template can be very clean. It also supports drag, sort, event binding, and so on...

Demos: demosChain. js; DemosInteraction. js;

Result After clicking execute:

There is also one:

Jtemplates-Template engine in Javascript
Http://jtemplates.tpython.com/

This is a bit attention and requires additional tags in the template! For example:

{# TemplateMain}
<Div ID= "Header"> {$ T. Name} </Div>
<Table>
{# Foreach $ T. TableAsR}
{# IncludeRowRoot=$ T. R}
{#/}
</Table>
{#/TemplateMain}

{# TemplateRow}
<Tr Bgcolor="{# Cycle Values=['# Aaaaee', '# ccccff']}">
<TD> {$ T. Name. Bold()} </TD>
<TD> {$ T. Age} </TD>
<TD> {$ T. Mail. Link('Mailto: '+$ T. Mail)} </TD>
</Tr>
{#/TemplateRow}
Of course, looking at these tags, you can know that this may be stronger in template processing .... there are several other plug-ins for data binding on jquery clients of the same type, with relatively poor functions ....

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.