Enterprise Framework

1 view
Skip to first unread message

see4th

unread,
Feb 18, 2009, 7:35:49 AM2/18/09
to Smartypants IOC
Josh,

I am currently reviewing frameworks for a large project. DI seems to
be a very hot topic at the moment.

My question: Is Smartypants a replacement for Cairngorm or PureMVC or
is it used in conjunction with other frameworks?

Thanks,

Jeff

Josh McDonald

unread,
Feb 18, 2009, 5:32:08 PM2/18/09
to smartyp...@googlegroups.com
Hi Jeff,

SmartyPants isn't a replacement for Cairngorm or PureMVC, although it could be used to cut down on the boilerplate and dependencies required to lookup various singletons required by those frameworks. Unless I'm mistaken, neither Cairngorm nor PureMVC offer any sort of dependency injection, but other frameworks such as Mate and Swiz provide some injection abilities, and Spring-AS3 (formerly Prana) does have a complete injector framework which is more-or-less comprarable in features to SmartyPants, but is modelled after Spring, whereas SmartyPants is "inspired by" Guice, although the DSL and annotation syntax is naturally rather different being in AS3 not Java 5.

I hope that helps :)

Cheers,
-Josh
--
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

Josh 'G-Funk' McDonald
  -  jo...@joshmcdonald.info
  -  http://twitter.com/sophistifunk
  -  http://flex.joshmcdonald.info/

Reply all
Reply to author
Forward
0 new messages