Programmer's Reference Guide
Next
Programmer's Reference Guide
Table of Contents
1. Introduction to the Naos Framework
1.1. Overview and features
1.2. The name
1.3. Installation
1.3.1. Tools
1.3.2. Create a new project
1.3.3. Run an existing application
2. General concepts
2.1. Terms and definitions
2.1.1. Overview
2.1.2. Modules, controllers and actions
2.1.3. Layouts and views
2.1.4. Data Nodes
2.1.5. Menus and Menu Items
2.2. Application URLs
2.3. Form handling
3. How-To
3.1. Overview
3.2. The basics
3.2.1. Create a new layout
3.2.2. Create a new module
3.2.3. Create a new controller
3.2.4. Create a new action
3.2.5. Render a view output
3.2.6. Create a data node and menu entry
3.2.7. Processing a form
3.3. Advanced
3.3.1. Control the action loop
3.3.2. Dialog interaction
3.3.3. Create a persistence layer (using the database)
4. Internationalization and localization support (Naos_I18N)
4.1. Overview
5. Form Component (Naos_Form)
5.1. Overview
5.2. Concepts
5.2.1. Automatic type conversion and attribution of form values
5.2.2. The data structure of a form in general
5.2.3. Error messages and parameterized error message
5.2.4. Data sources and AJAX support
5.2.5. Predefined values
5.2.6. Multidimensional array data access
5.3. Specification
6. Persistence Layer (Naos_ODL)
6.1. Overview
7. Template Component (Naos_Template)
7.1. Overview
List of Tables
5.1.
Form object usage
5.2.
Error message examples
List of Examples
2.1.
Two activated modules
2.2.
A controller named view within the module naos-page
2.3.
An action named process-login-form
2.4.
A layout with 3 views named topbar, main and bottombar.
2.5.
Example of the usage of a data node.
2.6.
Example of a menu definition in the file application.conf.
2.7.
A vapp:/ URL
2.8.
A vmenu:/ URL
2.9.
Definition of a menu item in the file application.conf section menu
3.1.
The template file of a layout which is going to have one view (id=view_main).
3.2.
The configuration file of a layout which is going to have one view (with view identifier main).
3.3.
Activate the layout my-module in your application.
3.4.
Activate the module my-module in your application.
3.5.
Data node welcome configured in application.conf.
3.6.
Menu default configured in application.conf.
3.7.
Menu item welcome configured in application.conf.
3.8.
HTML example code of form login.
3.9.
Example form definition of form login.
3.10.
Processing of form login.
3.11.
Schedules execution of action process-form of controller login.
3.12.
Schedules execution of action process-form of controller login of module core.
3.13.
Opens the dialog which can be identified by edit with the template publication-edit.tpl.
3.14.
Closes the dialog with identifier edit.
3.15.
A simple odf.xml file.
3.16.
Database support in application.conf.
3.17.
The persistence layer in action.