Re: MM BlackBoard example with OpenAMF

"Darryl L. Miles" <[email protected]> Thu, 23 Mar 2006 05:52:11 +0000
Newsgroups gmane.comp.java.openamf.user
Message-ID <[email protected]>
Leif Wells wrote:
> Darryl,
>
> Where did you find this BlackBoard application?
>
> Leif

Google finds it as top match for search "macromedia blackboard" :).

MM's flashship Flash+Remoting demo at: 
http://www.macromedia.com/devnet/blackboard/


Some notes on getting it to work with OpenAMF:

* Using your favorite IDE create standard getters and setters for 
classes Course, Assignment, Group, User, Response.

* Go back to the Group class and comment out the getMembers() function, 
nothing seems to reference it anyway and it confuses the Bean utils into 
thinking a field exist with this property name.  It does not cause the 
application any harm leaving it in, but does make the x-amf wire 
protocol a few byte bigger (should you be savvy enough to want to 
compare with JRun4).

* There is no need to define any <custom-class> in the OpenAMG config, 
the data is treated as a regular containing object with hasharrays 
within client ActionScript.  From memory is you defined <custom-class> 
the first page load does not display the boolean flags correctly, but 
most of the rest of the app appears to work.  If you remove the 
<custom-class> config it looks just like it would on JRun4.

* If you want almost identical data/x-amf wire protocol output from 
OpenAMF pickup the recent fixes in CVS.  However from memory these fixes 
aren't necessary to get the application working.

* Reconfigure the template HTML with the host and OpenAMF gateway and 
away you go.

-- 
Darryl L. Miles




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642