Does an implementation of RFC 3229 (Delta encoding for HTTP) exist?
Asked Answered
D

6

21

As mentioned briefly in this article:

http://en.wikipedia.org/wiki/Delta_encoding#Delta_encoding_in_HTTP

which is referenced from here:

https://www.rfc-editor.org/rfc/rfc3229

I'm currently a CompSci student and would like to try this out, partly for research and partly for fun. Google hasn't returned much in terms of further discussion or research.

Devito answered 16/7, 2010 at 11:42 Comment(0)
T
9

This page:

http://www.nullege.com/codes/search/urllib2.Request.add_header/all

appears to be indirect evidence of an RFC 3229 implementation.

Tichonn answered 6/11, 2010 at 11:46 Comment(0)
B
2

A server side example of Delta Encoding can be found here. It was written specifically for WordPress. The code is written in PHP and assumes Apache is the web server. For testing purposes, I would recommend setting up a copy of WordPress and installing this plugin. It would definitely get you started.

In addition, please remember that Delta encoding in HTTP is not yet a standard. If this is going to be used in an actual project, you may want to consider other alternatives. At least until web servers and/or web browsers begin adopting the protocol. Otherwise, you may need to create your own server side and client side code.

Barrows answered 25/10, 2010 at 4:2 Comment(1)
The link above is broken.Degeneration
I
1

Well, there's some information in a blog post. The net result is that there are no implementations, at least none that I can find any evidence of.

Inspiration answered 16/7, 2010 at 13:47 Comment(1)
Well, that's not really an implementation of the RFC; more of a reuse (some would say misuse) of it.Vogeley
S
1

I'm a fan of delta encoding, but not of this specification. I use an approach that treats deltas:

  1. As resources in their own right,
  2. As differences to the state of the resource rather than the bytes in a particular representation

In my experience this significantly simplifies implementation and makes the resulting mechanism more flexible and widely applicable. For example, it allows a delta encoding approach to be used in a static atom feed without php or other dynamic content behind it.

Stolid answered 5/7, 2011 at 13:19 Comment(0)
V
0

AIUI AppliedTheory's DeltaEdge product was an implementation. Not sure what happened to it, though.

Vogeley answered 24/7, 2010 at 12:34 Comment(0)
A
0

it is not implemented in any of the standard web servers, but the same can be achieved be achieved by designing your server side application to make use of ajax efficiently. check the magentocommerce as well as wordpress design for eg.

Agle answered 3/11, 2010 at 14:22 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.