1318 |
alexandre_ |
1 |
Existing Features
|
|
|
2 |
* can import data from .json or .csv format files
|
|
|
3 |
* can import data from del.icio.us
|
|
|
4 |
* can create and modify data programmatically
|
|
|
5 |
* can bind data to dojo.widget.Chart
|
|
|
6 |
* can bind data to dojo.widget.SortableTable
|
|
|
7 |
* can bind one data set to multiple widgets
|
|
|
8 |
* notifications: widgets are notified when data changes
|
|
|
9 |
* notification available per-item or per-resultSet
|
|
|
10 |
* can create ad-hoc attributes
|
|
|
11 |
* attributes can be loosely-typed
|
|
|
12 |
* attributes can have meta-data like type and display name
|
|
|
13 |
* half-implemented support for sorting
|
|
|
14 |
* half-implemented support for export to .json
|
|
|
15 |
* API for getting data in simple arrays
|
|
|
16 |
* API for getting ResultSets with iterators (precursor to support for something like the openrico.org live grid)
|
|
|
17 |
|
|
|
18 |
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
19 |
To-Do List
|
|
|
20 |
* be able to import data from an html <table></table>
|
|
|
21 |
* think about being able to import data from some type of XML
|
|
|
22 |
* think about integration with dojo.undo.Manager
|
|
|
23 |
* think more about how to represent the notion of different data types
|
|
|
24 |
* think about what problems we'll run into when we have a MySQL data provider
|
|
|
25 |
* in TableBindingHack, improve support for data types in the SortableTable binding
|
|
|
26 |
* deal with ids (including MySQL multi-field keys)
|
|
|
27 |
* add support for item-references: employeeItem.set('department', departmentItem);
|
|
|
28 |
* deal with Attributes as instances of Items, not just subclasses of Items
|
|
|
29 |
* unit tests for compare/sort code
|
|
|
30 |
* unit tests for everything
|
|
|
31 |
* implement item.toString('json') and item.toString('xml')
|
|
|
32 |
* implement dataProvider.newItem({name: 'foo', age: 26})
|
|
|
33 |
* deal better with transactions
|
|
|
34 |
* add support for deleting items
|
|
|
35 |
* don't send out multiple notifications to the same observer
|
|
|
36 |
* deal with item versions
|
|
|
37 |
* prototype a Yahoo data provider -- http://developer.yahoo.net/common/json.html
|
|
|
38 |
* prototype a data provider that enforces strong typing
|
|
|
39 |
* prototype a data provider that prevents ad-hoc attributes
|
|
|
40 |
* prototype a data provider that enforces single-kind item
|
|
|
41 |
* prototype a data provider that allows for login/authentication
|
|
|
42 |
* have loosely typed result sets play nicely with widgets that expect strong typing
|
|
|
43 |
* prototype an example of spreadsheet-style formulas or derivation rules
|
|
|
44 |
* experiment with some sort of fetch() that returns only a subset of a data provider's items
|
|
|
45 |
|