Adobe
Products
Acrobat
Creative Cloud
Creative Suite
Digital Marketing Suite
Digital Publishing Suite
Elements
Photoshop
Touch Apps
Student and Teacher Editions
More products
Solutions
Creative tools for business
Digital marketing
Digital media
Education
Financial services
Government
Web Experience Management
More solutions
Learning Help Downloads Company
Buy
Home use for personal and home office
Education for students, educators, and staff
Business for small and medium businesses
Licensing programs for businesses, schools, and government
Special offers
Search
 
Info Sign in
Welcome,
My cart
My orders My Adobe
My Adobe
My orders
My information
My preferences
My products and services
Sign out
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out My orders My Adobe
Preorder Estimated Availability Date. Your credit card will not be charged until the product is shipped. Estimated availability date is subject to change. Preorder Estimated Availability Date. Your credit card will not be charged until the product is ready to download. Estimated availability date is subject to change.
Qty:
Purchase requires verification of academic eligibility
Subtotal
Review and Checkout
Adobe Developer Connection / Flex Developer Center /

DigiPri Widgets Sales Dashboard – Part 1: Overview

by Digital Primates

Digital Primates
  • digitalprimates.net

by Dave Flatley

Dave Flatley
  • pxldesigns.com

Created

28 June 2010

Page tools

Share on Facebook
Share on Twitter
Share on LinkedIn
Bookmark
Print
Flex RIA

Requirements

User level

Beginning

This article is Part 1 of a series of articles and tutorials centered on a sales dashboard application built using Flex and the Adobe Flash Platform. The individual articles in the series are designed to stand on their own, so you can read all of them or just the ones that interest you, in whatever order you like.

  • Part 1 introduces the fictitious company DigiPri Widgets, explains the reasons behind selecting Flex, and provides a tour of the dashboard application.
  • Part 2 details the server setup.
  • Part 3 takes a closer look at the application and its architecture.
  • Part 4 explains how to get the DigiPri Widgets Dashboard sample application up and running in Flash Builder 4 and explores some of the underlying code.

DigiPri Widgets is a fictitious reseller for the equally fictitious Widgets Incorporated. The management of DigiPri Widgets needed a way to evaluate the performance of their sales staff. The sales division of DigiPri Widgets is broken down into four regions, each overseen by a regional vice president. Within each region, there are several regional sales managers, who oversee the salespeople in the field. The primary requirement of this application is to enable the management of DigiPri Widgets to quickly review the sales organization's efficiency.

Note: In order to make the most of this tutorial series, a basic knowledge of the following programming languages and technologies is needed: Java, SQL, Flex 4, Flash Builder, and BlazeDS. Expert-level knowledge is not necessary, but a basic understanding of the technologies will enhance the learning experience.

Choosing Flex for rapid application development

DigiPri Widgets chose Adobe Flex to implement their sales dashboard after carefully considering the specific demands of this project. Flex applications run on the Flash Platform, which provides a robust runtime and lends itself to the creation of an expressive graphical user interface. This level of expressiveness is far more difficult to achieve using HTML or AJAX-based applications. Another benefit of the Flash Platform is its ubiquity, as over 98% of all Internet-connected desktops have Flash Player installed. Competing technologies, such as JavaFX and Silverlight, do not share this level of ubiquity and would require additional plug-ins for users to run the application.

One of the primary reasons DigiPri Widgets chose Flex is the out-of-the box functionality provided by the Flex Framework. With the rich class library provided by the Flex SDK, developers laid out the dashboard rapidly using prebuilt classes, which allowed them to focus on the more complex requirements and interactions.

The ability to rapidly prototype applications in Flex enabled quick iterations during the design phase and proved to be a significant advantage for designers, developers, and business stakeholders. Designers and developers could quickly test an idea in a proof of concept, allowing them to quickly determine which application interactions worked well and which didn't. Because stakeholders could interact with semi-functional prototypes instead of flat images, they were far better able to understand and provide feedback on the experience design. Frequent interaction among developers, designers, and stakeholders ensured that the stakeholders understood how the application would function when it was done, and allowed them to sign off on the interactions, resulting in far fewer design changes later in the project's life cycle.

After the visual and interaction designs were finalized, the developers assembled the core of the application with the built-in Flex components, and customized the components through styling, skinning, and subclasses to exactly match the design requirements.

Dashboard tour

