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

Dynatrace is an application performance management software company with products for the informatio...
In his session at 21st Cloud Expo, Michael Burley, a Senior Business Development Executive in IT Ser...
Having been in the web hosting industry since 2002, dhosting has gained a great deal of experience w...
NanoVMs is the only production ready unikernel infrastructure solution on the market today. Unikerne...
All in Mobile is a mobile app agency that helps enterprise companies and next generation startups bu...
CloudEXPO | DevOpsSUMMIT | DXWorldEXPO Silicon Valley 2019 will cover all of these tools, with the m...
SUSE is a German-based, multinational, open-source software company that develops and sells Linux pr...
Yottabyte is a software-defined data center (SDDC) company headquartered in Bloomfield Township, Oak...
Your job is mostly boring. Many of the IT operations tasks you perform on a day-to-day basis are rep...
Serveless Architectures brings the ability to independently scale, deploy and heal based on workload...
Technological progress can be expressed as layers of abstraction - higher layers are built on top of...
When building large, cloud-based applications that operate at a high scale, it’s important to mainta...
Whenever a new technology hits the high points of hype, everyone starts talking about it like it wil...
Big Switch's mission is to disrupt the status quo of networking with order of magnitude improvements...
Lori MacVittie is a subject matter expert on emerging technology responsible for outbound evangelism...
Every organization is facing their own Digital Transformation as they attempt to stay ahead of the c...
"Calligo is a cloud service provider with data privacy at the heart of what we do. We are a typical ...
In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, disc...
Bill Schmarzo, Tech Chair of "Big Data | Analytics" of upcoming CloudEXPO | DXWorldEXPO New York (No...
Chris Matthieu is the President & CEO of Computes, inc. He brings 30 years of experience in developm...