Blog to discuss Midnight Coders products features, ideas and trends in development of Rich Internet Applications

Friday, July 06, 2007

WebORB for PHP version 2.0

It is still raining in Dallas for the second month in the row, but it certainly feels like a new sunny day in the Flex and PHP world! We have just pushed out a new release of WebORB for PHP. It is 1000 times cooler and better than anything we have done before for that product line. Here are 10 reasons why I am so excited about it:
  1. Graphical management console. We reused the same console code we have wrote for WebORB for .NET. It is a Flex 2 application communicating with the product using Flex Remoting. The console is the main point for all management, configuration and developer productivity tasks. When you install the product, you can launch the console by accessing index.php located in the root of the product distribution.

  2. Service and method browser. Flex and/or PHP developers can see all the deployed PHP classes and their respective methods using the service browser built into the console. Just select the Management tab and you will see a tree of deployed services and their methods:


  3. Code generator. When you select a class in the service browser, you automatically get all the client side ActionScrupt code you could use to invoke the selected class from. For the AS3 clients the generated code uses the RemoteObject API. It also generates all the value object classes for the complex types.


  4. Multiple code generator formats. The generated code can be in multiple formats. The default setting is ActionScript v3, however if you use AS2 or Cairngorm, you can easily change the setting and the code is regenerated on the fly in a fraction of a second:


  5. Invocation test drive. How many times did you want to try to invoke a method from Flex without spending too much time creating a Flex client? Well, now you can! When you select a method for a class, the console analyzed the method's signature and creates a dynamic form for the arguments. You can enter argument values, click Invoke and see the result without writing a single line of code. If your arguments are arrays or complex types - no problem, the arguments form will easily accommodate those data structures.

    As you can see from the screenshot, if the return type is an array or a result of a query, test drive will show it in a grid.

  6. Client/server class mapping configuration. Since this is one of the most common tasks when integrating Flex clients with any kind of backend systems, we tried to make it as simple as possible to create client/server class mappings. The Class Mappings section of the 'Server Configuration' tab provides an easy-to-use interface to establish class mappings:


  7. A TON of examples (okay, only 9, but they are guaranteed to get you going). Developers tend to learn by examples. That's why we wanted to get them out to you as soon as possible. (Btw, full product documentation will be available very soon too). The examples we included with the product demonstrate a variety of useful concepts including basic remoting invocation, securing a service, exception handling, working with hierarchical data, class mappings, etc:


  8. New client deployment model. We received a lot of feedback about difficulties developers experienced with WebORB deployment. The new model makes it significantly simpler. All you need to do is to add weborb.php file into the directory containing your compiled Flex client files (SWF). The weborb.php file must contain the following:

    <?php
    require_once("WEBORBROOT/Weborb/ORBHttpHandler.php");

    $m_ORBHttpHandler = new ORBHttpHandler();
    $m_ORBHttpHandler->processRequest();
    ?>


    The very first line must be modified to point to the WebORB root directory in your web server directory structure. For example, see weborb.php located in the /Console folder of the product distribution.

  9. New open source license. Previously WebORB for PHP used to be available under the GPL license. We changed it with the version 2.0. The new license is Mozilla Public License (MPL). It is less restrictive, and more in line with our goals for the product, plus it should make it much easier for you to use WebORB for PHP in your projects.

  10. Bright future! With everything we added in 2.0, this is still just the beginning. We have planned and are working on SO many more really cool features. This includes Flex Builder plugins, superb data management framework, ease of management and administration and many more.
WebORB for PHP product page is available at: http://www.themidnightcoders.com/weborb/php/index.htm

Enjoy!


Technorati tags: , , ,

9 Comments:

Anonymous Anonymous said...

Geez, you guys rock !

Btw, when will ruby version be out of the door ?

Jeremy.

10:44 AM

 
Blogger John Nicholas said...

Excellent News!

I'm already using Version 1.3 with great results and am looking forward to working with Version 2. I'm using ARP so I appreciate the ARP code generator too.

John

12:13 PM

 
Anonymous Anonymous said...

Cool Mark,

Congratulations to you and all the team of WebOrb, now let test it

Best,

Ramón

12:25 PM

 
Blogger Andrew Laffoon said...

Any word on WebORB for Rails 2.0??? We can't wait!

5:36 PM

 
Anonymous Campbell said...

Sweet dude, another platform supported. I don't know how you guys find the time but your making releases all the time :).

Cheers

Campbell Anderson

6:11 PM

 
Blogger andresmaro said...

I've been waiting for this day... There's a lot of things to be grateful with you and TMNC team... A really and big Thank you from Latin America

5:33 PM

 
Blogger John Nicholas said...

Is there any risks or concerns in updating an existing 1.3 project to 2.0?

10:21 AM

 
Blogger Paul said...

I am rlly frustrated to make my service (as simple as HelloWorld) working in new WebOrb 2...

Mac + MAMP environment user.

11:08 AM

 
Blogger dorkiedorkfromdorktown said...

awesome!!! thank you!!!

1:13 AM

 

Post a Comment

<< Home