Table of Contents
The History
Dan wanted to create some apps and other software related to web technology and he created Wpower Framework (web-powered lib) for running with Browser Run-time, and Wpower.js Framework (web-powered lib for Node.js) to run with Node.js Run-time.
Some related terms:
- Library: eg. CodeMirror; some functionalities to use
- Runtime: eg. Browser API, Node.js API; a set of libraries (modules) with many fundamental functionalities inside
- Framework: eg. this Wpower; a library with specific usage order, to run on a run-time
- Studio: eg. Webstuo; IDE with some frameworks ready to make apps
Design Principals
- Wpower has everything needed to render a full app with HTML/CSS and only a minimal logic usually related to data, server APIs, are in controller.
Dependencies
CVM
Wpower is designed around the MVC concept, however, the order is different as per author:
- Controller first, ‘cause logic creates everything including UI
- View second, which is the UI, created by UI manager (cvm.js file), controller
- Model last, is data and not all UIs must come with data
Reserved Identifiers
The following identifiers are bound to window. by the framework and should not be used by app: