Project Docs Github
Log in
ittf site docs concepts t overview wizzimodeldom.html.ittf Edit
  • /ittf/site/docs/concepts/t/overview/wizzimodeldom.html.ittf
  • /ittf/site/docs/concepts/t/section.html.ittf

/ittf/site/docs/concepts/t/overview/wizzimodeldom.html.ittf (primary)

edit
                                            
1 $group
2 $
3 var sect = {
4 title: 'Wizzi Model Doms'
5 };
6 section( §)
7 p From schemas Wizzi can generate javascript code
8 \b that loads, validates, manipulates and retrieves the data of an mTree.
9 p Instances of Wizzi Model DOMS, called Wizzi Model instances (see below), can be passed to ITTF Processors,
10 \b model transformers and artifact generators as context objects.
11 p A generated Wizzi Model DOM is a javascript module that can contain autogenerated and user defined methods.
12 \b Autogenerated methods perform loading and validation.
13 \b User defined methods can traverse, filter and manipulate data.
14 div
15 + In a Wizzi Model DOM:
16 ul
17 li An element may have one super element and many derived elements,
18 \b may be abstract or concrete and may have a name, attributes and methods.
19 li Relationships are one-to-many (default) and one-to-one. They
20 \b do not have attributes. Both imply ownership of contained (child) elements:
21 \b arrays (one-to-many) and properties (one-to-one).
22 li An attribute has a value of a primitive type.
23 $*
24 ul The tree structure of a Wizzi Model DOM is mapped to a
25 \b javascript <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Introduction_to_Object-Oriented_JavaScript"> class</a>, where:
26 li Elements are classes.
27 li Attributes are properties of element classes.
28 li Methods are properties of element classes.
29 li One-to-many relationships are arrays of element classes on the related element class.
30 li One-to-one relationships are element classes on the related element class.
31 li Attributes and relationships are inherited from super elements.
32 *$

/ittf/site/docs/concepts/t/section.html.ittf

edit
                                            
1 $group
2 $params §
3 article
4 . doc-title
5 id ${sect.id}
6 + ${sect.title}
7 . doc-summary
8 $hook
Save
Save & Refresh
Cancel