Once or twice a week, I visit the archives of the FlashCoders mailing list to see what folks are talking about. Recently, there’s been a huge thread boiling about using FlexBuilder 2 versus using the Flash IDE. On one hand, like me, some people are super excited about FlexBuilder. I come from a computer science background, and by leveraging Eclipse, Adobe is making me feel more at home. On the other hand, some people could be defined as a developer-designer hybrid. Some of these folks want to understand why the Flex framework and FlexBuilder are so cool to guys like me. Many almost seem angry about the existence of Flex.
First of all, the Flash IDE as it is now isn’t going away. If you can’t understand why Flex and FlexBuilder are so cool, that’s fine. You don’t have to use them. Flash will still be there. The only thing you’ll really be missing is the MXML that Flex uses, but the Flash IDE doesn’t have that anyway, so you won’t lose anything that you already have. In fact, as a developer, you’re probably going to get more coding features. Plus, since the Flex SDK is free, you’ll still be able to use MXML if you really need it. I remember someone mentioned that they didn’t want to buy two different IDEs. The SDK is perfectly usable without FlexBuilder. I’ve already seen some efforts to integrate Flex with programs other than Eclipse.
Some people are saying that RIA and form-based development is possible in the Flash IDE, so why should they use Flex? Yes, you can make everything in Flash that can be done in Flex. It all gets output to SWF, afterall. However, it’s just not as easy. A couple lines of MXML in Flex can replace a classful of event listening and all that jazz. It’s great for results coming from web services because you can bind them without having to write nasty XML parsing code. I haven’t used states much yet, but I’m sure someone can add good reasons why these make form-based development much easier. It seems to me that they help put logic for a single state in one defined place. I know that code can get pretty messy with tons of if-else statements when you have to keep track states in AS2 right now.
The component architecture is also much better than the one in Flash 7 and 8. I know many developers that wrote all their components from scratch just to get better functionality and better skinning. Now, I’m guessing that a lot of people will be more than happy to use the components from the Flex framework. They’re free, they’re powerful, and there’s a ton of documentation. The biggest hurdle will be skinning these components, and it looks there are some tutorials about skinning already.
In the end, it’s up to everyone to decide for themselves if they want to use Flex or not. The best way is to go to Adobe Labs and download the FlexBuilder beta yourself while it’s still free, read through the documentation, and figure out if it fits your needs. Certainly, it isn’t just for RIA developers, but that’s one if its focuses. If anything, it’s a better coding environment with all the features of Eclipse. If you don’t think it will work for you, then that’s cool too.