Oh of course, I didn’t mean to come across as dogging his application efforts – I was asking mostly if he found benefits to using Cairngorm besides a learning experience. I probably should have started another discussion instead of coat-tail his application, it probably came off as negative. Hats off for getting it to work in Cairngorm, I know it’s not easy.

_________________________________________

Jonathan Miranda

Flexible Master of the Web

"In the game of chess, it's important to never let your opponent see your pieces."

HealthGrades: Guiding America to Better Healthcare™

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 Steven Webster
Sent: Thursday, February 23, 2006 2:07 PM
To: [email protected]
Subject: RE: [flexcoders] Cairngorm 2 / Flex 2 / Flickr

 

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 J

_________________________________________

Jonathan Miranda

Flexible Master of the Web

"In the game of chess, it's important to never let your opponent see your pieces."

HealthGrades: Guiding America to Better Healthcare™

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. 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 Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to