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 31 other followers

  • Archives

  • Categories

  • Stats

    • 406,404
  • Live Traffic

Posts Tagged ‘SpringActionscript’

Presentation: Enterprise Flex using Cairngorm

Posted by Jai on November 2, 2009


This post share the presentation “Enterprise Flex using Cairngorm” based on the different posts on flex shared here.

Posts: Flex Category

Presentation: Enterprise Flex using Cairngorm

Feel free to share feedback!!!

Advertisements

Posted in Cairngorm, Flex, Presentation | Tagged: , , , , | Leave a Comment »

Flex: Cairngorm View Notifications Strategies, Responders from Command to View

Posted by Jai on August 26, 2009


This post covers the different strategies you can use for view notifications during flex development using Cairngorm framework and the custom implementation of UM Cairngorm extension.

This is part of the series of posts:

Flex then, now & tomorrow – From a java developer’s perspective,

Flex: Cairngorm (MVC) , SpringActionscript (IOC) and other Cairngorm Extensions,

Flex: SpringActionscript (IOC) & SpringActionscript Cairngorm Extension Sample Code Examples

Flex Tips&Tricks

to cover different strategies in flex development using Cairngorm framework to solve different practical problems.

In this post we will see how to use presentation model for the view notification and the use of UM Cairngorm extension implementation for the view notifications. And how we can use Responders from command to view while using Cairngorm.

View Notifications using UM Cairngorm Extension strategy

The steps to implement view notification strategy:
Read the rest of this entry »

Posted in Cairngorm, Flex | Tagged: , , , , | 2 Comments »

Flex: SpringActionscript (IOC) & SpringActionscript Cairngorm Extension Sample Code Examples

Posted by Jai on August 24, 2009


This post covers some sample code examples of SpringActionscript Cairngorm Extension which you can use to inject the different Cairngorm objects using SpringActionscript framework (Flex IOC).

As promised in my earlier posts Flex then, now & tomorrow – From a java developer’s perspective, Flex: Cairngorm (MVC), SpringActionscript (IOC) and other Cairngorm Extensions to share the sample code examples, few strategies and best practices for flex development using Cairngorm.  In this post we will cover the Flex IOC, SpringActionscript framework and the Cairngorm extension. We will cover how we can configure the different objects that we can inject and usually need in cairngorm implementation are:

  • Event name and command mapping in front controller
  • Command needs models
  • Command needs delegate
  • Delegate needs service
  • Services and Amf channel configurations

Lets have a look at the overall application context file and then we can take each object one by one in more details and covering the sample code for it.
Read the rest of this entry »

Posted in Cairngorm, Flex | Tagged: , , , | Leave a Comment »

Flex: Cairngorm (MVC), SpringActionscript (IOC) and other Cairngorm Extensions

Posted by Jai on August 19, 2009


In this post I will cover brief about the flex Cairngorm framework , integration with SpringActionscript framework, SpringActionscript Cairngorm extension and other available cairngorm extensions and which may fit where in terms of specific tasks.

On a whole, agenda is:

  • Cairngorm framework – Flex MVC framework, available resources and how to get started.
  • SpringActionscript framework – IOC framework, how to get started and how it helps.
  • SpringActionscript Cairngorm extension – How it helps in following best practices and how to use it.
  • Cairngorm UM extension – UM extension for specific operations.

Cairngorm

There are many Flex MVC frameworks available and why Cairngorm for me, please have a look at Flex now, then & tomorrow…

Read the rest of this entry »

Posted in Cairngorm, Flex | Tagged: , , , , | 4 Comments »

Tips&Tricks: Include SpringActionscript application context file in swf file

Posted by Jai on August 18, 2009


There are multiple ways to include the application context file in swf file.


[Embed(source="application-context.xml", mimeType="application/octet-stream")]
        public class EmbeddedContext extends ByteArray {
        public function EmbeddedContext() {
                super();
            }

            public function get content():XML {
                return new XML(readUTFBytes(length));
                }
        }

 _applicationContext=new FlexXMLApplicationContext();
                _applicationContext.addConfig(new EmbeddedContext().content);
                _applicationContext.addEventListener(Event.COMPLETE, onApplicationContextComplete);
                _applicationContext.load();

Another way is to directly use the _applicationContext.addEmbeddedConfig(configClass).

Posted in Cairngorm, Flex, Tips&Tricks | Tagged: , , , | Leave a Comment »

 
%d bloggers like this: