Flex then, now & tomorrow – From a java developer’s perspective
Posted by Jai on August 18, 2009
This is the first post in series of posts which I am planning to cover regarding Adobe Flex, Cairngorm, Cairngorm Extensions, SpringActionscript, Spring Blazeds, Spring, JPA and Hibernate integration, lessons learned in doing the same and how it stands from a java developer’s perspective.
Why Flex for me
Now a days everyone is talking about RIA, Web 2.0 stuff. Both client and end customer want the fancy look and feel and complex integration points as the screen. From a developer’s perspective some times it becomes a bit tricky to jump from one technology to another and mapping the ideas from both. But that is the moral of the story “A day in developer’s life”🙂
Those used to be the times when I first time came across Adobe Flex and thought to give it a try but things didn’t go as planned. And soon I was running away from it. I used to hear that there was minimum support for flex in terms of IDE etc. and you need to learn new language “actionscript” etc. But recently I got the chance to finally work on one of the flex projects.
Flex was one of the top runners in the race of deciding which framework to use for the UI part of the application. Rich Interface provided by Flex applications was another add on. GWT left out in the way because of the browser java-script problems.
Being a java developer, we thought to find out something like MVC frameworks which may ease out the life of a developer, even in flex. Similar to java, put all code in a single jsp file etc., you can code everything in single mxml file but you don’t want to do that. The search started to look for some good available flex MVC frameworks.
Available Flex MVC Frameworks
Usually you will find equally supporting and contradicting comments from people related to each framework. For us the challenge was to have the minimum learning curve and to get the things started. What could be better choice than Cairngorm itself. Another runner up was PureMVC, but the feedback in terms of big learning curve etc. lowered down the enthusiasm. Another plus point for Cairngorm is the big name “Adobe” behind it which suggests that you may get both organizational and community support for it.
Popular Flex MVC Frameworks, list
From Cairngorm to PureMVC : a quick comparison
In the coming posts, I am planning to cover more about the experiences with Cairngorm framework and related extensions.
- Cairngorm Framework
- SpringActionscript cairgorm extension
- Cairgnform UM Extension
- Tips&Tricks to handle practical problems
- Spring Blazeds integration
- JPA/Hibernate lazy loading problems
- VO/DTO strategy for data transfer
- dpHibernate, how useful and scalable solution
- The best practices in terms of Architecture and managing code
- Lessons learned in adopting these frameworks and practices
From a java developer’s perspective, having worked on different MVC frameworks like struts,webwork,wicket etc. we are more inclined to look for some kind of support or api for every little practical problem in web development. I am gonna share similar kind of experiences here related to flex development in coming posts.