Fantom
Home
Docs
Blog
Downloads
Tickets
Forum
Login
Signup
All Topics
#149
Brainstorming 30 Jul 07
Collapse All
Expand All
brian
Tue 31 Jul 2007
Web Stuff
WebReq.form() - lazily parses application/x-www-form-urlencoded into Str:Str
web::WebClient will manage client side HTTP connections
web::WebFile models a sys::File using HTTP
exists, size, modified: kicks off HEAD request
in: kicks off GET request
out: kicks off PUT request
Uri Stuff
Uri will always be normalized and represented in memory as decoded (spaces, Unicode, etc)
Uri.decode takes encoded URI (%20)
Uri.parse takes normal String (space)
Uri.decodeQuery - used by WebReq.form
File Types
sys::File models storage LocalFile, ZipFile, WebFile
MimeType will model file content and be subclass of Type (icon, registry type, etc)
MimeTypes are dynamic created - maybe from serialization file?
Namespace:
URIs map to the "model" and resolve to Obj
Weblets are views on the model and map into URIs via query param
Registry based approach to map view types to model types
Registry is dynamically configurable
How do we deal with a stateful tree in our threading model?
Namespace nodes might be treated transactionally like detached RowSets
Login
or
Signup
to reply.
brian Tue 31 Jul 2007
Web Stuff
Uri Stuff
File Types
Namespace: