Difference between revisions of "ARK2/View"

From ARK
Jump to: navigation, search
(View Tables/Classes)
(View Elements)
Line 6: Line 6:
  
 
Basic Elements
 
Basic Elements
- Widget
+
* Widget - An object embedded in a page, e.g. a form element, text element, button, etc
- Field
+
* Field - A widget that is linked to a specific Attribute in a Schema and inherits its behaviour from that Attribute, e.g. an Actor's name is a text field with defined size constraints
- Nav
+
* Nav - A widget that is used for site navigation, e.g. a clickable link with or without an icon
  
 
Compound Elements
 
Compound Elements
  - Grid
+
* Page - A layout of other elements in a page, with standard elements such as header, sidebar, footer, and content
- Form
+
* Grid - A layout of other elements in rows and columns, both basic and compound
- Table
+
* Form - An HTML5 Form
- Tree
+
* Table - An HTML5 Table
- Page
+
* Tree - Currently not implemented, a layout of other elements in a hierarchical tree
  
 
== View Tables / Classes ==
 
== View Tables / Classes ==

Revision as of 15:59, 19 March 2018

VIew

ARK2 provides a table driven configuration of View Elements such as Pages, Forms and Tables. View Elements can be nested to build up

View Elements

Basic Elements

  • Widget - An object embedded in a page, e.g. a form element, text element, button, etc
  • Field - A widget that is linked to a specific Attribute in a Schema and inherits its behaviour from that Attribute, e.g. an Actor's name is a text field with defined size constraints
  • Nav - A widget that is used for site navigation, e.g. a clickable link with or without an icon

Compound Elements

  • Page - A layout of other elements in a page, with standard elements such as header, sidebar, footer, and content
  • Grid - A layout of other elements in rows and columns, both basic and compound
  • Form - An HTML5 Form
  • Table - An HTML5 Table
  • Tree - Currently not implemented, a layout of other elements in a hierarchical tree

View Tables / Classes

ark_view_cell - ARK\View\Cell
ark_view_element - ARK\View\Element
ark_view_field - ARK\View\Field
ark_view_form - ARK\View\Form
ark_view_group - ARK\View\Grid
ark_view_nav - ARK\View\Nav
ark_view_page - ARK\View\Page
ark_view_table - ARK\View\Table
ark_view_tree - ARK\View\Tree
ark_view_type - ARK\View\Type
ark_view_widget - ARK\View\Widget