-
Notifications
You must be signed in to change notification settings - Fork 1
Home
![Encapsule Project onm Library](wiki/ivory_sphere_250x250.jpg "Encapsule Project onm Library "Encapsule Project onm Library")
- GitHub: Encapsule/onm • (MIT License)
- Package: npm install onm
- JSFIDDLE examples: http://jsfiddle.net/user/Encapsule
- Test App: http://schema.encapsule.org
- Discussion: ONMjs Google Group
- News: http://blog.encapsule.org
- Twitter: @Encapsule
Articles in this section introduce the core concepts and programming model of the onm library.
Applications that leverage onm are based on the Model-Store-Observe-Feedback-Signal pattern - a more granular and powerful alternative to Model-View-Controller.
Applications that leverage onm model their data declaratively to unlock the power of data addressing and introspection.
- Getting Started
- Hierarchical Namespace Declarations
- Extension Point and Component Declarations
- Recursive Namespace Hierarchies
- Namespace Property Declarations
- Application-Specific Meta-Data Declarations
- Semantic Bindings
All data managed my onm is addressed via resource identifiers enabling the creation of decoupled, generic, and composable subsystems.
- Getting Started
- Address Space Concept
- Address Paths, Path ID's, and Keys
- onm.Address Class
- String Representation of Addresses
onm provides powerful powerful infrastructure for managing and working with your data generically.
- Getting Started
- Store Objects
- Namespace Objects
- JSON Import & Export
- Namespace Addressing
- Component Enumeration
- Namespace Enumeration
- Using Multiple Stores
- Building Custom Stores
Applications that leverage onm are reactive, event-driven systems, actuated by internal and external changes to data that are communicated to your application via signals.
Building onm-based applications involves writing observer subroutines that monitor and react to data changes.
- Getting Started
- Observer Definition Syntax
- Data Change Event Signal Monitoring
- Reacting to Data Change Event Signals
- Managing Observer Run-Time State Data
- Inter-Observer Communication
- Advanced Scenarios
Guide to onm core library objects and methods included in the ONMjs-lib-core-*.js packages.
- Construction
- Properties
- Data API Methods
- Observer Registration API Methods
- Observer Helper API Methods
- Utility API Methods
- Construction
- Properties
- Bound Model API Methods
- String Representation API Methods
- Address Creation API Methods
- Address Visitor API Methods
- Utility API Methods
- Construction
- Properties
- Data API Methods
- Address API Methods
- Semantic Binding API Methods
- Observer Helper API Methods
Observer objects are included in ONMjs-lib-observer-*.js packages and are not required. Currently, all of these objects depend the Knockout.js MVVM framework.
For now, these are direct links to the source CoffeeScript implementation files. Or, you can browse the compiled JavaScript of you prefer.
Please post questions to the ONMjs Googgle Group.
- onm.observers.GenericTest Object
- onm.observers.NavigatorModelView Object
- onm.observers.SelectedJsonModelView Object
-
onm.observers.SelectedNamespaceModelView Object
- onm.observers.SelectedNamespaceActionsModelView Object
- onm.observers.SelectedNamespaceChildrenModelView Object
- onm.observers.SelectedNamespaceCollectionModelView Object
- onm.observers.SelectedNamespaceComponentModelView Object
- onm.observers.SelectedNamespaceImmutablePropertiesModelView Object
- onm.observers.SelectedNamespaceMutablePropertiesModelView Object
- onm.observers.SelectedNamespaceTitleModelView Object
- onm.observers.SelectedPathModelView Object
- onm.observers.helpers.AddressSelectionLinkModelView Object
- onm.observers.helpers.CallbackLinkModelView Object
Copyright (C) 2013 Christopher D. Russell