html/css is fast evolving and covering gaps in building of complex web apps. The key gaps that remain are
- persistent datastore for objects / content
- partial loading of code (require pattern) / ajax
- built-in app / site structure and navigation
- built-in authoring of structured content
- user authentication and session management
- server-side objstore to handle all json objects: an object is a json object with a "type" and "id" that will identify itself
- for authoring, a metadata driven form structure will be there: the metadata will have properties and fields (description of properties)
- authentication and session management will be done via cookies (sid) - sessions will be saved in a sqlite db
- every object type will have its persistence model (a db table or folder)
- foreign key validation will be done to maintain integrity of the data
objstore.cgi GET {type, id, sid} objstore.cgi POST {type, id, sid, json}
session.cgi POST {user, password} (returns sid)
list.cgi GET {type, filters, limit[start, page], sid}
"type" {id, properties[{id, name, type, {options}}, permissions[{role, read, write, create}]) "user" {id, password, roles[]} "role" {id} "page" {html, css, js}