Fantom
Home
Docs
Blog
Downloads
Tickets
Forum
Login
Signup
All Topics
#156
Brainstorming 27 Sep 07 - Namespace
Collapse All
Expand All
brian
Fri 28 Sep 2007
is namespace a hashmaps of data structures or functions to resolve URIs?
whiteboard - a memory database for sharing serialized objects between threads
is a resource a superclass or a wrapper for a serialized obj on the whiteboard (like an in-memory file)?
is a resource both a directory and a file?
how to structure a tree of resources - or maybe we don't - it is just flat?
fand services are config data objects mounted into whiteboard, then spawn threads via some callback
fand specifies the URI mapping functions? or maybe done on startup via service specific configuration?
brian
Thu 4 Oct 2007
We've nailed down the following semi-final decisions:
Everything in the namespace implements the Resource mixin
fand and ORM objects implement the Resource mixin directly (they aren't boxed inside a Resource)
Resources always know their server absolute URI which determines identity
fand is just tree of serialized services - so we serialize whole tree together
however when we make "copy" of a service for mem database, we don't serialize children - maybe pass Func into writeObj options
sys::MemResource is the key super class for Service
Login
or
Signup
to reply.
brian Fri 28 Sep 2007
brian Thu 4 Oct 2007
We've nailed down the following semi-final decisions: