Category Archives: Web Development

Web 2.0 Online Operating System

I openly declare myself as a zealot when it comes to Open Source software and applications. To me it defines the spirit of the internet in terms of open free access to information through global collaboration.

Online Operating SystemToday I came across a cool Web Operating System called Online Operating System (OOS) which provides users with an online desktop and set of applications they can access from anywhere with internet access. It comes with a file manager, a system control panel, several utility programs (text editor, image viewer, games, etc.) and a comprehensive groupware suite.

The user interface seems at first glance to be fairly intuitive. I was able to create and save a document, set up a basic web page and send and receive mail from my new oos.cc account – all within minutes of signing up. In addition to the applications themselves they offer all users 1GB of free storage for files, photos and an OSS homepage.

User surveys in the forum show an age range of 17-38 (now 42!) and that most use the system for a combination of file sharing, desktop portability, free webspace and in a surprising number of cases playing Lemmings. But as one forum user states “This is the future of application delivery!”

The OOS project aim “is to create a common platform for and a comprehensive set of modern web applications, freely available and easily accessible on the internet” which fits in nicely with my utopian ideals. It is published under the GNU General Public License (GPL) and offers a Develop Suite which gives view and edit access to the source code of all available applications. Documentation for the Developer Suite is promised soon.

Development of the OOS applications is based on the commercial reBOX JavaScript API (Application Programming Interface) developed by an Austrian company, iCUBE Network Solutions. Whilst not forming part of the Online Operating System they promise to make a site-wide license of the reBOX API freely available to potential developers within the OOS. 

The system claims to introduce a new architecture, or paradigm, for web applications based on AJAX, DHTML and what it describes as “novel approached to http pushing”. Web 2.0 applications like this combine standardised technologies such as XHTML, CSS and AJAX with user-oriented design aiming to redefine web applications. For the user this means the ability to perform functions such as drag and drop and to be notified of changes and updates in real time.

All of the big web players have an interest in this thin client technology, but the OSS feel that their open architecture and strong focus on usability and extensibility put them ahead of the competition. I hope they’re right.

Unzip .zip or .tar.bz2 files on the server

When setting up new installations of Joomla! on my web server I have a choice of using my hosting control panel or uploading via FTP. However, my hosting company has recently updated to Joomla! 1.5 as standard and the site I am currently developing requires a component (NeoRecruit) which is currently only compatible with Joomla 1.0.xx .

In this situation I would customarily unzip the Joomla! files locally and then upload via FTP. However, the upload process using FTP is quite time-consuming. I was fairly sure it was possible to FTP the zipped files to my server, and then unzip them in situ. I simply hadn’t got around to investing the time to find out how. A little digging around on the net revealed the following procedure:

Upload a zip file using ftp. Once uploaded, you can unzip the file by following these steps :
1. Create a file called unzip.php as follows and upload to the same folder as the archive.
2. Copy/paste the following content into unzip.php :
<? exec(“unzip myfile.zip”); ?>
3. Replace myfile.zip with the name of your file
4. Open yourdomain.com/path_to/unzip.php in a browser
The .zip file will be extracted into the same folder as the archive.

Joomla! offer files in a variety of formats including .zip, but the smallest was in a .tar.bz2 file format. I could have used SSH to decompress the file on the server, but I preferred to use a version of the php solution outlined above. I replaced “unzip myfile.zip” with “tar xvjf filename.tar.bz2″and the files were untarred to the current directory.
Apparently the syntax of the code is:
tar – Tape ARchiver
And the options:
x – extract
v – verbose output (lists all files as they are extracted)
j – deal with bzipped file (replace j with z if its a .zip file)
f – read from a file, rather than a tape device

The entire set up took a matter of minutes.