YOUR FEEDBACK
John Portnov wrote: This code does not work for me. I created a new website and a C# console applic...


2008 East
DIAMOND SPONSOR:
Data Direct
Frontiers in Data Access: The Coming Wave in Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
Intel
Virtualization – Path to Predictive Enterprise
Green Hills
IT Security in a Hostile World
JBoss / freedom oss
Practical SOA Approach
GOLD SPONSORS:
Software AG
The Art & Science of SOA: How Governance Enables Adoption
PlateSpin
Effective Planning for Virtual Infrastructure Growth
Fujitsu
Automated Business Process Discovery & Virtualization Service
Ceedo
Workspace Virtualization
Click For 2007 West
Event Webcasts

2008 East
PLATINUM SPONSORS:
Appcelerator
Think Fast: Accelerate AJAX Development with Appcelerator
GOLD SPONSORS:
DreamFace Interactive
The Ultimate Framework for Creating Personalized Web 2.0 Mashups
ICEsoft
AJAX and Social Computing for the Enterprise
Kaazing
Enterprise Comet: Real–Time, Real–Time, or Real–Time Web 2.0?
Nexaweb
Now Playing: Desktop Apps in the Browser!
Sun
jMaki as an AJAX Mashup Framework
POWER PANELS:
The Business Value
of RIAs
What Lies Beyond AJAX?
KEYNOTES:
Douglas Crockford
Can We Fix the Web?
Anthony Franco
2008: The Year of the RIA
Click For 2007 Event Webcasts
SYS-CON.TV
MXDJ TOP LINKS YOU MUST CLICK ON !


Flex Is All About Event-Driven Development
Flex Best Practices: An Application with a Single Event Class

This is the first in a series of articles that Flex architects from Farata Systems will be posting over the next several months. We’ll introduce you to our own class library that goes by the working name theriabook. Over the past couple of years we’ve been successfully using various coding techniques and custom components that turned the application development in Flex into a RAD project.

I’ll start with some history and definitions. While working on the book “RIA with Flex and Java”, we’ve been building a library of reusable components for the book samples. Since the book writing was our moonlight activity, we’ve had a chance to try all these components on the battlefield – during our consulting gigs with various clients. Unfortunately, last week we had to politely reject the offer from our publisher, SYS-CON Media, to write the second edition of that book. We just don't have time.

There are three ways of writing software:

1. Write the code from scratch.
2. Pick a framework and write the code by the rules dictated by this framework.
3. Use selected components from one or more class libraries.

To see the difference between a framework and a class library, visualize a construction site of a new housing development. In one home site, you see a frame of the future house, rooms are laid out, and electrical wires are hanging everywhere. The site next to it just has a pile of construction materials – Anderson windows, 2x4s, etc. Of course, the latter gives you a lot more freedom to decide how your future house will look…as long as you know how to construct it.

We like freedom, and will be presenting not only our “Anderson windows,” but also instructions  for using them during construction of your application. Best practices, as we currently see them. Your input is greatly appreciated and if you have your own construction materials or tricks of the trade, please add them to our pile.

All objects from our theriabook library will be available for free as an open source software governed by the MIT license – the same as the Flex Framework.

Without further ado, let’s go to our first best practice.

About Yakov Fain
Yakov Fain is a managing principal 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. Yakov teaches Java and Flex 2 part time at New York University. He is an Adobe Certified Flex Instructor and an Editor-in-Chief of Flex Developers Journal.

YOUR FEEDBACK
nuckelhed wrote: no kidding...what a joke
frank wrote: volume controls to scroll? did you also want a rotary dial to manually input numbers?!
Pondyian wrote: Stupidest article I have ever read
shea wrote: sounds like the iphone ain't the phone for you moron. Pick a new phone and move on.
Alex wrote: Joke of an article. First of all it is ILLEGAL and more importantly dangerous to drive and text. If you are so desperate to check your voice mail just hold down the #"1" key to enter voicemail. I hope you are driving where I live, idiot. Secondarily, the ipod portion of the iphone works. I routinely use my iphone ipod function when I run. Please don't use the iphone. Use the other junk phones on the market and if you text and drive, make sure you are on a country road and drive yourself into a pole.
Mike K. wrote: I realize the author is not alone, but it scares me to think that people actually think it is ok to text or look at a web site while driving. Virtual Keyboard or no virtual keyboard.
LATEST FLEX STORIES & POSTS
Red Hat CTO Brian Stevens, Citrix CTO Simon Crosby, Egenera CTO Pete Manca, Allen Stewart, Group Manager, Windows Virtualization at Microsoft, and Brian Duckering, Sr. Director of Products and Alliances at Symantec were the top industry executives who joined Jeremy Geelan in the 4th Fl...
I have recently released a new benchmark called GUIMark. GUIMark is kinda like an Acid3 test on speed that’s geared towards RIA technologies. The goal was to figure out how to implement a reference design in different runtimes and then benchmark how smoothly that design could be anim...
Clear Toolkit 3.0 is a set of components, code generators, and plugins created by software engineers of Farata Systems that they were using internally in multiple Flex enterprise projects. This toolkit will be available free of charge.
Mike Neil is general manager for virtualization strategy in the Windows Server Division at Microsoft. Mike is focused on the delivery of the Windows virtualization technology, including Windows Server 2008 Hyper-V, Microsoft Hyper-V Server and Virtual PC 2007. Mike also directs the tec...
Two of the biggest launches in Rich Internet Application history took place in 2007/2008 when Adobe launched AIR 1.0 in February '08 and Microsoft launched Silverlight (September '07). At the 6th International AJAXWorld RIA Conference & Expo in October SYS-CON Events is delighted to be...
I'd like to share with you my experience of working with LiveCycle ES 8.2. This strong player in the BPM space version has been released in July of 2008.
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS
SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021


SYS-CON FEATURED WHITEPAPERS

ADS BY GOOGLE