Integrating Flex with Spring


When I started to look at building front-end of my application in Flex, the very first challenge was the back-end integration. Being on the J2EE tech stack, it was easy because of the BlazeDS provided by Adobe itself. But, still there was challenge to integrate the application with Spring. There was another option GraniteDS which […]

Java to Flex


My clients were talking to me about Flex for 2 months, but one day they came back and announced that we need to move the project to Flex instead of traditional AJAX. And, it was time to get into a new technology. Leading a team into architecture, when you are unsure of the architecture is […]

Loose Coupling


Loose coupling is a practice that very strongly compliments OO principle “Programming against Interface, and not against an Implementation”. Two components are said to be loosely coupled when then are developed as interfaces that can be used for transferring data between the two. This involves lesser risk to the fact that change in one would […]

What is Flex?


This should have been the first of my posts. Someone asked this question to me and there were answers but nothing that would explain in depth. There you go… The Adobe Engagement Platform architecture Universal client technology By combining the strengths of ubiquitous Flash Player with Adobe ReaderĀ® software, HTML, and JavaScript, developers can deliver […]

Creating Layouts in Flex


Creating layouts in Flex should be easy, specially when you are using Flex builder and drag and drop capabilities. But, it is a little tricky than it seems and if you choose to ignore some of the finer details, I promise you will be stumped mid-way. While, I found some articles, but I still find […]

Flex Best Practices


Best Practices while developing in Flex/ActionScript 3.0 Use of Design Patterns As in any other language, use of design patterns is also recommended in Flex. Some of the most widely used and successful pattern in Flex world are: Command Pattern: As a design pattern, Command Pattern is used where objects are used to represents actions. […]

Code generation (Cairngorm)


I blogged about Cairngen a few hours back and I have that up and running now. Following are instruction to get that running: Down the project from Google project You need to some additional JARs as well: Mozilla Rhino (JavaScript libraries) Jacarta BSF One of the blogs also called out that you may need commons-logging-1.1.1.jar […]

If you are a Cairngorm user…


…you should try this baby – Cairngen utility that will help you generate all the code you need. Is very helpful as this: Brings in consistency to the code; Faster way of writing code; Providing common template to your source code files, like being able to add Copyright etc.; Reducing overheads. I have been trying […]