PureMVC Architects Lounge

PureMVC Manifold => Demos and Utils => Topic started by: puremvc on January 01, 2008, 02:00:30



Title: Login - A PureMVC AS3 / Flex / WebORB Demo
Post by: puremvc 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.


Title: Re: Login - A PureMVC AS3 / Flex / WebORB Demo
Post by: justSteve 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...


Title: Re: Login - A PureMVC AS3 / Flex / WebORB Demo
Post by: tompei 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"



Title: Re: Login - A PureMVC AS3 / Flex / WebORB Demo
Post by: puremvc on December 01, 2008, 03:01:01
Thanks! I've updated the wiki.

-=Cliff>


Title: Re: Login - A PureMVC AS3 / Flex / WebORB Demo
Post by: eugene_se 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/