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

Moving to Azure is the path to digital transformation, but not every journey is effective. Organizat...
In an age of borderless networks, security for the cloud and security for the corporate network can ...
Now is the time for a truly global DX event, to bring together the leading minds from the technology...
At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with exp...
As the digitization of business accelerates the move of critical applications and content to the clo...
Isomorphic Software is the global leader in high-end, web-based business applications. We develop, m...
In today's always-on world, customer expectations have changed. Competitive differentiation is deliv...
On-premise or off, you have powerful tools available to maximize the value of your infrastructure an...
Blockchain has shifted from hype to reality across many industries including Financial Services, Sup...
In very short order, the term "Blockchain" has lost an incredible amount of meaning. With too many j...
The graph represents a network of 1,329 Twitter users whose recent tweets contained "#DevOps", or wh...
Cloud Storage 2.0 has brought many innovations, including the availability of cloud storage services...
Concerns about security, downtime and latency, budgets, and general unfamiliarity with cloud technol...
For enterprises to maintain business competitiveness in the digital economy, IT modernization is req...
Cloud-Native thinking and Serverless Computing are now the norm in financial services, manufacturing...
Public clouds dominate IT conversations but the next phase of cloud evolutions are "multi" hybrid cl...
Data center, on-premise, public-cloud, private-cloud, multi-cloud, hybrid-cloud, IoT, AI, edge, SaaS...
In a recent survey, Sumo Logic surveyed 1,500 customers who employ cloud services such as Amazon Web...
"Calligo is a cloud service provider with data privacy at the heart of what we do. We are a typical ...
Every organization is facing their own Digital Transformation as they attempt to stay ahead of the c...