0

ModelLocater Pattern UPDATE: ModelLocater is KEWL!

Flex

I am NOT the sharpest tool in the shed! Or, my Googling has been poor! Or I didn’t know what to Google!

Jeffry Houser give a good summery of the AWESOME Steve Websters paper on RIA and sheds clear insight about the reasons for the ModelLocater Pattern.

Thanks Jeff!

Forgot that a Flash application is LOCAL, and that makes the ModelLocater pattern pretty cool! A Part/Some of a Cairngorm .fla’s “model” is the clients local storage (not the Commands or Services code part of the “model” which happen BEFORE the SomethingModelLocater.as {file[memory space]} gets updated) which is just a reflection of the REAL model: your ColdFusion code working the db and giving it back to Flex via the cumbersome Delegate/Service layers of Cairngorm! Great! Cumbersome, but easy to understand! The LESS AS3 code the BETTER! Give me my

{cfawesomeabstractiontag x = anotherGreatColdFusionFunction(iLoveColdFusion, “itsTrue”, “100,000,000,000”)}

any day of the week! Ick AS3! I think Cairngorm will let me do WAY easer and more templated (is that a word?) AS3 code. Cairngorm is PRETTY SLICK! Lots of files... but slick!

I think my fear is that I can’t seem to control a Sequence-of-Things-After-a-Cairngorm-Command, but maybe a switch statement in the onResponse is what I’m looking for. Will test in the AM.

Being a Noob is kinda (and only kinda!) fun sometimes =>

tags:
Flex

Search