My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Links

unified API

unified API (uAPI) provide an object oriented API for some programming language with the target to support implements same algorithm with same steps in different languages. It allows the programmers to use the favorit and best language without learn new specific lang API.

Developer

Now a programmer need to learn the syntax and the API from programming language. With the uAPI you only need to learn the syntax. See developers guide ( english deutsch).

One example 'list all files in an directory' with uAPI:

PHP

<?php
  include_once ('uapi/io/File.php');                        // import
  $root = new File ('/');                                   // create instance
  $fileArray = $root->listFiles();                          // use instance
?>

Java

import uapi.io.File;                                        // import
class Sample {
  public static void main (final String []args) {
    File root = new File ('/');                             // create instance
    File [] fileArray = root.listFiles();                   // use instance
  }
}

Perl

#!/usr/bin/perl
use uapi::io::File;                                         // import

$file = uapi::io::File->new ('/');                          // create instance
@fileArray = $file->listFiles();                            // use instance
Powered by Google Project Hosting