Thanks to visit codestin.com
Credit goes to Github.com

Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

davcri/Unibox-Ajax

Repository files navigation

Disclaimer

Unibox is not maintained anymore

It was created for a University course about Web Programming. The purpose of this webapp was to practice with web technologies such as PHP, MySQL, JavaScript, HTML, CSS and the principles of software engineering (MVC pattern).


Introduction

Unibox is a web application where users can upload and download resources.

Unibox was developed by davcri and filreg.

Try it online v0.1.2: http://uniboxaq.altervista.org/

Note: All the web application user interface is in Italian, but both code and documentation are in English.

Documentation

PHP : http://uniboxaq.altervista.org/Documentation/PHP/

UML Diagrams and XMI file : Can be found in Documentation/UML/ . Look: The readme in Documentation/UML/ for more info.

File hierarchy

  • Classes/ : Contains the server side application. All the PHP classes are here.
  • Configuration Files/ : Contains the configuration file of the application. Generally you don't need to edit these files.
  • Documentation/ : Contains all the documentation stuff as PHPDoc and UML diagrams.
  • Library/ : Contains all the required external libraries.
  • Resources/ : By default, Unibox moves the uploaded resources here.
  • Smarty_dir/ : Contains the required smarty folders and also all the .tpl, css, javascript and images !
    • Smarty_dir/templates/ : All the tpl files are here.
    • Smarty_dir/templates/javascript/ : All the javascript files are here.
    • Smarty_dir/templates/css : All the css files are here.

Installation

Requirements

Unibox runs on server that supports :

  • Apache
  • mysql
  • php

It hasn't been tested on others HTTP server.

Installation steps

If you want to install Unibox follow these steps :

  1. Run permissionScript.sh with administrative priviledges. It will sets all the required permissions:
  • Configuration Files : rwx for others
  • Smarty_dir/templates_c : rwx for others
  • Smarty_dir/cache : rwx for others
  • Resources : rwx for others
  1. Follow the guided installation.
  2. Create an empty database on your DBMS ('mysql') and name it as you want (ie: unibox).
  3. Put all the source code in a folder accessible from your HTTP server.
  4. Open the browser and go to the path where you stored the source code (ie: docmuentRoot/path/to/unibox)

Now the installation is complete. Refresh the page and start using Unibox !

If something goes wrong you should check if you have write permission for all users on configurationFiles directory. If you're on a Unix PC and you're trying to install Unibox in your localhost, you should try to run the permissionScript.sh with administrative priviledges.

Reinstallation

You can repeat the installation procedure by deleting Configuration Files/databaseConfig.php file and dropping the old database.

Development

We developed Unibox using :

A big thanks to all the guys behind these wonderful tools.

About

Single page web application developed with PHP, Javascript, jQuery and Bootstrap.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •