On AIR with Flex

Tag: Event

A Stint at Open Hack Day 2010

by on Aug.07, 2010, under Tech

A long awaiting post, Yahoo! Open Hack Day 2010, Bengaluru. This happens to be my longest stint with coding. For those of you who dont’ know, Open Hack Day is 24 hrs – to build an innovative application on-spot, overnight, with unlimited caffeine and Red Bull’s and glowing laptop’s all around – Not to mention the smell of Geek Air :) . Thanks to Twitter, I managed to make it to the 13th Open Hack Day.

Open Hack India

If you are wondering why am I bragging about ‘Hacking’, your probably mistaken.

Hack != Illegal

(continue reading…)

4 Comments :, , , , , , , , , , , , , more...

Flex – Validate Email Address against the Mail Server

by on Jun.12, 2010, under Code Snippets, Flex

Here is a small piece of code I wrote to demonstrate Interacting with a Command, through an Event while using a Cairngorm Framework.

The application connects to a WSDL webservice via Flash Builder 4 Data/Services to validate an Email address against the Email Server. Doesn’t work well with domains with a ‘Catch-All’ email address though !
(continue reading…)

2 Comments :, , , , , , , , , , , , , more...

Flex Cairngorm – Interacting with a Command, through an Event

by on May.16, 2010, under Best Practices, Flex

Cairngorm is a lightweight micro-architecture framework for Rich Internet Applications built in Flex or AIR, defining best-practices for a RIA. Read More

When a Cairngorm command requires parameters to call the required delegate, a common (bad) practice is to fetch parameters from View Components / Calculate or Query from inside the Cairngorm Command, and end up writing complicated / un-understandable code inside Command files, when a Cairngorm event is being dispatched from > 1 AS files.

But isn’t all this going against the very purpose of using the Cairngorm architecture?
Why not have parameters passed to a Cairngorm Event every time its dispatched, and stay away from mixing C with M and V in a MVC Framework?

This post explains how you pass parameters to a Cairngorm command at runtime, via a Cairngorm Event.
(continue reading…)

15 Comments :, , , , , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!