Basic goal is to create a design center around a RESTful API to unify access to:
Basic principles:
Mounting:
Initial read always done via Uri:
User u := `/db/users/brian`.get
A component's namespace such as Sidewalk would assume it could be any mount point (like a Servlet):
Topic t := `topic/123`.get(this)
Resource might look something like:
mixin Resource { Uri uri() Void refresh() Resource create(Resource template) Void update() // merge? collisions? Void delete() // something to expose transactions (EJB, T-Space style?) Resource[] list() Resource[] query(Resource template) }
We'd mount anything of interest into the namespace:
/env // env variables /thread/x // all the threads (like Plan9 /proc) /pod/icon // access pod resources /file // file system
Serialization
Login or Signup to reply.
brian Fri 17 Aug 2007
Basic goal is to create a design center around a RESTful API to unify access to:
Basic principles:
Mounting:
Initial read always done via Uri:
A component's namespace such as Sidewalk would assume it could be any mount point (like a Servlet):
Resource might look something like:
We'd mount anything of interest into the namespace:
Serialization