Jump to content

ATK Reference: Difference between revisions

From NusaATK
No edit summary
mNo edit summary
 
(39 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<div align=right style="float: right; padding: 20px;">__TOC__</div>
<div align=right style="float: right; padding: 20px; padding-top: 100px;">__TOC__</div>
This part of the wiki is intended to supply a complete reference to every part of ATK.<br />
This part of the wiki aims to provide high level documentation on every part of ATK.<br />
It aims to provide high level documentation on every part of ATK.<br />
For further detailed information about the objects/methods and functions of ATK, please visit the [http://www.atk-framework.com/docs/atk/trunk/ ATK API documentation].
For further detailed information about the objects/methods and functions of ATK, please visit the [http://achievo.org/docs/atk/latest/ ATK API documentation].


== Reference categories ==
== Reference categories ==
Line 8: Line 7:
|-
|-
| valign="top" |
| valign="top" |
=== [[ATK Reference Modules|Modules]] ===
=== [[ATK Module|Modules]] ===
ATK is a modular framework and as such all functionality in ATK applications reside in modules.
ATK is a modular framework and as such all functionality in ATK applications reside in modules.
<!--An [[example module.inc file]] [[Module Flags]] -->


=== [[ATK Reference Attributes|Attributes]] ===
=== [[ATK Attributes|Attributes]] ===
A node is built with attributes. Attributes are comparable to datatypes of fields in the database. They describe the content and house all functionality for dealing with that content.
A node is built with attributes. Attributes are comparable to datatypes of fields in the database. They describe the content and house all functionality for dealing with that content.
<!--[[List of attributes]][[Attribute Flags]][[Attribute-level Security]]-->


=== [[ATK Reference Actions|Actions]] ===
=== [[ATK Actions|Actions]] ===
In order to use a node ATK uses 'actions', these include but are not limited to [http://en.wikipedia.org/wiki/CRUD_%28acronym%29 CRUD] functions of a database (corresponding to the Add, View, Update and Delete actions in ATK).
In order to use a node ATK uses 'actions', these include but are not limited to [http://en.wikipedia.org/wiki/CRUD_(acronym) CRUD] functions of a database (corresponding to the Add, View, Update and Delete actions in ATK).


=== [[ATK Reference GUI|Graphical User Interface]] ===
=== [[ATK UI|User Interface]] ===
ATK posesses serveral methods of output handling and automated generating of a GUI.
ATK posesses several methods of output handling and automated generating of a UI.


=== [[ATK Reference Testing|Testing]] ===
=== [[ATK Testing|Testing]] ===
ATK uses and extends the [http://www.simpletest.org SimpleTest Testing framework] for [http://en.wikipedia.org/wiki/Test_driven_development Test driven development].
ATK uses and extends the [http://www.simpletest.org SimpleTest Testing framework] for [http://en.wikipedia.org/wiki/Test_driven_development Test driven development] and also supports [http://www.phpunit.de/ PHPUnit].


=== [[ATK Reference Languages|Languages]] ===
===[[ATK Database connections|Database connections]]===
ATK fully supports the creation of multi-language applications.
Information about database connections in ATK.
 
=== [[ATK Internationalization|Internationalization]] ===
ATK fully supports the creation of multi-lingual applications.
| valign="top" |
| valign="top" |
=== [[ATK Reference Nodes|Nodes]] ===
=== [[ATK Nodes|Nodes]] ===
A node is comparable to a table in a database, which groups certain data elements in one collection.<br />
A node is comparable to a table in a database, which groups certain data elements in one collection.<br />
An ATK node provides all the functionality for one data collection.
An ATK node provides all the functionality for one such collection.
<!--A module consists of one or more nodes. ATK knows 3 node types: [[atkNode]], [[atkTreeNode]] and [[atkMetaNode]]


An [[ExampleNode]] file.
=== [[ATK Relations|Relations]] ===
To associate nodes with eachother ATK makes use of Relations, these are comparable to relations in [http://en.wikipedia.org/wiki/ERD ERDs] (one-to-one, one-to-many, etc.).


[[Node Flags]]
=== [[ATK Meta|Meta functionality]] ===
ATK supports on-the-fly generation of nodes and attributes by using the metadata of your database. A very powerfull tool for quick development of web applications on an existing database.


[[atkMetaNode]]
=== [[ATK Utilities|Utilities]] ===
ATK provides various objects and functions for performing common tasks like traversing a directory, parsing stringings, debugging, etc.


[[Magic methods]]-->
=== [[ATK Security|Security]] ===
ATK supports various methods of authentication (users) and authorisation (privileges).


=== [[ATK Reference Relations|Relations]] ===
===[[ATK Sessions|Sessions]]===
To associate nodes with eachother ATK makes use of Relations, these are comparable to relations in [http://en.wikipedia.org/wiki/ERD ERDs] (one-to-one, one-to-many, etc.).
ATK has advanced session handling methods for remembering and application data.
<!--General explanation of [[relations]] in atk.-->
 
===[[ATK Configuration|Configuration]]===
 
[[ATK Configuration Options V8]]


=== [[ATK Reference Meta|Meta functionality]] ===
(OLD ATK has many configuration options. OLD)
ATK now supports on-the-fly generation of nodes and attributes by using the metadata of your database. A very powerfull tool for quick development of web applications on an existing database.


=== [[ATK Reference Utilities|Utilities]] ===
ATK provides various objects and functions for performing common tasks like traversing a directory, parsing stringings, debugging, etc.


=== [[ATK Reference Security|Security]] ===
ATK supports various methods of authentication (users) and authorisation (privileges).
|}
|}
== Miscellaneous References ==
== Miscellaneous References ==
===[[ATK Reference Constants|Constants]]===
===[[ATK Constants|Constants and Flags]]===
Various constants used by ATK.
 
Various FLAGS used by ATK, including [[Module Flags V8|Module Flags ATK V8+]], [[Node Flags V8|Node Flags ATK V8+]], [[Attribute Flags V8|Attribute Flags ATK V8+]] and [[Relation Flags V8|Relation Flags ATK V8+]]


===[[ATK Reference Database connections|Database connections]]===
(OLD Various constants and [[flags]] used by ATK, including [[Attribute Flags]], [[Node Flags]], [[Relation Flags]] and [[Module Flags]] OLD)
Information about database connections in ATK.


=== [[ATK Reference Extensions|Extensions in ATK]] ===
=== [[ATK Extensions|Extensions in ATK]] ===
Various 'extensions' in ATK, other Open Source software that is included in ATK.
Various 'extensions' in ATK, other Open Source software that is included in ATK.


===[[ATK Reference Sessions|Sessions]]===
=== [[Patches]] ===
ATK has advanced session handling methods for remembering and application data.
Do you have a contribution for the ATK framework? This page explains how to contribute them.
<!--[[SessionVariables]]<br />-->
 
=== [[Coding Guidelines]] ===
If you develop for Achievo, ATK, please stick to these guidelines.  
 
=== [[ATK Debugging|Debugging]] ===
When you have a problem, you might want to debug your application
 
__NOEDITSECTION__

Latest revision as of 03:55, 21 December 2015

This part of the wiki aims to provide high level documentation on every part of ATK.
For further detailed information about the objects/methods and functions of ATK, please visit the ATK API documentation.

Reference categories

ATK is a modular framework and as such all functionality in ATK applications reside in modules.

A node is built with attributes. Attributes are comparable to datatypes of fields in the database. They describe the content and house all functionality for dealing with that content.

In order to use a node ATK uses 'actions', these include but are not limited to CRUD functions of a database (corresponding to the Add, View, Update and Delete actions in ATK).

ATK posesses several methods of output handling and automated generating of a UI.

ATK uses and extends the SimpleTest Testing framework for Test driven development and also supports PHPUnit.

Information about database connections in ATK.

ATK fully supports the creation of multi-lingual applications.

A node is comparable to a table in a database, which groups certain data elements in one collection.
An ATK node provides all the functionality for one such collection.

To associate nodes with eachother ATK makes use of Relations, these are comparable to relations in ERDs (one-to-one, one-to-many, etc.).

ATK supports on-the-fly generation of nodes and attributes by using the metadata of your database. A very powerfull tool for quick development of web applications on an existing database.

ATK provides various objects and functions for performing common tasks like traversing a directory, parsing stringings, debugging, etc.

ATK supports various methods of authentication (users) and authorisation (privileges).

ATK has advanced session handling methods for remembering and application data.

ATK Configuration Options V8

(OLD ATK has many configuration options. OLD)


Miscellaneous References

Various FLAGS used by ATK, including Module Flags ATK V8+, Node Flags ATK V8+, Attribute Flags ATK V8+ and Relation Flags ATK V8+

(OLD Various constants and flags used by ATK, including Attribute Flags, Node Flags, Relation Flags and Module Flags OLD)

Various 'extensions' in ATK, other Open Source software that is included in ATK.

Do you have a contribution for the ATK framework? This page explains how to contribute them.

If you develop for Achievo, ATK, please stick to these guidelines.

When you have a problem, you might want to debug your application