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

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

edit
                                            
1 $group
2 $
3 var sect = {
4 title: 'Wizzi Schemas'
5 };
6 section( §)
7 p A Wizzi Schema apply a type to an mTree.
8 \b It is a definition of a tree data structure inspired by XML Schemas.
9 \b It declares element types, attributes and relations between elements.
10 p It can declare element methods to perform data manipulations or extractions.
11 p From each Wizzi Schema can be generated its own Wizzi Model DOM (see below).
12 p A Wizzi Schema is itself described by an ITTF Document of type `wfschema`,
13 \b implemented in the `wizzi-core` core plugin.
14 ittf-panel
15 title Sample Wizzi Schema
16 schema wfschema
17 ittf
18 wfschema rdbms
19 require inflect
20 e catalog
21 r table/s
22 e table
23 r column/s
24 r index/es
25 m getPluralName
26 return inflect.pluralize(this.wzName)
27 e column
28 a type
29 a caption
30 a defaultValue
31 tag default
32 e index
33 a primary
34 type boolean
35 a unique
36 type boolean
37 r column/s

/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