Ticket #5987 (closed enhancement: fixed)

Opened 9 months ago

Last modified 6 months ago

[patch][cla] ServiceStore - dojo.data implementation for dojox.rpc.Service instances

Reported by: kriszyp Owned by: dmachi
Priority: normal Milestone: 1.2
Component: Dojox Version: 1.0
Severity: normal Keywords: rpc data
Cc:

Description (last modified by kriszyp) (diff)

ServiceStore? and it's subclasses are a dojo.data implementation for dojox.rpc.Service instances. Fetches are routed through the service and the returned results are used as the data behind the API. ServiceStore? also has a subclass JsonRestStore?, which provides read/write capabilities using the Rest service in dojox.rpc.Rest. JsonRestStore? has two subclasses, PersevereRestStore? and CouchDBStore, which have adjustments for minor differences in handling certain behavior for these two Json Rest storage systems. JsonRestStore? relies on dojox.rpc.JsonReferencing? to handling indexing and reference resolving. This allows indexing, reference resolving, and lazy loading capabilities to be usable from any RPC service independent of dojo.data implementations. Alternate referencing schemes could also be created and used with the same data stores and services. ServiceStore? does not require JsonReferencing?, but if it is included, ServiceStore? will support lazy loading.

Attachments

rest.diff (47.3 kB) - added by kriszyp 6 months ago.
Service and REST Stores

Change History

Changed 9 months ago by dylan

  • summary changed from ServiceStore - dojo.data implementation for dojox.rpc.Service instances to [patch][cla] ServiceStore - dojo.data implementation for dojox.rpc.Service instances
  • milestone changed from 1.1 to 1.2

Changed 7 months ago by guest

Hi, I guess this should probably be a stand-alone bug, but since this piece is so new, I wasn't sure if I should bother since you might still be dev'ing it. Anyway, there is a naming issue that causes a 404 not found error for PersevereRestStore.js. Here are the details:

2008-05-03 nightly build

  • PersevereRestStore.js is found in dojox/rpc in this build. However, within itself it is declaring & providing itself as dojox/data
  • Additionally, the tests in rpc/tests are trying to load the file from dojox/data, rather than dojox.rpc.
  • Looks like someone moved the files & didn't fix the declares/provides/requires....this manifests with a 404 http error trying to get the file dojox/data/PersevereRestStore.js if you run test_dojo_data_model_persevere.html.

Thanks ... let me know if I should open a bug for this type of thing in the future...

Dylan Tynan dtynan@…

Changed 7 months ago by guest

Ugh... try again: dtynan@gmail.com

Changed 7 months ago by kriszyp

  • description modified (diff)

This patch is dependent on http://trac.dojotoolkit.org/ticket/6463

Changed 6 months ago by kriszyp

Service and REST Stores

Changed 6 months ago by BryanForbes

  • status changed from new to closed
  • resolution set to fixed

(In [13844]) fixes #5987, fixes #6463 !strict

  • Applying Kris Zyp's (cla on file) patches for RPC and RESTful Stores.
Note: See TracTickets for help on using tickets.