Version 15, changed by brian 01/18/2006. Show version history
This is a page for discussion about Dojo work towards having a:
terminology comparison chart: http://openrecord.org/dojo/2006-01-09/data_model_comparison.html
Data Provider: Widgets in the UI layer can be bound to a Data Provider, and the Data Provider provides data in a standard representation, independent of what Data Transport is being used. The Data Provider maintains a cache. When the UI layer asks for data from the Data Provider, the Data Provider may be able to satisfy the request out of its cache, without using a Data Transport to talk to the server. The Data Provider is smart enough to know when it can handle a request using the cache, and when it needs to hit the server.
Data Set: A collection of Data Items
Data Transport: Remote or local persistent place to get and put data from. A Data Transport returns data in whatever format the server finds convenient -- could be XML, or JSON, or whatever. The Transport will be fairly dumb, but may know enough to impose some limits on the amount of data coming from the server.
Data Item: A dictionary of values, keyed by attribute (or attribute name). The Data Item may be able to return meta-data about itself, or about its attributes. -- implementing a set of common methods (getKey, getValue, getLabel)?Data Value: something like 5, "foo", 7/19/2005, or .._ A data Value might also have some meta-data, including things like ValueType (number, string, date, etc.), what user created the value, and when.