Royale.zip
<https://drive.google.com/file/d/18vkAxOkgnZTtXFWD_HAna0z1yXzZFCi-/view?usp=drive_web>
Greg, I'm providing a simplified Flex application example that uses
Cairngorm framework.
I'd like to know changes required to migrate to Crux and any possible
problems for migration.
I take our Login function for this case study. Royale.zip contains the
following:
(I hope you have time to look at these files and give me advices on
migration)
- Login.mxml
Here, put focus only on LoginLoadEvent and LoginSignInEvent.
- LoginLoadEvent.as
LoginLoadEvent dispatcher
- LoginSignInEvent.as
LoginSignInEvent dispatcher
- LoginController.as
Associate events and commands.
Here, put focus only on LoginSignInCommand.
- LoginServiceDelegate.as
Find remote service from service locator (Services.mxml) and call
it.
- Services.mxml
Service locator
- LoginModelLocator.as
Update Login.mxml with returned value object.
- UserLoginVO.as: Sent to server
- UserMainVO.as: Returned from server
--
Shoichiro Takeshita
武下 祥一郎