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
0

ModelLocater.... Yikes...!

Flex

It’s weird!?!? It’s NOT like ModelGlue /Mach-ii /FuseBox !!!

Is it true??!?!?! EVERYBODY LOVES/HUGS/TOUCHES/CHATS/KNOWS about a POOL (ModelLocater.as file) of data!??!? Is that a kool pattern!?!?! Scared!??!?!?!?!? =%

Well, anyway... If you love ColdFusion Framework development, take a look at Cairngorm, its pretty clean, super cool, ready for CodeGeneration (seems like), and has a VERY sexy name.

Daddy is starting to like. Once you grok/make all those Events/Controller/Command/Deligate/Service/FinallyInLovlyColdFusionLand.cfc files, it seems like a LOT of fun!!!! Seriously! The workflow is clean... but....... ModelLocater?!?!??!?!

ModelLocater Pattern (another link Steve Webster is KOOL!), from a HTML web developer perspective, seems fraught with danger!!!!!! It scares the dickens out of me!

 

Side note: Am I totally STUPID or dose the Guasax framework cache things. I spent SEVERAL hours trying to get this AWESOME looking puppy up and running. Good when “onApplicationInit”, but then NOTHING changes after that unless you KILL the framework specific code at the top of your <ms:Application>, and then re-run, add the framework code back in, and then re-run again. I  know that I am missing a “production”/”development” setting some where, but WHERE is that documented. NOT Bitching! Seems like a PHAT, super simple ModelGlue like front controller framework and GO SPAIN for making something so cool looking. Gonna mess around with you some more.

tags:
Flex

Search