ColdFusion News Desk
Ben Forta's ColdFusion Blog: ColdFusion Flex Enterprise Services Based Session Tracker Online
Uses Flex Enterprise Services to push real time session details
Mar. 1, 2006 10:45 AM
One of the examples that I have been using in my user group presentations is a ColdFusion Session Tracker. This application uses Flex Enterprise Services to push real time session details to a connected Flex client. The display is a grid of sessions showing request count and when the most recent request occurred, and allowing each session to be expanded (to see details) and collapsed as needed.
The application is a demonstration of:
- How to send structured data from ColdFusion to Flex clients via Flex Enterprise Services (FES).
- How to subscribe to messages channels and how to consume received data.
- The use of custom grid renderers.
- Using states to implement expand/collapse views within grid cell renderers.
To create and run the ColdFusion Session Tracker you must have the following (all of which are downloadable from the Labs site):
- ColdFusion MX 7.01 (Enterprise or Developer editions) with the "Mystic" updater installed.
- Flex Builder 2.0 Beta 1.
- Flex Enterprise Services 2.0 Beta 1.
As this application uses Flex Enterprise Services it cannot be used with ColdFusion Standard (which does not support the use of event gateways). ColdFusion Enterprise (or Developer Edition) is required.
You can download the application (along with detailed instructions and usage notes) from the ColdFusion/Flex Connectivity page.
About Ben FortaBen Forta is Adobe's Senior Technical Evangelist. In that capacity he spends a considerable amount of time talking and writing about Adobe products (with an emphasis on ColdFusion and Flex), and providing feedback to help shape the future direction of the products. By the way, if you are not yet a ColdFusion user, you should be. It is an incredible product, and is truly deserving of all the praise it has been receiving. In a prior life he was a ColdFusion customer (he wrote one of the first large high visibility web sites using the product) and was so impressed he ended up working for the company that created it (Allaire). Ben is also the author of books on ColdFusion, SQL, Windows 2000, JSP, WAP, Regular Expressions, and more. Before joining Adobe (well, Allaire actually, and then Macromedia and Allaire merged, and then Adobe bought Macromedia) he helped found a company called Car.com which provides automotive services (buy a car, sell a car, etc) over the Web. Car.com (including Stoneage) is one of the largest automotive web sites out there, was written entirely in ColdFusion, and is now owned by Auto-By-Tel.