Fabrication: PureMvc cleaned up.
January 27th, 2009
So when I last posted an article, I did an example on PureMvc. It was just something small and simple. One of the thing I do not like about PureMvc though (plan on writing an article about this later) is the mediators “handleNotification” function. It seems to almost be common practice with PureMvc that you have this function and it just turns into a massive switch statement to find out what came back, where it goes, how its handled, etc. Fine some something small, but we have all seen what can happen with rogue switch statements. I’m sure there are more eligant work arounds for this, but I see it as a decent sized flaw.
Read more…