---
title: "fxmq"
author: "em641em"
date: "2012-07-02T12:56:08Z"
tags: []
categories: ["非技术"]
slug: "fxmq"
draft: false
lastmod: "2012-07-02T12:56:08Z"
id: 1574319
url: "https://em641em.iteye.com/blog/1574319"
---

Flex Message Queue (fxmq) (based on Appcelerator Entourage MQ) provides a lightweight client-side message bus to power event driven programming in Flex with a fraction of the code required for other event handling mechanisms, such as the MVC-style event handling provided by Adobe's Cairngorm Microarchitecture. This implementation of the observer pattern provides a much easier to use programming interface than that of Cairngorm or the native events provided by Flex.  The following is a simple example of using the publish/subscribe programming model of fxmq                                                                                                                   height="400"width="500"text="{msgLog}"/>