Data Binding in HTML (Data Binding)

xiaoxiao2021-03-06  75

Have you ever thought of using RecordSet in JavaScript? It turns out that the client operation data can also be simple, define a data source, bind the data on a variety of tags, implement application-like effect, cool! (First of all, the content of the article is all from MSDN, but it is concluded with my own words.)

Let's take a look at these two examples:

Http://msdn.microsoft.com/Workshop/samples/author/databind/dbevts.htm

Http://msdn.microsoft.com/workshop/samples/author/databind/dbupdate.htm

I have to admire Microsoft again.

This is the architecture of DataBinding:

Of course, the data binding has the following steps:

In the first step, define the data source from IE4.0, support the following four data sources:

Tabular Data Control (TDC)

TDC provides a simple way to access text data with format, usually CSV files. Here is a simple example:

ID = dsocomposer width = 0 height = 0>

Remote Data Service (RDS)

Remote Data Services, directly accessing the remote server-side data, Internet Explorer 4.0. RDS is implemented by OLE-DB or OPEN DATABASE CONNECTIVITY (ODBC).

Example:

ID = DSOComposer Height = 0 width = 0>

However, it feels a bit safe problem because the client can see this code.

XML Data Source

XML does not say much, use this in IE4.0:

Internet Explorer 5 can be like this:

AccessKey sets or retrieves the accelerator key for the object. < / topic-info> In addition IE also provides an XML Data Island: XML Data Islands.

MSHTML Data Source

HTML data page case:

hector Berlioz
1803

modest < H3 ID = COMPSR_LAST> Moussorgsky