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

Pages: [1]
Print
Author Topic: Login - A PureMVC AS3 / Flex / WebORB Demo  (Read 15573 times)
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« on: January 01, 2008, 02:00:30 »

This demo illustrates the use of WebORB with PureMVC to perform a simple login from a Flex client.

The demo is located at http://trac.puremvc.org/Demo_AS3_Flex_WebORB_Login
The project has been moved here: https://github.com/PureMVC/puremvc-as3-demo-flex-weborb-login/wiki

The author is Jens Krause.
« Last Edit: September 23, 2012, 10:15:32 by puremvc » Logged
justSteve
Courseware Beta
Sr. Member
***
Posts: 55


View Profile Email
« Reply #1 on: May 12, 2008, 02:57:49 »

I'm trying to implement this for WebORB's .NET version. The php code looks simple enough but I'm having problem translating it to .net.

Can anyone express what's going on inside the 2 php classes in terms of .net/C#?

thx
--steve...
Logged
tompei
Newbie
*
Posts: 1


View Profile Email
« Reply #2 on: November 28, 2008, 03:07:50 »

The following configuration information is missing from the wiki installation page.

Flex project additional compiler arguments :
-services "services-config.xml"

Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #3 on: December 01, 2008, 03:01:01 »

Thanks! I've updated the wiki.

-=Cliff>
Logged
eugene_se
Newbie
*
Posts: 5


View Profile Email
« Reply #4 on: December 26, 2008, 02:34:43 »

Hi,
Thanks for the sample. I've just started digging into PureMVC and chose this sample because I intend to use it with WebOrb as well.

In the LoginProxy, a local reference is kept to the ApplicationProxy. With that local reference, the viewstate is directly set e.g.:
_appProxy.viewState = ApplicationProxy.LOGGED_IN_STATE;

Isn't it possible to make the ApplicationProxy change its state based on notifications, e.g. when the LoginProxy sends the LOGIN_SUCCESS notification?

I guess that the task of a login proxy must only be to check whether credentials are correct. Not define the state of the whole application.

I'll be glad to hear any ideas or opinions about this issue.

edit:
Ok, if found this link and that explains it all....:
http://puremvc.org/content/view/97/188/
« Last Edit: December 26, 2008, 03:17:40 by eugene_se » Logged
Pages: [1]
Print