Log in
Why should you participate?
to let the world know about your competences
to show the world that also in Armenia there are qualified IT professionals
to gain an attractive job offer
to win interesting prizes
1,200,000 AMD in
Cash and Prizes
The winners of the Marathon will receive monetary prizes, equipment, and opportunities for training in well-known IT companies.
www.flickr.com
webos2006 avoyan's webos2006 photoset
 

API Description API Description

Document Actions
Submitted by gayane. on 2006-10-12 12:45.
For developing Web Applications File API and Proxy API can be used.

File API Description

A facade class of virtual files system. Simulation of windows file system implemented in database. A FileManager object provides methods for manipulating with files and folders of file system simulation such as creating and deleting files/folders, reading from and writing into files, looking directory structure getting used space, formatting and etc. (see functions list for all features)

Note: By default a FileManager connects to WebOS database server, which means that clients of FileManager should not set database host parameter of FileManager constructor in their working copy deployed on WebOS server. FileManager constructor automatically creates tables which it needs for file system simulation with "file" and "folder" names in specified database, so provided by client database should not contain tables with "file" and "folder" names.

There are 2 versions of this package, for JAVA widgets ad for PHP widgets. API doc and class of each other you can find by downloading.

WebOS20 bundle for JAVA 

WebOS20 bundle for PHP

Proxy API Description

A class for making AJAX calls.

Note: WebOSProxy connects to WebOS apache server via AJAX, which makes connection with specified url, method and parameters, after that returns response to specified handler function. There is a limit in sever for response size, so you can't get response which size is bigger than 1Mb.

WebOS20 bundle Proxy