Good day listers.....

I got this crazy idea I should have a crack at learning cairngorm/ 
remoteObject (amfphp) /VO all at once....

I had previously been using netconnections for my amfphp stuff.

At any rate, I was wondering if someone could look over my code to see  
any blaring "no no's" in it.

The app really does nothing, and is just a test to learn it all.

I have a few small issues in my LoadVoDataCommand file.

I have comments in there stating what the issues are (even though  
there are no compile errors).

The link is:

http://apps.bajamining.com/flexcoders

For some reason in the source view, the PHP files come up as blank.  
However they are in the zip file download (I checked).

But they are also so short, I will just add them into here for those  
who do not want to download the zip to just look at 2 php files.

---------------------
SERVICE
---------------------

<?php

/**
  * First tutorial class
  */
class HelloWorld {

        /**
        * first simple method
        * @returns a string saying 'Hello World!'
        */
        function sayHello()
        {
                return "Hello World!";
        }

        /**
        * method to pass in a VO
        * @returns a VO with various data
        */
        function inVo($myVO)
        {
                return $myVO;
        }

}

?>

---------------------
VO
---------------------

<?php

class Person
{
        var $_explicitType="com.bajamining.doclib.valueObjects.Person";
        public $name;
        public $age;
        public $spouse;
        public $email;
        public $phone;
}

?>

Thanks in advance to anyone willing to have a look.

Dustin


Reply via email to