---
title: "fxmq"
author: "buasgf"
date: "2012-07-02T10:13:44Z"
tags: []
categories: ["非技术"]
slug: "fxmq"
draft: false
lastmod: "2012-07-02T10:13:44Z"
id: 1573677
url: "https://buasgf.iteye.com/blog/1573677"
---


　　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                                                                                                                      
