1. Introduction

This howto document describes the development of an application using the sigui toolkit.

The example is a simple application which allowes the user to do something with disk tools.

2. Directory/File Structure

Execute the following command and you will get the following skeletons:
# Customize the following two assignments!
BASE_SIGUIBUI=~/src
USER=hm
$BASE_SIGUIBUI/siguibui/build/build.sh sidu-disk-center $BASE_SIGUIBUI $USER $BASE_SIGUIBUI git

The project use some files from the toolkit. This files/directories will be inserted by symbolic links.

sidu-disk-center
	index.php (link to siguibui/index.php)
	backend
		sidu-disk-center.sh
	base (link to siguibui/base)
	config
		sidu-disk-center.conf
		sidu-disk-center_de.conf
		sidu-disk-center.css
		sidu-disk-center.html
	debian
		install
	etc
		sidu-disk-center
			sidu-disk-center.conf
		pywwetha
			sidu-disk-center.conf
			virtualhosts.d
				sidu-disk-center
	images
		favicon.ico
		logo.png
	plugins
		homepage.php
		home.content.txt
	usr
		bin
			sidu-disk-center

The 4 files in config will be copies of the configuration files from siguibui/build. This files will be extended while the development.

sidu-disk-center.sh, favicon.ico, logo.png and homepage.php are new files.

2.1.File Modifications

2.2.New Files

2.2.1.homepage.php

This file is a plugin. Therefore it must contain a class which is derived from Page.

The following methods must be implemented:

2.2.1.home.content.html

This file contains the html code of the content area.