WebUI Cheat Sheet

Overview

The purpose of this document is to give the webui template coder who is already familiar with the principles of data modeling and dependency injection enough information to use Spiralcraft to create web applications.

   * Mike says "everything is a Type"

Type Mapping System

Spiralcraft.lang is designed to map types from different type systems into a single application namespace. It does this for Java Objects by mapping them into the URI space under the class scheme. When Java Objects are published into the Focus Chain they can be resolved using their fully qualified package name plus classname converted to a URI format.

A Spiralcraft Type is a type that is defined using Spiralcraft.data. Spiralcraft.lang doesn't define types, lang simply maps names to available resources. The point of Spiralcraft.lang is to be able to expose different type systems into the application so they can be integrated together. To do this, Spiralcraft.lang uses a convention that maps application components to URIs.