Member Sign In
Not a member?

A Wired.com user account lets you create, edit and comment on Webmonkey articles. You will also be able to contribute to the Wired How-To Wiki and comment on news stories at Wired.com.


It's fast and free.

Webmonkey is a property of Wired Digital.
processing...
Join Webmonkey

Please send me occasional e-mail updates about new features and special offers from Wired/Webmonkey.
Yes No

Please send occasional e-mail offers from Wired/Webmonkey affiliated web sites and publications, and carefully selected companies.
Yes No

I understand and agree that registration on or use of this site constitutes agreement to Webmonkey's User Agreement and Privacy Policy.
Webmonkey is a property of Wired Digital.
processing...

Retrieve Sign In

Please enter your e-mail address or username below. Your username and password will be sent to the e-mail address you provided us.

or
Webmonkey is a property of Wired Digital.
processing...

Welcome to Webmonkey

A private profile page has been created for you.
As a member of Webmonkey, you can now:
  • edit articles
  • add to the code library
  • design and write a tutorial
  • comment on any Webmonkey article
Close
Webmonkey is a property of Wired Digital.

Sign In Information Sent

An e-mail has been sent to the e-mail address registered in this account.
If you cannot find it in your in-box, please check your bulk or junk folders.
Sign In
Webmonkey is a property of Wired Digital.

Flensed Project releases CheckPlayer and flXHR

/skill level/
/viewed/
0 Times

Article

COMPARISON UPDATE

I have updated flXHR's home page and FAQ with detailed information comparing flXHR to 4 other flash-AJAX type solutions out there: Fjax, SWFHttpRequest, FlashXMLHttpRequest, and F4A.

Through the comparisons, I show how flXHR is more advanced, more stable and robust, more flexible, and more secure than those other choices.

Comparison tables: http://flxhr.flensed.com
FAQ comparisons: http://flxhr.flensed.com/faq.php


CheckPlayer (a tool for easy Flash Player plugin detection, upgrades, and SWF embedding), and flXHR (pronounced flex-er, a tool for direct, client-side, cross-domain fl-AJAX communication) are two new foundation projects from the 'flensed' family.

The flensed family announces CheckPlayer and flXHR (pronounced flex-er), two revolutionary projects that redefine how websites can leverage and interact with SWF assets. CheckPlayer provides a powerful yet dead-simple interface for web authors to check the Flash Player plugin version, initiate inline auto-updating, and embed SWF assets at any time. flXHR is a drop-in replacement for the browser's native XMLHttpRequest (XHR) object, but with powerful new features like direct cross-domain communication support.

flensed (http://www.flensed.com/) is a free, open-source (MIT licensed) family of projects for harnessing the largely untapped power of Javascript+SWF(+HTML/CSS). These projects are a re-thinking of how SWF's are used on web pages, bringing the power and usefulness back to Flash-on-the-web. Because Flash is so common now (Adobe claims almost 99%), flensed is positioned as the best way to solve many of the most challenging cross-browser problems in a totally consistent, predictable medium.

CheckPlayer is a repackaging and extension of the well-known SWFObject (v2.1) library, which means the web author gets both libraries -- the best of both worlds. It provides some revolutionary new features, and makes adding SWF's to a page almost effortless, compared to the old days of hand-coding "embed" and "object" tags. In addition, CheckPlayer provides an incredibly easy-to-use interface for checking the version of a browser's Flash Player plugin, and prompting the user to update it if the page requires a newer version.

Combined with the powerful functionality of SWFObject, CheckPlayer is a complete solution for embedding and interacting with SWF's on a web page. Any page already written to utilize SWFObject 2.0+ will integrate easily with CheckPlayer.

flXHR is a powerful new approach to the frustrating cross-domain security restriction problem (Javascript is blocked from communicating with a server at a different domain than the page). Mash-ups, third-party application integration, and code re-use are just some of the many reasons why this type of behavior is so important to today's Web 2.0 pages. But until now, Javascript-only (or worse, server-proxy-based) solutions have had to jump through many ugly, insecure, inefficient hoops to make this happen.

flXHR changes all that. flXHR implements a compatible API to the native XMLHttpRequest (XHR) browser object, while adding a few helpful nuggets to the mix. Most importantly, flXHR uses an invisible SWF instance which makes use of Flash Player's robust cross-domain security model, to directly punch through this domain barrier, instead of working around the barrier in sub-optimal ways like the current solutions do. The result: flXHR is literally a drop-in replacement for XHR, with more power, security, consistency, and ease-of-use than XHR itself ever had. Because the API is fully compatible with XHR, flXHR can easily be adapted to work with many of the most popular Javascript frameworks, including Dojo, Prototype, and YUI to name a few.

CheckPlayer and flXHR were jointly developed for open-source release and for a commercial application for software company Pointserve, Inc., located in Austin, TX. Pointserve is using the flensed projects to strengthen how their application interacts with partner applications and with the end-user. "flXHR has really improved the way I write cross-domain scripting code. It removes all the headaches from ugly workarounds -- it's so powerful and easy to use." (Brian Ruhl, Lead UI Developer, Pointserve, Inc.)

CheckPlayer and flXHR are battle-tested and ready, but now promise to get even better as the open-source web community gets ahold of them. flensed is blazing a new path for how SWF's can be used not just to bring bells and whistles to a page, but to truly integrate with and strengthen its architecture and its scope.

About flensed: flensed is an open-source offering from Getify Solutions, Inc., a web development company based in Austin, TX. Kyle Simpson is the primary author and developer.

  • This page was last modified 05:28, 21 June 2008.
Edit this article
Reddit Digg
 
Subscribe now

Special Offer For Webmonkey Users

WIRED magazine:
The first word on how technology is changing our world.

Subscribe for just $10 a year