On AIR with Flex

Best Practices

Mime types for a Flex Server

by on Nov.27, 2010, under Best Practices, Flex

Here are a couple of mime-types for a server housing flex apps,
Most of these maybe already defined by your hosting provider !

AIR
Mime-Type : application/vnd.adobe.air-application-installer-package+zip
Extension : .air

FXP
Mime-Type : application/x-zip
Extension : .fxp
(continue reading…)

1 Comment :, , , , , , , 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...

Coping with incompatible browsers

by on Nov.25, 2009, under Best Practices, Javascript, Tech

bwsrCompt

You hear of new software’s to browse the internet before you know it, be it new browsers or new versions. But how many of these really run the code on your website as expected? In spite of the W3C’s (World Wide Web Consortium) attempts to establish common standards, not many browsers comply, not to mention the oldest browser around, Internet Explorer. At the same time, you cannot expect users to use a W3C compliant web browser. Ask a newbie if s/he knows what Firefox is. “Fire… What?” would be an expected answer. If you are building a website, make sure its runs on atleast the popular browsers around, IE, Firefox, Chrome, Opera and Safari.

Here I list a few browser compatibility problems I’ve faced, and how I managed to solve them.
(continue reading…)

6 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!