Web pages using a simple tuple store [was : RE: template engine]
Tony Finch
dot@REDACTED
Wed Jun 14 12:59:26 CEST 2006
On Wed, 14 Jun 2006, Joe Armstrong (AL/EAB) wrote:
>
> But this is a *local* operation - let's make this distributed, and
> let's define a protocol on top of HTTP which does this:
>
> This request updates the tuple store:
> http://www.some.server/put/joe/login/region?val=EncodedString
> It returns the OLD value of the tuple (joe,login,region)
> http://www.some.server/get/joe/login/region
> Retrieves the value of the (joe,login,region) tuple
It would be more HTTPish to use HTTP's PUT and GET methods (rather than
encoding this in the URL), so you get well-known semantics.
> If a user is viewing a page and sombody put's a new value the change is
> seen immediately (this needs an ajax lister, for every page, it rpc the
> server and gets a return value if any region on the page is updated)
XMPP is the ideal protocol for this :-)
> RSS feeds
> =========
See the specs produced by the IETF's atompub working group.
http://www.ietf.org/html.charters/atompub-charter.html
Tony.
--
f.a.n.finch <dot@REDACTED> http://dotat.at/
PORTPATRICK: STRONG SOUTH WINDS DEVELOPING IN SHANNON AND ROCKALL, AND STRONG
CYCLONIC WINDS DEVELOPING IN SOUTHEAST ICELAND, ON SATURDAY.
More information about the erlang-questions
mailing list