Welcome aboard.
First thing I'd add, is that Cairngorm isn't intended to manage the implementation of your view - the intent of the framework is to help you structure the business tier and integration tier of your client side application architecture. We don't feel that a framework such as Cairngorm can make generic recommendations as to how you should compose your view (presentation tier), manage interactivity, etc ... That really depends greatly upon your application, and Flex already offers tremendous flexibility in terms of the choices you can make there.
I'm curious as to your assertion that if you use a ViewStack, that you can't leverage effects - you absolutely can assign effects to what happens when a particular view in your view stack container is hidden or shown for instance. Alistar Mcleod and I wrote the book "Developing Rich Clients with Macromedia Flex", and the chapter on effects and behaviors is available online at this URL:
http://www.adobe.com/devnet/flex/articles/behavior_effects.html
Table 13.2 in that chapter outlines the triggers you can assign effects to.
In terms of Cairngorm - have you also found the articles (6 of them) that I wrote at www.adobe.com/devnet/ ? That should be a comprehensive starting point for you with Cairngorm.
Welcome to our brave new world of RIA !
Best,
Steven
--
Steven Webster
Practice Director (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6108
m: +44 (0) 7917 428 947
[EMAIL PROTECTED]
> -----Original Message-----
> From: [email protected]
> [mailto:[EMAIL PROTECTED] On Behalf Of riku.raisanen
> Sent: 31 May 2006 22:48
> To: [email protected]
> Subject: [flexcoders] f2b3 + cairngorm f2b3: How to control Views
>
> First of all, hello flexcoders. I'm Riku Räisänen, previous
> PHP and current Ruby programmer. Looking forward to share
> experience and knowledge in this board.
>
> I'm in the very early stages of building a rather big Flex
> application. The application should be robust and easy to
> extend thus I've tried to build it with Cairngorm.
>
> Cairngorm has a steep learning curve. It's all too javaish to
> me. After reading every document I could get my hands on, I'm
> finally able to grasp some of it. I've now successfully build
> models and VOs and controllers for a login system. The Views
> are also in place. However, I can't find a good way to
> control/switch Views.
>
> Recently I took a glance at NoteTag. NoteTag solves the
> problem by uing ViewStack. I'm still not quite satisfied with
> the approach.
> Without further studying, it would seem that I can't use
> transitions with ViewStacks. Flex sells due it's sexyness and
> I don't want to miss the effects.
>
> I almost gave up on using Cairngorm due to this problem and I
> can't seem to find a solution. I'm new to AS and Flex anyway.
> There's ViewLocator and ViewHelper, but reading the NoteTag
> comments it's not really needed at all. There must me some
> magic part of Cairngorm that reacts to changes and does all
> the viewchanging and comman calling. I like the rails
> approach where the action is optional.
>
> Are there any simplier (micro)frameworks for Flex than
> Cairngorm? Or rather, could you please tell me how you
> use/switch views in your flex applications.
>
> Any other tips would also be welcome. I'm merely beginning
> mya RIA journey.
>
> -Riku Räisänen
>
>
>
>
>
>
> ------------------------ Yahoo! Groups Sponsor
> --------------------~--> You can search right from your
> browser? It's easy and it's free. See how.
> http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
> --------------------------------------------------------------
> ------~->
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

