Futurescale, Inc.
PureMVC Home
The PureMVC Framework
Code at the Speed of Thought
Over 10 years of community discussion and knowledge are maintained here as a read-only archive.
New discussions should be taken up in issues on the appropriate projects at
https://github.com/PureMVC
PureMVC Architects Lounge
Announcements and General Discussion
Getting Started
PureMVC and GraniteDS
Pages: [
1
]
« previous
next »
Author
Topic: PureMVC and GraniteDS (Read 8259 times)
Ivan
Newbie
Posts: 2
PureMVC and GraniteDS
«
on:
May 27, 2008, 11:18:30 »
Hi,
I am completely new to PureMVC. I have an existing demo app that accesses server-side services via GraniteDS with the AS3 code primarily embedded in the mxml file.
In MXML, I make the RemoteObject call and then use a ResultEvent handler to retrieve and cast the returned class. I have no idea how to do that in a PureMVC proxy class.
Is anyone aware of a sample that uses PureMVC with GraniteDS calls encapsulated in a proxy class? Or could someone give me some ideas on how to do this?
I have searched the web for PureMVC with Granite, Blaze and LCDS and had no luck.
Thanks in advance, Ivan
«
Last Edit: May 27, 2008, 11:20:30 by Ivan
»
Logged
puremvc
Global Moderator
Hero Member
Posts: 2871
Re: PureMVC and GraniteDS
«
Reply #1 on:
May 27, 2008, 05:26:03 »
CodePeek doesn't use a RemoteObject, it uses HttpService, but the concept is the same. It has a CodeSearchProxy Which talks to Google Code.
The concept is the same, though.
Also some of the other demos like the Flex/WebORB Login actually us RemoteObject.
-=Cliff>
Logged
Ivan
Newbie
Posts: 2
Re: PureMVC and GraniteDS
«
Reply #2 on:
May 29, 2008, 08:50:37 »
Dear Cliff,
Thank you for the lead. I have been able to successfully invoke my Java services via GraniteDS from a PureMVC proxy.
I used a Granite
SecureRemoteObject
in my proxy class instead of the basic
RemoteObject
and was then able to set the
endpoint
attribute to the value of the endpoint URI as specified in the
WEB-INF/flex/services-config.xml
on the server and everything just worked.
Best wishes, Ivan
Logged
Pages: [
1
]
« previous
next »
Stack Overflow
GitHub
Linked In
Google Plus
Twitter
Powered by SMF 2.0.15
|
SMF © 2006-2007, Simple Machines LLC
|
Content © 2006-2018, Futurescale, Inc.
Loading...