docs(1).PDF

(274 KB) Pobierz
666529197 UNPDF
RhinOSDeveloperDocumentation
Licensed under GNU Free Documentation License
Josep Sanz Campderros (www.saltos.net)
1
Contents
1 RhinOS Framework
4
2 ADMIN Module (CMS) 5
2.1 Basic data types application . . . . . . . . . . . . . . . . . . . . . . 7
2.2 Conguration Application (db cong) . . . . . . . . . . . . . . . . 10
2.3 Tables Application (db table) . . . . . . . . . . . . . . . . . . . . . 10
2.4 Listings Application (db lists) . . . . . . . . . . . . . . . . . . . . . 11
2.5 Forms Application (db forms) . . . . . . . . . . . . . . . . . . . . . 13
2.6 Relations Application (db selects) . . . . . . . . . . . . . . . . . . . 15
2.7 Module Conguration . . . . . . . . . . . . . . . . . . . . . . . . . 15
3 SITE Module 16
3.1 The MultiViews directive . . . . . . . . . . . . . . . . . . . . . . . 16
3.2 RhinOS Conguration Variables . . . . . . . . . . . . . . . . . . . . 17
3.3 Http requests structure . . . . . . . . . . . . . . . . . . . . . . . . 18
3.4 Requests to img/ . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.5 Others requests - 1 . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.6 Others requests - 2 . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.7 The parser RhinOS . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.8 RhinOS parser evaluation order . . . . . . . . . . . . . . . . . . . . 24
3.9 Internal commands - 1 . . . . . . . . . . . . . . . . . . . . . . . . 25
3.10 Internal commands - 2 . . . . . . . . . . . . . . . . . . . . . . . . 27
4 DBAPP2 Module 28
4.1 Command SET and RESET . . . . . . . . . . . . . . . . . . . . . . 30
4.2 INIT Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.3 GET and SET GLOBAL Commands . . . . . . . . . . . . . . . . . 33
4.4 BEGIN and END Command . . . . . . . . . . . . . . . . . . . . . . 34
4.5 BEGIN and END TD DATA and TR DATA Command . . . . . . . 34
4.6 BEGIN and END TD NULL and TR NULL Command . . . . . . . . 35
4.7 BEGIN and END DIV DATA Command . . . . . . . . . . . . . . . 35
4.8 BEGIN and END PAG PREV, PAG CURRENT and PAG NEXT Com-
mand . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
4.9 BEGIN and END DINAMICS Command . . . . . . . . . . . . . . . 37
4.10 BEGIN and END INCLUDE Command . . . . . . . . . . . . . . . . 37
4.11 IF / ELIF / ELSEIF / ELSE / ENDIF Command . . . . . . . . . . 38
4.12 INCLUDE Command . . . . . . . . . . . . . . . . . . . . . . . . . 39
4.13 PRINT Command . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
4.14 IMAGE Command . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
4.15 FILE Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
4.16 VIDEO Command . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
2
666529197.001.png 666529197.002.png
5 Aditional RhinOS Modules 46
5.1 CAPTCHA Module . . . . . . . . . . . . . . . . . . . . . . . . . . 46
5.2 CONFIG Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
5.3 EXTCACHE Module . . . . . . . . . . . . . . . . . . . . . . . . . . 48
5.4 FILES Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
5.5 FILTER Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
5.6 INTRANET Module . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.7 LABELS Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5.8 QUERY Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
5.9 SEND Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
5.10 SESSIONS Module . . . . . . . . . . . . . . . . . . . . . . . . . . 62
5.11 TIENDA Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
3
1 RhinOS Framework
The RhinOS framework allows the creation of sites and online applications with the
following characteristics:
CMS (Content Manager System):
{ Parameters: Allows you to customize the lists and forms.
{ Customization: You can apply changes to the business layer without
changing the core, and develop custom applications using the API's of
CMS.
{ Maintenance: Allows you to apply evolutionary development costs low.
{ Applications extras:
Conguration: Allows control of the settings.
Members: Allows management of users and permissions.
Literals: Allows control of the portal verbatim
Photos and documents: Allows control of multimedia content
Google Maps: Allows integration with services like Google Maps.
Mailings: Enables system integration mass mailings.
CPS (Content Publishing System):
{ Modular: separation of presentation layer and business layer
{ Customization: Customize the portal and / or online application for each
client using what is desired in each project.
{ Maintenance: RhinOS development architecture allows for easy and ro-
bust evolutionary maintenance and application of low development costs.
{ Application pool: Allows you to create software modules that will be
used from the templates easily and quickly.
The available documentation of the framework is as follows:
AMDIN Module: Operation of CMS.
SITE Module: Performance of CPS.
{ DBAPP2 Module: Processing queries to DBMS and generate results.
{ CAPTCHA Module: CAPTCHA image generation.
{ CONFIG Module: Accessing conguration variables.
{ EXTCACHE Module: System cache to speed access to back-oces.
{ FILES Module: Access to images and les.
{ FILTER Module: Control output via conditions.
{ INTRANET Module: Control of public and private areas through iden-
tication.
4
{ LABELS Module: Access to literals.
{ QUERY Module: Automation of queries like INSERT, UPDATE and
DELETE.
{ SEND Module: Send emails with additional controls.
{ SESSIONS Module: System access session (stored in the DBMS).
{ TIENDA Module: Processing of requests and managing a store.
2 ADMIN Module (CMS)
RhinOS provides a content management tool type CMS, which enables the following
features:
Customizing the Applications screen.
Customization of the listings (elds, titles, references to other tables, positions
and dimensions of columns, data types, ...)
Customizing forms creation, browsing and editing (elds, titles, references to
other tables, positions, data types, mandatory elds and elds only ...)
Custom applications such as:
{ Management of literals.
{ Management of photos and documents.
{ Management of maps.
{ Management of conguration parameters.
{ Manage users and roles.
Overloading of generic applications using the module libraries.
Creation of new applications using the module libraries.
Messaging system between administrators and users.
Application lock system for maintenance.
Downloads backup of the entire database or conguration of the module.
Load from le and online edition of the module conguration.
The table structure using this module is as follows:
db * tables: All settings of this module are stored in the tables in the
database with the prex db .
5
666529197.003.png
Zgłoś jeśli naruszono regulamin