Introduction


The WikkaWiki core communicates with the following:

Visitor


Available interactions are divided in input and output.
The visitor/user, by default, should be able to upload and download Files.
The visitor/user, by default, should be able to sent and receive Cookies.
The visitor/user sends Requests (URLs exist always) as input.
The visitor/user can accept (X)HTML, RSS/Atom, JSON.

Storage


Available interactions with the storage system are simple. The core asks for some data
and the storage system is responsible for retrieving them. The interesting part is how
the whole "architecture" of the process, which stems directly from the "things" we need
to have the data for the core to operate and emit the required results. The "things" the
core will need from the storage are divided into building blocks and relationships.

The building blocks are defined as [block name|data columns]:
The relationships are:

Core Program Flow


Sketch skeleton for Core Actions on user visit.
This can and should obviously go into much more detail.
  1. Setup running environment
    1. Get Program Components
    2. Get Configuration
    3. Get Storage
  2. User Authentication
    1. Retrieve Cookie
    2. Setup Session
    3. Get User from storage
    4. Validate User
    5. Create User Object
    6. Recreate Sesion
  3. Identify Request
    1. Analyze URL
    2. Get User Requirements (eg: which page ? / how to show that page ?)
    3. Get controlling body of code (eg: handler, action commonly known as controller)
    4. Retrieve Data from Storage
    5. Perform operations on Data
  4. Send Output



CategoryDevelopmentSuggestions
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki