Digital Edition

SYS-CON.TV
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 Java Champion and a co-founder of the IT consultancy Farata Systems and the product company SuranceBay. He wrote a thousand blogs (http://yakovfain.com) and several books about software development. Yakov authored and co-authored such books as "Angular 2 Development with TypeScript", "Java 24-Hour Trainer", and "Enterprise Web Development". His Twitter tag is @yfain

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1



ADS BY GOOGLE
Subscribe to the World's Most Powerful Newsletters

ADS BY GOOGLE

DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, ...
In an era of historic innovation fueled by unprecedented access to data and technology, the low cost...
DXWorldEXPO LLC announced today that All in Mobile, a mobile app development company from Poland, wi...
Everyone wants the rainbow - reduced IT costs, scalability, continuity, flexibility, manageability, ...
DXWorldEXPO | CloudEXPO are the world's most influential, independent events where Cloud Computing w...
Founded in 2000, Chetu Inc. is a global provider of customized software development solutions and IT...
DevOpsSummit New York 2018, colocated with CloudEXPO | DXWorldEXPO New York 2018 will be held Novemb...
Today, we have more data to manage than ever. We also have better algorithms that help us access our...
The standardization of container runtimes and images has sparked the creation of an almost overwhelm...
CloudEXPO New York 2018, colocated with DXWorldEXPO New York 2018 will be held November 11-13, 2018,...
Most DevOps journeys involve several phases of maturity. Research shows that the inflection point wh...
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22...
Dynatrace is an application performance management software company with products for the informatio...
SYS-CON Events announced today that DatacenterDynamics has been named “Media Sponsor” of SYS-CON's 1...
A valuable conference experience generates new contacts, sales leads, potential strategic partners a...
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As au...
DXWorldEXPO LLC announced today that ICOHOLDER named "Media Sponsor" of Miami Blockchain Event by Fi...
SYS-CON Events announced today that IoT Global Network has been named “Media Sponsor” of SYS-CON's @...
"We do one of the best file systems in the world. We learned how to deal with Big Data many years ag...
The best way to leverage your Cloud Expo presence as a sponsor and exhibitor is to plan your news an...