Articles: 843 | Categories: 148   
   
   
Home Articles Contact Us
 
 
 
 
Corba for PHP (0 Comments)
Admin: Posted Date: April 4, 2010

CORBA for PHP is a PHP Extension to use CORBA objects in PHP5(Zend Engine 2). It uses MICO as its ORB and will also provide an Idl-to-PHP language mapping specification and compiler. For a PHP4 CORBA support look at the great Universe-phpext.

Introduction

CORBA for PHP is a PHP5 extension to use CORBA objects in PHP. If you need a PHP4 extension, Universe is the answer !

The purpose of this project is to provide:

  • an IDL-to-PHP language mapping specification;
  • an IDL-to-PHP language compiler(idl2php);
  • a full CORBA 2.4(maybe 3.0) compliant extension.

Status of this project

  1. IDL-to-PHP Language Mapping Specification is in alpha stage.

  2. IDL-to-PHP Language Compiler(idl2php) is in alpha stage. What's working:

  •  
    • Very simple IDL generates 100% running PHP code !
    • All MICO tests run without compiler errors.
      In some cases, the resulting PHP code is not 100% working, so the PHP language compiler(PHP code generator) needs some bug fixing.


  1. CORBA for PHP is in pre-alpha stage. What's working:

  •  
    • Get or create an instance of the ORB
    • Get an instance of a running CORBA object
    • Call methods on the remote object - at the moment only simple types(integers, floats, string and boolean) and Objects(org::omg::CORBA::Object) are allowed.
    • Oneway, in, out, inout
    • CORBA exceptions propagate and can be caught by userspace PHP script
    • Works with apache 2.0 worker (multiprocess + multithreaded)

Documentation

  • IDL to PHP Language Mapping Specification v0.1 in PDF format (OMG formal document format);
  • Monograph: Distributed Application Support in PHP5(ZE2) with CORBA.

 

 
 
Add a Comment:
 
(You must be signed in to comment on an article. Not a member? Click here to register)
   
Title:

Comments: