Jai’s Weblog – Tech, Security & Fun…

Tech, Security & Fun…

  • Jaibeer Malik

    Jaibeer Malik
  • View Jaibeer Malik's profile on LinkedIn
  • Subscribe

  • Feedburner

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 29 other followers

  • Archives

  • Categories

  • Stats

    • 379,210
  • Live Traffic

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

Next

In the coming posts, I am planning to cover more about the experiences with Cairngorm framework and related extensions.

  • Cairngorm Framework
  • SpringActionscript
  • 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.

Stay tuned.

2 Responses to “Flex then, now & tomorrow – From a java developer’s perspective”

  1. Just FYI, there are two other Flex frameworks that promote an MVC-style of coding, Mate and Swiz. You can read about both of those frameworks and Caringorm and pureMVC at the following URL: http://www.adobe.com/devnet/flex/articles/flex_framework_02.html

  2. […] to help clarify the various aspects along the way.   I reccomend reading Flex Then and now from the Perspective of a Java Developer as a resource for the frameworks available and for some background […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: