My PureMVC presentation
When it comes to enterprise application it’s difficult to recommend project owners to bet on a framework that hasn’t proved itself for a long time. So all…
When it comes to enterprise application it's difficult to recommend project owners to bet on a framework that hasn't proved itself for a long time. So all these sexy new frameworks with their lovely IoC will have to excuse us for now. That leaves us with cairngorm (yeah, I've heard the rumors) and PureMVC which is better IMHO and many others HO.
Recently, I've made this presentation about PureMVC, targeted to a specific enterprise application. These are most of the slides from the presentation.
Generally, the topics are:
- Why use an application framework?
- Why choose PureMVC?
- The PureMVC meta pattern
- PureMVC cons
- Can we SCRUM it?
View the presentation on SlideShare.
Related Posts
Comments (13)
Imported from the original blog
???? ?????? ??? ???? ???? ????
????? ?? ??? ????
Emmm...
MATE.
PureMVC is a framework that is over-architected to my opinion. So many Design Patterns that you find yourself lost inside the learning-POCing-architect head.
Try MATE, as for what I saw, it's much more simple and friendly but powerful as well.
@Amit,
Unfortunately my blog don't support comments in other languages than English. Can you please repeat that in English?
Thanx
@Matti,
Mate indeed looks promising as some of the other new frameworks out there. But when trying to pitch a framework, you'll most certainty will be asked:
Can you prove that this framework has been used in a lot of enterprise applications?
You'll have no problem saying yes when it comes to cairngorm, Adobe can help you do it. You'll be able to prove it as well when it comes to PureMVC. I'm not sure about the other frameworks.
I will try in English
I am as well starting my first PureMVC
project and it will be great if you will write more about
your implementation of PureMVC
That's what is good about PureMVC there are a lot of examples and tutorials out there.
Correct me if I'm wrong, but, mogobe.com seems like a pure Flash application.
What I like about PureMVC is that it's great for Pure Flash (none Flex) applications as well.
http://puremvc.org has a lot of articles and examples.
This is a good example of developing a Pure Flash modular application using PureMVC:
http://www.as3dp.com/2009/0...
I will post some examples of my own, I believe.
Yes you are right about that mogobe is a pure flash application
(using flex builder)
And as i wrote before what is interesting is how
you implement pureVMC in your application
most of the code example take just a one pice of it with one or 2 mediators
but how thing are going when you have hundreds of different commands
and Thanks for the link
The problem with commands is that sometimes a command can get too complex and handle too much logic. You should probably split it into multiple commands and run it sequentially if needed. It will result in a lot more commands which can be organize neatly inside their related folders.
A mediator can control a complex UI control and also multiple controls. If you have too many of these than put it in related folders.
Personally, I'm not afraid of lots of commands etc', if it's organized and the naming is good enough, you'll be fine.
If after all things are too complex than you should probably think of splitting it into modules.
Same old guideline, if it get too complex than split it.
thanks guy
I will try to write a post of my won that will display the a same uml diagram
of our system in pureVMC
when i will finish design it
Guy,
The thing is, that the argument "what is the most spreaded framework" simply doesn't hold water. I don't really care what is the most popular one, since I'm not in high scholl anymore. All I want is a simple framework that will get the work done, will not be intrusive to my app, be easily maintained, well documented and easy to use.
PureMVC is not all that... MATE comes closer. there is an inflation in Flex frameworks and it starts to harm those who choose badly.
I believe in the wisdom of many
especially in those staff
like "shwarma" kiosk i all way go to the most corded one.
@Amit, LoL :)
@Matti,
Its popularity is not the main reason why one should choose PureMVC. It's only the reason why a relatively new framework like Mate won't be accepted in some cases. The most popular framework is obviously still cairngorm. Most enterprise applications, but not only, either already use caringrom, or will agree to adopt it. After all, this is the official framework from Adobe.
The only alternative to Carnigrom in the enterprise space, unless you're the owner and do what ever you want, is PureMVC.
PureMVC is all that you described and more.
Personally, I don't prefer generated code (MXML), and I like the idea of being able to use the same good paradigm for my Flash and Flex applications.
Not saying that Mate is no good, it have some advantages, and I might use it myself sometime.
The thing about humans is that we all like to take sides, I'm not gonna swear upon PureMVC, but currently it's still my preference.
@Guya
I just wanted to give some props on the slides and comments. I'm going to be giving a presentation on PureMVC later this month, and it's been a part of my toolkit for over a year. Although other platform specific frameworks exist, it's nice to know I have a head start when moving to another language.
Cheers