 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
micha Guest
|
Posted: Mon Jun 11, 2012 10:47 pm Post subject: Single Class Object Model - new release |
|
|
--------------------------------------------------------------
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') |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|