Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

Crash Course in Next-Gen RIA: AIR, Silverlight, and JavaFX

Get a hands-on introduction to the newest RIA technologies from Adobe, Microsoft, and Sun by building demo applications using AIR (Flex), Silverlight (CLR), and JavaFX.


advertisement
ich internet applications (RIAs) have taken center stage in software development, with Adobe, Microsoft, and Sun rolling out their AIR, Silverlight, and JavaFX technologies, respectively. Developers' unfamiliarity with these new products has led to misunderstandings about their purpose, how they fit into RIA development, and whether they target different niches or compete directly with each other. In a nutshell, Adobe AIR enables Flex and DHTML developers to build applications for the desktop; Silverlight allows developers to build rich media applications that run in the browser; and JavaFX Script lets developers build rich user interfaces for Java applications.

This article provides a practical demonstration of each technology. Three complete examples walk through the process of building an application in Silverlight, AIR, and JavaFX, highlighting the strengths and weaknesses of each one. It concludes with a discussion of the similarities and differences between them so you can better understand how each fits within your development needs.

The demo application is a simple stopwatch gadget that imitates a typical stopwatch device (see Figure 1). It has two buttons (one to start or stop the timer, another to reset it) and a mixed analog/digital presentation (the second and minute hands are combined with a digital display).



Click to enlarge

Figure 1. Stopwatch Gadget

Each example provides instructions for the following tasks and then concludes with an assessment of the given technology:

  • Setting up the development environment
  • Building a user interface (UI) from original artwork (The artwork was created in the SVG format using the open source Inkscape vector graphics editor. See Figure 2.)
  • Implementing the animation
  • Adding interactivity
  • Deploying the final application

Click to enlarge

Figure 2. Original Artwork for Stopwatch UI



Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap