首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

Learning Dojo - 7. dojo.data

2012-11-23 
Learning Dojo-- 7. dojo.data1. Its reading/writing data,of course2. Membersa.Attributesi. data sto

Learning Dojo -- 7. dojo.data
1. It's reading/writing data,  of course

2. Members
  a.Attributes
    i. data store: get data from data source
   ii. data source: some url
  iii. item = row
        identity = id
        label   = the "name" of an item (e.g. "companyName = 'IBM' ") 
        attribute/value = column/value
  b.Operations
        query = where sql operation
       fetch  = get data
        request = sort/limit

3.4 features
   a. Read
   b. Write
   c. Identity => Random Access by Id
   d. Notification => hook the data with events


A widget example

  

 

热点排行