topleft topright

Welcome, Guest. Please login or register.
May 24, 2013, 05:49:14 PM
Home Help Search Login Register
News: ATTENTION: Spambots must die! Humans must visit http://contact.futurescale.com to request forum access.

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



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

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 AM by puremvc » Logged
justSteve
Courseware Beta
Sr. Member
***
Posts: 55


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

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
« Reply #2 on: November 28, 2008, 03:07:50 PM »

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: 2790



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

Thanks! I've updated the wiki.

-=Cliff>
Logged
eugene_se
Newbie
*
Posts: 5


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

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 PM by eugene_se » Logged
Pages: [1]
Print
Jump to:  



Login with username, password and session length

Powered by SMF 1.1.11 | SMF © 2006-2007, Simple Machines LLC
Copyright © 2006-2008 Futurescale, Inc.