Get flash to fully experience Pearltrees
After studying the Parsley framework lately, I obviously decided to created a mini-application to learn the basics of how the framework operates. And I've decided to share that here. Some concepts like custom Events and Commands will seem familiar if you have used the Cairngorm framework in the past.
This is the second part in a series exploring Inversion of Control and Dependency Injection containers available for Flex. In the first part of the series we discussed what IoC and DI are and how they can benefit our applications. In this part, we will explore the Parsley IoC Container through a simple image gallery application. Here's the source on github...
Apparently it’s hard to find straight up docs on how to set up Parsley. And frameworks can be confusing. And really you shouldn’t use them in production if you aren’t really comfortable with them. Otherwise you just make a big mess. Ok enough preamble.
I decided to break down the Parsley framework for Flex and Flash projects. This is my own minimalist example. I am not going to extol virtues or evils with using Parsley and assume you just want to get a basic example that explains the pieces. It was hard to find a good minimalist starter example that takes the time to explain the details.
Inversion of Control (IOC) is one of a design strategy that has become popular in software development over the last few years, if you are from Java or .Net ecosystem then you must have heard about it. So what is the IOC? In a nutshell, IOC is an approach in which a separate object is responsible for populating the fields of other objects with correct implementations, instead of these other objects being responsible themselves.
This is a series of articles that should help you get you up and running with Parsley quickly. It starts with the basics and moves up to more advanced features. If you are new to Parsley or with to find out how to use Parsley in and MVC implementation, you came to the right place. I'm a developer who ran into Flex some years back and fell in love with it. As usual, the quest for finding better ways of doing things is always on, and as projects grow in size this becomes even more important.
amfPHP is free and open source software, and an essential brick for the development of Web Applications. amfPHP is used in projects that cover a wide spectrum, from games to business applications.