Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!postnews.google.com!b1g2000vbb.googlegroups.com!not-for-mail From: micha Newsgroups: comp.lang.java.programmer Subject: Single Class Object Model - new release Date: Mon, 11 Jun 2012 15:45:42 -0700 (PDT) Organization: http://groups.google.com Lines: 43 Message-ID: NNTP-Posting-Host: 78.245.44.15 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1339454835 1977 127.0.0.1 (11 Jun 2012 22:47:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 11 Jun 2012 22:47:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b1g2000vbb.googlegroups.com; posting-host=78.245.44.15; posting-account=hm5crAoAAADluICY4BUEtpatfVdXh3wT User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5,gzip(gfe) Xref: csiph.com comp.lang.java.programmer:15210 -------------------------------------------------------------- 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')