MVC Frameworks for Flex

June 11th, 2009

Well, since I’m seeking to get out of my solitary bubble (working by and for myself at home) I’ve been looking for partners who will compliment my skills and or looking for work in a company with AS3 coders who can really help me to grow as a professional….

This has led to a question that pops up in every interview… What is your experience with:

  1. Cairngorm
  2. PureMVC
  3. and now MATE (asfusion).

I already knew a little about Cairngorm and PureMVC, but just looked into MATE (as a company that started an interview process with me is using it…) and this triggered a thought I had ruminated on before, but now the ruminations are churning again…

Since I write almost 100% AS3 and use the Flex Framework almost 100%, WHY do I need a ridged MVC framework???

They all seem to add needless complexity to the task.

I asked Joey Lott (the guy I most respect for anything ActionScript) and he said, “I don’t use Cairngorm. I think it is unnecessarily complex.”  I think in the context of my question, that could also apply to PureMVC and possibley MATE.

So having an ActionScript rock star say that, added to my feelings that were the same, I now needed to find an answer to WHY all these companies require it or even WANT to use it (the micro-architecutre frameworks)…

Here’s what I came up with:

Since companies with many programming or developer employees have to all be able to work together and since they all come from different backgrounds of organizational styles, they simply must use a ridgid framework so everyone will be on the same page. Even at the cost of extra complexity, it saves time in the long run (so the logic goes)…sort of a design pattern for human resource organization more than anything else.

However, I believe that if the CTO sat down with the lead developers at the company formation or reformation, (speaking of Flex based projects only here), they could come up with organizational guidelines that would maximize structure without all the unnecessary complextiy.

Sort of like, ok, at Acme, Inc., this is how we set up projects. We use MVC in general and bla, bla, bla….you get the point.

I mean in PureMVC it takes five files to make a  service call, where it takes 5 lines in the Flex Framwork… the only potential problem in multi-programmer environment (for the 5 line flex framework solution) would be having an organizational model so everyone knows WHERE, WHEN the service call will be made (so they can find it easily for maintenance)…etc…

That’s my view anyway.

If you enjoyed this post, make sure you subscribe to the SDFlex RSS feed!

Excellent Class Visualization FREE…

March 31st, 2009

By accident, I found HP SwfScan while doing some flash security work. I have to say I was impressed with this little freebie. They are one step away from the Class Mapper I keep talking about (but too lazy/busy to build).

If you haven’t already checked it out, you really ought to… that is if you like to introspect Actionscript Classes.

I find it more useful than the SoThink SwfDecompiler to be honest. I know it doesn’t have all the bells and whistles, but I don’t use those anyway I just want to see code and I REALLY like to see Class Maps or Class Hierarchy.

If you enjoyed this post, make sure you subscribe to the SDFlex RSS feed!

Gumbo

February 26th, 2009

Ok, I took the Gumbo splash yesterday and, well, after messing around I’d have to say it’s just more XMLy (like more funn-y, or tast-y, or happ-y). The mxml is more like XML and so while it takes a few apps to get the hang of it, in the end I think it’s going to be better.

Getting my FlexBuilder 3.0.214193 to stop choosing FlashPlayer 9 was aggrivating to say the least (I’m talking about viewing your app in the FlashPlayer but not in the browser),  I eventually did it and here’s a hint-  Changing the compiler argument didn’t do it, nor did setting the create HTML wrapper to use 10.0.0 …. I had to just download the stand alone 10.0 and then make sure my app could find it. argggghh.

I wish Adobe would get things further along before they really start talking it up. I hate waiting. I want the display view, I want CSS style hints…etc…

Well, the publishing world is going to be happy as clams as there will be good reason to write some new books covering Gumbo.

If you enjoyed this post, make sure you subscribe to the SDFlex RSS feed!

AS3 Libraries

February 11th, 2009

I don’ t know about you, but when I am trying to create something new, I like to see what’s out there already, sort of a “get the juices flowing” thing. Well, I was going through my AS3 code libraries, getting rid of the ones I don’t use and updating the ones I do use….and that led to a AS3 libraries search.

You can go to Google Code and find a LOT of cool code libraries, but unfortunately it isn’t MANDATORY to post your code library there. So that means you will have to scour the blogs and put togehter what you need.

But what if someone is just starting out, and they want to just go out and grab all the coolest libraries and gadgets out there for thier coding pleasure??

Look no further… I found this in about 20 minutes and I would say it is a veritable gold mine of class libraries that you most likely will use or know someone who uses some of them.

I found it here: Sean Moore’s Blog

Now don’t say no one ever helped you out on the way up!

If you enjoyed this post, make sure you subscribe to the SDFlex RSS feed!

No MaintainAS3 Forthcoming…

October 9th, 2008

I was just checking in with Choudary over at MaintainJ and here is the bummer news he had: 

########################

 Hello Kevin,

…MaintainJ depends on AspectJ to get the call trace. I didn’t find any either AspectJ support or equivalent for ActionScript. In the absence of that, it will be of lot of effort to get MaintainJ work for ActionScript.
Regards,

Choudary.

#######################

Oh well, you can still use the method I outlined below at the begining of this topic. Sorry folks.

If you enjoyed this post, make sure you subscribe to the SDFlex RSS feed!