RE: [cairngorm-devel] Re: [flexcoders] cairngorm flash lite/AS2 version
Hi, Things have gotten busier than expected here since Max, but the Cairngorm Mobile Edition release is still on our plan to get out there. Please bear with us on this. Best, Alistair PS. Please continue this discussion over at cairngorm-devel. Cross-posting to both serves little purpose. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of greg h Sent: 12 January 2007 06:46 To: flexcoders@yahoogroups.com; [EMAIL PROTECTED] Subject: [cairngorm-devel] Re: [flexcoders] cairngorm flash lite/AS2 version Robin, I am not in the mobile space. However at MAX Steven Webster had Cairngorm 2 Mobile Edition on the roadmap. Steven's slides (PDF downloadable at the link following) said Will be available for download on Adobe Labs shortly I just checked labs and I still to not see it there. http://weblogs.macromedia.com/swebster/archives/DevelopingNextGenRIAWith Cairngorm2.pdf http://weblogs.macromedia.com/swebster/archives/DevelopingNextGenRIAWit hCairngorm2.pdf (Note: In the PDF see pages 33-41) Can anyone else give an update on the status of Cairngorm 2 Mobile Edition? g On 11/28/06, Robin Burrer [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi there, I read that cairngorm has been back-ported for flash lite. Does anyone know if there is a downloadable version available yet? I guess that version could be used for any flash 8 - AS2 projects. Cheers Robin
Re: [flexcoders] cairngorm flash lite/AS2 version
Robin, I am not in the mobile space. However at MAX Steven Webster had Cairngorm 2 Mobile Edition on the roadmap. Steven's slides (PDF downloadable at the link following) said Will be available for download on Adobe Labs shortly…. I just checked labs and I still to not see it there. http://weblogs.macromedia.com/swebster/archives/DevelopingNextGenRIAWithCairngorm2.pdf (Note: In the PDF see pages 33-41) Can anyone else give an update on the status of Cairngorm 2 Mobile Edition? g On 11/28/06, Robin Burrer [EMAIL PROTECTED] wrote: Hi there, I read that cairngorm has been back-ported for flash lite. Does anyone know if there is a downloadable version available yet? I guess that version could be used for any flash 8 – AS2 projects. Cheers Robin
Re: [flexcoders] Cairngorm + Flash
Hi Agha, We've used Cairngorm to this point, but we had a good talk with Aral at MXDU comparing the two frameworks and what I've said about ARP is based on this discussion. Try the list Aral posted today in another Flexcoders thread. I need to try out some ARP ideas in a project to sort out my thinking about the two frameworks - but as Steven said ARP provides more guidance around what to do in Flash with the views, as it is originally a Flash framework. Probably the only issue I had with the demo Flex app Aral showed me was the deep purity of the mxml code - as a pragmatic (slothfull? :-) Flex programmer I am rather fond of using a bit more actionscript in my mxml, but then I understand where Aral is coming from - and in Flash I would never put code in my fla. I would be happy to recommend either framework to a client. Cheers, Robin http://www.rocketboots.com.au On 03/03/2005, at 1:29 PM, Mehdi, Agha wrote: Not that I have a whole lot to complain about Flash mainly because I just rolled out a fairly complicated Enterprise New Business Intake app for my Company in Flash Professional, which integrates with existing internal DMS, Financial, CRM, Workflow and Intranet Portal systems but if I had the choice at that time I would've done it in Flex. Having said that, I'd still like to use Flash for small, not complicated mini apps where Flex is not the option for any reasons (just like Robin said). Ever since I got this taste of Cairngorm with Flex, I find it hard to convince myself to go with Flash without a framework as elegant as Cairngorm. That was my main reason to see if it was possible to use it with Flash. I have installed ARP but didn't really get a chance to look into it. May be what I need is to develop something with it to see how good it serves me. No matter how tempted I am, I won't ask any questions about ARP implementation here. Robin, if you use ARP, will you be able to guide me to some of the stuff, which is a good knowledge base for ARP? Thanks -- Agha
RE: [flexcoders] Cairngorm + Flash
Agha, Can Cairngorm be used with Flash and if yes, where do I find any sample that I can look at? Sure Cairngorm can be used with Flash ... the only difference is that youruser experience has to be builtup in the FLA, and not using MXML; however, all the design patterns for managing response to user gestures, business logic, service calls, etc, still apply. In the ActionScript 2.0 Dictionary, we publishedsomething very similar to the Cairngorm framework (an early incantation of) which also includes an ActionScript 2.0 ServiceLocator for Flash Remoting. I know that Robin Hilliard and the team at RocketBootshave also been using Cairngorm with both Flash and Flex projects. We've not made any recommendations as tohow you should build your FLA -- truth be told, in our humble opinion, if you're building RIA, you should be building them with Flex, not Flash. However, if you want some guidance on how to structure your FLA, you could check out what Aral has done with his ARP framework, whichprovides a bit more prescription as to how you should structure your FLA file on top of the same collection of design patterns as Cairngorm is using. Perhaps Robin Hilliard might be able to pipe up with some specific advice. Mine would be to spare yourself unnecessary pain, trauma, performance woes and wheel reinvention and use Flex ;-) Hope that helps, Steven -- Steven WebsterTechnical Director iteration::two This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies ofit, immediately.Please also note that while software systems havebeen used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened.
Re: [flexcoders] Cairngorm + Flash
There's also ARP (Ariaware RIA Platform) which also works with Flash. It's also free and open source (see http://ariaware.com/products/arp/). The download includes a sample application that includes the .fla files.
Re: [flexcoders] Cairngorm + Flash
Hi Agha, Here's the main differences: 1) Instead of tags, break the UI down into library symbols and link each one to a view class. Remember all the UI controls have to be declared as properties in your class. 2) You have to install the remoting components and use mx.remoting.Service 3) In delegates use mx.rpc.RelayResponder instead of mx.utils.Delegate. 4) You'll need to tweak the service locator to allow you to register services in actionscript, or just not use the service locator. 5) Use property setters, custom updateModel/updateView methods (or something more elegant) instead of binding in the UI (probably the Flex feature I miss most in Flash, closely followed by the layout containers). I think there's a place for RIA development in Flash - there are always going to be projects where Flex won't be an option (although it is an option more often than you'd think :-) and in those cases frameworks like Cairngorm and ARP will make things much easier. I'd say the main drawback to Flash is that UI Component Set 2 has some serious limits to it's scalability on the current player - I wouldn't attempt anything larger than a few screens in Flash. Cheers, Robin http://www.rocketboots.com.au On 02/03/2005, at 9:44 AM, Steven Webster wrote: Agha, Can Cairngorm be used with Flash and if yes, where do I find any sample that I can look at? Sure Cairngorm can be used with Flash ... the only difference is that your user experience has to be built up in the FLA, and not using MXML; however, all the design patterns for managing response to user gestures, business logic, service calls, etc, still apply. In the ActionScript 2.0 Dictionary, we published something very similar to the Cairngorm framework (an early incantation of) which also includes an ActionScript 2.0 ServiceLocator for Flash Remoting. I know that Robin Hilliard and the team at RocketBoots have also been using Cairngorm with both Flash and Flex projects. We've not made any recommendations as to how you should build your FLA -- truth be told, in our humble opinion, if you're building RIA, you should be building them with Flex, not Flash. However, if you want some guidance on how to structure your FLA, you could check out what Aral has done with his ARP framework, which provides a bit more prescription as to how you should structure your FLA file on top of the same collection of design patterns as Cairngorm is using. Perhaps Robin Hilliard might be able to pipe up with some specific advice. Mine would be to spare yourself unnecessary pain, trauma, performance woes and wheel reinvention and use Flex ;-) Hope that helps, Steven -- Steven Webster Technical Director iteration::two