Archive for June, 2009

MVC Frameworks for Flex

Thursday, June 11th, 2009

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.