2.md 3.3 KB

["Getting Started"]

Getting Started

To begin writing your ArOZ Online Web, you need basic web programming skills. In this tutorial, we have already assumed you know how to program in HTML, CSS, Javascript and PHP. If not, we recommend you to get yourself famililarize with these technology by building your own website first before moving to this tutorial.

For a basic ArOZ Online WebApp / Module, you need to firstly create a folder in the AOR and name the folder as the name of your WebApp. For example, "Audio", "Video" or "Photo". We do not recommend naming the folder with space or any special characters as there might be a higher chances to have bugs.

Lets assume the app we are making is call floppybird. So you would need to create a folder in AOR with the following name.

FloppyBird

Next, you need to create the basic file structure for your module. In the most simpliest module, you would need the following files. The followings are the files required for an ArOZ Online Module with path respective to the module folder.

index.php
description.txt
img/function_icon.png

The following are recommended but not necessary.

manifest.json
img/small_icon.png
img/desktop_icon.png
README.md
readme.txt
FloatWindow.php
embedded.php

Tips: The filenames are case sensitive.

Here are the uses of each file explained one by one.

Filename
What is it? How it will be used?
index.php Main page when an module launch Launching module from Grid Index will be redirected to this script
description.txt A file that store a short text stating the use of this module Description that shows on Grid Menu and Desktop
img/function_icon.png A png image file with 512 x 512 px resolution Use as Grid Menu launch icons, desktop icon or list menu icon if small icons are not found
manifest.json A json file for PWA requirement Use for supporting ArOZ PWA for mobile devices
img/small_icon.png A png image file with 64 x 64px resolution Small icons used in List Menu
img/desktop_icon.png A png image file with 128 x 128px resolution Icon used for Desktop shortcut, usually with rounded corner app icon designs
README.md / readme.txt README.md and readme.txt is the readme file for your module README.md is the readme file for Git Services while readme.txt  is the readme file for the Help Module
FloatWindow.php
PHP script for launching current module custom floatWindow settings Launching ArOZ Module on desktop
embedded.php PHP script for opening a custom file format with given parameters "filename" and "filepath" Launching any files from Desktop module or File Explorer > Open With functions.

Great! Your project folder structure is now ready. Continue the tutorial and learn how to program your WebApp Module for ArOZ Online System!