Ticket #6131 (closed enhancement: fixed)

Opened 5 months ago

Last modified 2 months ago

Addition of HTTP semantics based cometd transport: HTTP Channels

Reported by: kriszyp Owned by: kriszyp
Priority: normal Milestone: 1.2
Component: DojoX Cometd Version: 1.1b1
Severity: normal Keywords: cometd, http channels, rpc, rest, dojo.data
Cc: alex

Description (last modified by dylan) (diff)

This ticket is for the addition of a HTTP based cometd transport that utilizes the semantics of HTTP for metadata, message encapsulation, and REST information. This is mainly to provide visibility for this project that I am working on, and see if there is any feedback on it. This transport will implement the required methods for a cometd transport, and automatically plugs in as a cometd transport called "http-channels". The transport will be capable of running standalone and providing additional functionality beyond that of cometd like requesting a resource and subscribing to it at the same time. This transport can also optionally function as an enhancement to the RPC service's REST transport, to provide a means for "live" data access. Authors will be able to use the REST service, and then receive notifications of resource modifications as data changes. This will allow JsonRestStore? to provide a live view of RESTful data, resource changes will be propagated as dojo.data notification events. This addition will also involve some corrections to dojox.cometd._base to improve support for additional transports.

Attachments

channels.diff (18.3 kB) - added by kriszyp 4 months ago.
HTTP Channels

Change History

Changed 5 months ago by jaredj

Who is implementing this? Who should it be assigned to?

Changed 5 months ago by kriszyp

I am implementing it, I just filed the ticket so it would have a ticket and I could see if there are any concerns/issues related to it. This is cometd (so maybe Alex), but it will have an effect on RPC (maybe Dustin) and some of the dojox.data stores, so I am not sure who it should be assigned to.

Changed 5 months ago by kriszyp

Or obviously it could be assigned to me, just wasn't sure if you wanted it assigned to a committer.

Changed 5 months ago by jaredj

  • owner changed from jaredj to kriszyp

I'll just assign it over to you, since you're doing it.

Changed 4 months ago by kriszyp

HTTP Channels

Changed 3 months ago by dylan

  • cc alex added
  • description modified (diff)

Kris, I've noticed some code blocks commented out in a few places. Should those be removed?

Alex, can we get a code review on this patch please?

Changed 3 months ago by alex

  • component changed from DojoX Data to DojoX Cometd

Changed 2 months ago by kzyp

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

(In [14136]) fixes #6131

Note: See TracTickets for help on using tickets.