Welcome!

ColdFusion Authors: Pat Romanski, Liz McMillan, Maureen O'Gara, Greg Ness, Andreas Grabner

Related Topics: ColdFusion, Adobe Flex, AJAX & REA

ColdFusion: Article

Know Your Flex Proxy

Little known but powerful Proxy objects

Flex framework includes a pretty useful object that deserves more attention: mx.util.ObjectProxy. You can wrap your object (i.e. Person)  into this proxy which will obediently report on all changes that are happening to this instance of a person.

If you subclass ObjectProxy, you can even add a new  behavior to the wrapped object without touching a single line of its code.

I’ve recorded a short video showing a couple of examples of using proxies in Flex.

This is one of many tricks and techniques that consultants from Farata Systems use while working on enterprise Flex projects, and we’ll continue to share them with you in the form of such mini demos as well as in one of our public seminars like the one on September 24-25 in London, UK (use the ebd discount code to get the early bird price) or on October 30 in Atlanta, GA.

For up-to-date schedule of advanced Flex seminars see the section Training  at http://www.faratasystems.com.

More Stories By Yakov Fain

Yakov Fain is a Managing Director of Farata Systems, consulting, training and product company. He has authored several Java books, dozens of technical articles. SYS-CON Books released his latest co-authored book , Rich Internet Applications with Adobe Flex and Java: Secrets of the Masters in Spring 2007. Sun Microsystems has nominated and awarded Yakov with the title Java Champion. He leads the Princeton Java Users Group. He is an Adobe Certified Flex Instructor. Currently Yakov works on the book for O'Reilly "Enterprise Application Development with Flex". He twits at twitter.com/yfain.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.