views:

161

answers:

2

I am planning to start a new project in as3 and I want Dependency Injection in the project. I found that parsley and Robotlegs are two popular frameworks for implementing DI in AS3. Which is the best one among these two?

My main requirements are

  1. lightweight
  2. minimal learning
  3. extensive documentation and active helping community
+1  A: 

There is no "Best one" when it comes to frameworks. Many frameworks often use similar design patterns, but have a slightly different implementation of them to accomplish similar goals.

Frameworks are designed to solve problems in development. First, you need to decide what problems you're trying to solve; then you can evaluate frameworks to see if they will help you solve those problems. Many times the answer is yes.

In terms of popularity; Robotlegs is the current "Darling" of the Flex Community; but Parsley has barely made a dent. But, popularity hardly relates to solving the problems specific to your project.

www.Flextras.com
+1  A: 

Both are good. Robotlegs has fewer features and a smaller learning curve. Parsley has more features and a steeper learning curve. Both have good documentation and support.

But they are "application" frameworks. If all you are looking for is Dependency Injection you can try:

Franky-D