Professional Documents
Culture Documents
Application Architecture
Application Architecture
Application Architecture
Architecture Diagram:
The sandbox ensures a consistent interface. Modules can rely on the methods to always be there
Sandbox Job:
Consistency
Security
communication
Application Core:
The application core tells a module when it should initialize and when it should shutdown.
Sample code:
Register modules in the core:
Example code to register timeline, timeline-filter and status-poster modules:
Application Core Jobs:
Error handling
Ajax communication
New module capabilities
General utilities
Anything!
Example Ajax extension jobs:
Example libraries
Browser normalization
General-purpose utilities
o Parsers/serializers for xml, json, etc.
o Object manipulation
o DOM manipulation
o Ajax communication
Provide low-level extensibility