CIOS




Documentation > Develop with and for CorneliOS > CorneliOS structure, libraries and program code > CIOS


The CIOS framework code

Locating CIOS applications and projects


http://www.example.com/cgi-bin/local/perl - the CIOS directory
http://www.example.com/cgi-bin/local/perl/example - the CIOS example project
http://www.example.com/cgi-bin/local/perl/name - a CIOS project called "name"
http://www.example.com/cgi-bin/local/perl/test - the CIOS test project


Using CIOS - an example


The following script will display list all files and directories inside the CorneliOS /etc directory:

#!/usr/bin/perl
use strict
use CIOS::IO;
print "Content-type:text/plain\n\n";
my @files = CIOS::IO->dir("etc");
foreach my $file (@files) {
   print "$file\n";
}


Save the script here and run it to test the framework:

http://www.example.com/cgi-bin/local/perl/test/index.pl - our example script

The most important modules


CIOS::Admin - administration tools
CIOS::DB - access the database
CIOS::Dev - developer tools
CIOS::GUI - user interface (1)
CIOS::Installer - installer stuff
CIOS::IO - access files and directories
CIOS::Render - user interface (2)
CIOS::Test - test suites
CIOS::ToolBox::App - access CorneliOS application handlers
CIOS::ToolBox::Auth - session management
CIOS::ToolBox::Cron - cron daemon and automation
CIOS::ToolBox::Input - parse input variables


Files and directories


CIOS.pl is the utility script that allows to create, test and package your own projects. It also automatically generates the test and example projects.

The CIOS directory contains the entire framework. The CIOS.pm main module should not be used, only load it if you'd like to test if the framework is running fine.

/.__sys/CIOS - the framework directory
/.__sys/CIOS.pl - the utility script
/.__sys/CIOS.pm - the main module (don't use this)


More info...


Visit cios.cornelios.org for more information about the CIOS framework.



Working with CorneliOS


Installation and Administration


Develop with and for CorneliOS





(c)2006-2012 Joopita Research | Privacy Policy | Sitemap | Contact Us
FeaturesDownloadsDocumentationCommunityDonateShop