--- In [email protected], "Steven Webster" <[EMAIL PROTECTED]> wrote:
>
> Jonathan,
>  
> I think it's important to separate when people are using Cairngorm in an
> application (such as a Flickr application) in order to immerse oneself
> in or learn/understand the framework, or when people are applying the
> framework to leverage benefits in much larger application developments.
>  
> Are frameworks overkill for simple use-case apps like this ?  Probably.
> But is using Cairngorm for the first time wise on a mission-critical
> multi-developer application, before you're familiar with it ?
> Definitely.
>  
> And as people contribute their sample applicaitons that helped them
> better understand the concepts, surely there is merit in others being
> able to use them to help in their understanding also ?
>  
> Best wishes,
>  
> 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] 
> 
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  Probably worthy of an entire other discussion, but what was the benefit
> of using Cairngorm Framework with this application? This could be done a
> lot simplier outside unless I'm missing something. I guess I'm in the
> mood for a framework versus overkill discussion :-)
> 
>       _________________________________________
> 
>       Jonathan Miranda
> 
>       Flexible Master of the Web
> 
>       "In the game of chess, it's important to never let your opponent
> see your pieces."
> 
>       HealthGrades <http://www.healthgrades.com/> : Guiding America to
> Better Healthcare(tm)
> 
>       NASDAQ: HGRD
> 
>       w  (720) 963-3832
> 
>       c  (707) 761-0868
> 
>       [EMAIL PROTECTED] 
> 
>       _________________________________________
> 
>       The message contains confidential and/or legally privileged
> information and is intended for use only by the indicated addressee.  If
> you are not the named addressee you should not disseminate, distribute,
> or copy this e-mail. Please notify the sender immediately by e-mail if
> you have received this e-mail by mistake and delete this e-mail from
> your system. E-mail transmissions cannot be guaranteed to be secure or
> error-free as information could be intercepted, corrupted, lost,
> destroyed,arrive late or incomplete, or contain viruses. The sender
> therefore does not accept liability for any errors or omissions in the
> contents of this message which arise as a result of e-mail transmission.
> If verification is required please request a hard-copy version.
> 
>       
> ________________________________
> 
> 
>       From: [email protected]
> [mailto:[EMAIL PROTECTED] On Behalf Of Brian Riley
>       Sent: Thursday, February 23, 2006 12:48 PM
>       To: [email protected]; Brian Riley
>       Subject: [flexcoders] Cairngorm 2 / Flex 2 / Flickr
> 
>        
> 
>       I leveraged the new Cairngorm Framework (C2) recently on a Flex
> enabled Flickr app. Functionally, it's pretty similar to the hundreds of
> other Flickr apps, but the point of the app was to immerse myself in the
> new vr of C2, rather than to get bogged down in functionality. NOTE:
> loosely documented and some small errors, as this was just a first pass
> with C2 and Flex 2. Lots of refactoring and some small defects to
> address, but you'll get the pt. Just enter in tag(s) comma separated
> without spaces. eg: munch,rocco -- brings up my dogs.
>       
>       http://www.brianmriley.com/sandbox/flickr/FlickrV2.html
>       
>       One point or issue I had with C2 was the implementation of the
> ServiceLocator as an MXML component. The thing I love most about Flex is
> the clear separation of business logic from presentation logic -- MXML
> for views and AS for business / application logic. Sure, you'll have to
> add a bit of AS to all your views in order to make it work, but my ideal
> app leverages MXML only for views only. So, I created my own
> ServiceLocator for the application, and moved some of the result and
> fault objects to the BusinessDelegate. My BusinessDelegate is specific
> to the my Flickr application, but it could be refactored to a an
> AbstractBusinessDelegate or similar.
>       
>       Also, since I leverage the ARP framework for Flash apps quite a
> bit, I like the idea of instantiating Commands as they're needed, not
> when the Controller is instantiated -- while I didn't implement this in
> my first pass at the app, I'm probably going to introduce this in my
> next vr.
>       
>       And then there's the use of additional controllers. I usually
> introduce controllers into my app for the different MVC triads that
> require it -- while this can be seen as overkill, I sometimes like the
> granular control of smaller MVCs within my app. I took this away from
> large Flash apps, but I've found it's not as necessary in Flex. That
> being said, I've considered creating an additional controller here to
> handle the c lick event from the DataGrid, although it could be
> completey unnecessary in this small app.
>       
>       I'll continue to add additional functionality as I have time.
> Feel free to comment.
>       
>       Yes, I know my Flickr info is in the src ;-)
>       
>       -riley
> 
>       
> ________________________________
> 
> 
>       Yahoo! Autos
> <http://us.rd.yahoo.com/evt=38381/%20ylc=X3oDMTEzcGlrdGY5BF9TAzk3MTA3MDc
> 2BHNlYwNtYWlsdGFncwRzbGsDMWF1dG9z/*http:/autos.yahoo.com/index.html%20>
> . Looking for a sweet ride? Get pricing, reviews, & more on new and used
> cars. 
>       
>       
>       --
>       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
> <http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+
> site+design+development&w2=Computer+software+development&w3=Software+des
> ign+and+development&w4=Macromedia+flex&w5=Software+development+best+prac
> tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>   Computer software
> development
> <http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=We
> b+site+design+development&w2=Computer+software+development&w3=Software+d
> esign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
> actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>         Software design and
> development
> <http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=
> Web+site+design+development&w2=Computer+software+development&w3=Software
> +design+and+development&w4=Macromedia+flex&w5=Software+development+best+
> practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>       
> Macromedia flex
> <http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+
> development&w2=Computer+software+development&w3=Software+design+and+deve
> lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1
> 66&.sig=OO6nPIrz7_EpZI36cYzBjw>       Software development best
> practice
> <http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&;
> w1=Web+site+design+development&w2=Computer+software+development&w3=Softw
> are+design+and+development&w4=Macromedia+flex&w5=Software+development+be
> st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>    
> 
> ________________________________
> 
>       YAHOO! GROUPS LINKS 
> 
> 
>               
>       *        Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the web.
>                 
>       *        To unsubscribe from this group, send an email to:
>                [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
>                 
>       *        Your use of Yahoo! Groups is subject to the Yahoo!
> Terms of Service <http://docs.yahoo.com/info/terms/> . 
> 
> 
> ________________________________
>

Thanks Steven...exactly my point. I originally created the app for my
teammates who weren't familiar with the framework, and thus needed a
simple example.

Any thoughts to the ServiceLocator approach I took?

Thanks,
-riley






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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to