social-p2p
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Social-p2p] Moving "mount" out of the core


From: Miron Cuperman
Subject: [Social-p2p] Moving "mount" out of the core
Date: Sun, 18 Jul 2010 10:28:58 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100527 Lightning/1.0b1 Thunderbird/3.0.5

Here are my design notes for the change we decided on:

Moving mount from core to UI
============================

* "mount" and "unmount" are no longer in the core API

* mount and unmount are utility functions in the UI library

* ui2core API change:

  request(max, path, order [, seek_path])
becomes
  request(route, meta_data, max, order [, seek_path])

meta_data would currently contain the remote_path.

Once we have crypto, meta_data would be encrypted to the target UI.

* ui2core new API:

  send(route, path)

* incoming core2core "send" causes the core to store the data in
/inbox/<seq> and triggers a ui2core event

* UI library examines each incoming event and performs a put, then a
delete on /inbox/<seq>

* ui2core "put" no longer has the "push" option

-- 
Miron Cuperman

http://hyper.to/blog/link/category/the-new-web/reputations/

http://groups.fsf.org/wiki/User:Miron2


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]