The easiest way to get a feel for what the completed dashboard does is to try it out.

At the top of the dashboard are three tabs: Regional Sales, Client Deals, and My Dashboard (see Figure 1). You can click the tabs to change the reports that are shown in the viewing area below them.

The completed DigiPri dashboard
Figure 1. The completed DigiPri dashboard

The third tab (My Dashboard) allows users to customize their own views by adding reports from a preconfigured list of available report options. For more information on customizing reports, see Part 3 of this tutorial mini-series, Understanding the dashboard application.

Using the reports, executives can review all the relevant information for a particular topic, and find more detailed information by drilling into a specific data point. For example, the user may start by viewing the Regional Sales Forecasts chart (see Figure 2).

The regional sales forecast for the entire company
Figure 2. The regional sales forecast for the entire company

To get more details on what is happening in the northwest region, the user clicks the Northwest bar to change that graph to show details on the regional forecast for the northwest region (see Figure 3). Likewise, clicking one of the items on the northwest sales forecast chart will show details of the sales teams in that region. The user can click the back button on the top left of the report to return to a previous view.

Drilling in on the regional sales forecast for the Northwest.
Figure 3. Drilling in on the regional sales forecast for the Northwest.

The My Dashboard view is customizable. Users can select which reports are shown in that view, rearrange them, and remove them as needed. Each chart has a maximize button, which shows a full screen version. As noted earlier, many of the charts are designed to allow users to drill down to more specific information.

Where to go from here

Now that you have a better idea of what the DigiPri Sales Dashboard can do, you can learn more about how it works. You can proceed to Part 2 for more on setting up the server, skip to Part 3 to learn more about the application and its architecture, or jump to Part 4 to dive into the code using Flash Builder 4.

More Like This

  • Using automated tools across the lifecycle to develop higher quality Flex applications
  • Increasing Flex and ActionScript development productivity with Flash Builder 4.5 and SourceMate 3.0
  • Why choose Flex and PHP
  • DigiPri Widgets Sales Dashboard – Part 3: Understanding the dashboard application
  • DigiPri Widgets Sales Dashboard – Part 4: Exploring the code in Flash Builder
  • Tool-based approaches for data-centric RIA development
  • DigiPri Widgets sales dashboard – Part 2: Setting up the server application
  • Flexible Rails excerpt: Refactoring to RubyAMF
  • Migrating Flex 3 applications to Flex 4.5 – Part 4: Using Spark Panel, List, DataGrid, and VGroup components and adding custom skins and states
  • What's new in Flex 4.6 SDK and Flash Builder 4.6

Tutorials & Samples

Tutorials

  • Flex mobile performance checklist
  • Flex and Maven with Flexmojos – Part 3: Journeyman
  • Migrating Flex 3 applications to Flex 4.5 – Part 4

Samples

  • Twitter Trends
  • Flex 4.5 reference applications
  • Mobile Trader Flex app on Android Market

Flex User Forum

More
07/25/2011 Flash Player Debug Issues - Safari 5.1 & Chrome 13
04/22/2012 Loader png - wrong color values in BitmapData
04/22/2012 HTTPService and crossdomain.xml doesn't work as expected
04/23/2012 Memory related crashes in Flex application

Flex Cookbook

More
04/06/2012 How to detect screen resize with a SkinnableComponent
02/29/2012 Embed Stage3D content inside Flex application components
02/15/2012 Custom WorkFlow Component
02/09/2012 Using Camera with a MediaContainer instead of VideoDisplay

Products

  • Acrobat
  • Creative Cloud
  • Creative Suite
  • Digital Marketing Suite
  • Digital Publishing Suite
  • Elements
  • Mobile Apps
  • Photoshop
  • Touch Apps
  • Student and Teacher Editions

Solutions

  • Digital marketing
  • Digital media
  • Web Experience Management

Industries

  • Education
  • Financial services
  • Government

Help

  • Product help centers
  • Orders and returns
  • Downloading and installing
  • My Adobe

Learning

  • Adobe Developer Connection
  • Adobe TV
  • Training and certification
  • Forums
  • Design Center

Ways to buy

  • For personal and home office
  • For students, educators, and staff
  • For small and medium businesses
  • For businesses, schools, and government
  • Special offers

Downloads

  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR
  • Adobe Shockwave Player

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2012 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy Policy and Cookies (Updated)

Ad Choices

Reviewed by TRUSTe: site privacy statement