M
micha
--------------------------------------------------------------
SCOM: Single Class Object Model
------------------------------
----- Programmer's Guide -----
------------------------------
www.terimakasi.com 28 may 2012 - 22:52
https://github.com/terimakasi/scom
--------------------------------------------------------------
1. Introduction
---------------
SCOM is a exercise in style with a 'constructivist' motivation. The
purpose is to design an Model Objet provided
as a Single class (!!), called 'It' (core/root class).
SCOM paradigm is founded on top of 3 'Design Intents':
a. Runtime Semantic Network
---------------------------
SCOM provides an easy and straightforward way to creatr 'semantic
networks' at runtime (much like XML DOM)
The atoms of SCOM semantic networks are RDF-like triples (Subject
--Predicate--> Object).
In SCOM, all 3 parts of the triple are 'It' instances
- 'Subject': is an It instance
- 'Predicate': is an unidirectional relation, it is called a
'facet'
- 'Object': is called a 'facet value'
b. Self evaluation instances
----------------------------
Inspired by functional programming (especially 'Lisp'). Thus
Application behavior is implemented:
- by overriding 'evaluate' method in subclasses of 'It'
- once a subclass implements a method, it could then be added to
an It instance as a 'behavioral facet'
c. Native Adaptative Object Model
---------------------------------
SCOM supports the AOM paradigm (Adaptative Object Model), where
business domain classes are not static like
'regular OOP languages' (e.g: Java, C#/C++) but instead
dynamically created at runtime (much like
classes described by Semantic Web Ontology language: 'Owl')
SCOM: Single Class Object Model
------------------------------
----- Programmer's Guide -----
------------------------------
www.terimakasi.com 28 may 2012 - 22:52
https://github.com/terimakasi/scom
--------------------------------------------------------------
1. Introduction
---------------
SCOM is a exercise in style with a 'constructivist' motivation. The
purpose is to design an Model Objet provided
as a Single class (!!), called 'It' (core/root class).
SCOM paradigm is founded on top of 3 'Design Intents':
a. Runtime Semantic Network
---------------------------
SCOM provides an easy and straightforward way to creatr 'semantic
networks' at runtime (much like XML DOM)
The atoms of SCOM semantic networks are RDF-like triples (Subject
--Predicate--> Object).
In SCOM, all 3 parts of the triple are 'It' instances
- 'Subject': is an It instance
- 'Predicate': is an unidirectional relation, it is called a
'facet'
- 'Object': is called a 'facet value'
b. Self evaluation instances
----------------------------
Inspired by functional programming (especially 'Lisp'). Thus
Application behavior is implemented:
- by overriding 'evaluate' method in subclasses of 'It'
- once a subclass implements a method, it could then be added to
an It instance as a 'behavioral facet'
c. Native Adaptative Object Model
---------------------------------
SCOM supports the AOM paradigm (Adaptative Object Model), where
business domain classes are not static like
'regular OOP languages' (e.g: Java, C#/C++) but instead
dynamically created at runtime (much like
classes described by Semantic Web Ontology language: 'Owl')