SlideShare une entreprise Scribd logo
1  sur  47
Day 1.
Adobe Flex Introduction.
Name of
Senthil Kumar
presentation
• Company name
Srinivasan
Road Map

Rich Internet Application

How does it works

RIA - Architecture

Why we need to Use Flex

About Flex
Introducing the Flex 3 Product
Line
Flex -Designer / Developer

Flex and Eclipse Integration
RIA – Rich Internet Applications
• Rich Internet Application ( RIA ) is an web based application that
function as desktop application.
• It generally split the process that is User Interaction and related
activity will be on the client side
• Data Manipulation/Operation on the Application Server side.
• What we need to follow
 More connected
 More alive
 More Interactive
 More Responsive

http://sensaran.wordpress.com

3
Most common tools – AJAX ,OpenLaszlo ,Flex /Flash,
AIR , Silver Light and Java

http://sensaran.wordpress.com
RIA Architecture

Html

Services

Rich Internet Application

Browser
Presentation
Logic

Network

App
Logic

Data Access
Layer

DB

Ease of Use
Enhanced User Experience
Reduced Server Load
Lost Data
Light Weight
Faster Processing time
http://sensaran.wordpress.com
Anatomy of a Rich Internet Application
Menus & NavigationControls

Bi-Directional
Audio & Video
Data
Visualization &
Collaboration

Real Time
Data Push
& Alerting

Resizable
Views/Effects/
Transitions

Chat

Rich Data Entry

Mapping,
Geo-Coding,
Annotations &
White
boarding

Data
Synchronization
& Conflict
Resolution

Offline
http://sensaran.wordpress.com
Where did it came from – Flash Back
Early 1990’s.

1.Flash was first originated by
SmartSketch Application

Flash

Smart
Sketch

2. In 1995 it was acquired by
Macromedia and it called as
Flash .
3. In 2004 it was acquired by
Adobe Systems in the same year
they had released the Adobe
Flex 1.0
Drawing Application using pen
computer
by
Pen point OS
http://sensaran.wordpress.com
Where did it came from

Flex 1.0 & 1.5 (2004 Macromedia)
Primarily for enterprise market, Flex Builder IDE based on Dreamweaver

Flex 2 (2006 Adobe)
Flex SDK was free (compiler + class library), AS3 and Flash Player 9, Flex
Builder based on open source Eclipse platform.

Flex 3 (2008 Adobe)
Flex 3 SDK open sourced, Flex Builder enhancement, AIR

Flex 4 (2009 – present, Adobe)
Biggest change in skinning and component architecture- sparks, targets
flash player 10

http://sensaran.wordpress.com
Widest Reach in the World
What is Flex?
• Client-side, deployed as Flash .swf
• Flex Framework
– MXML (Macromedia XML)
• Declarative language to
define User Interface
• Similar to XHTML
– User Interface Components
• Buttons, ComboBoxes,
Layout Managers,
Containers, Effects
– Class Libraries
• Everything in the mx.*
packages
• Validation Routines, Web
Services, DataTypes

Expressiveness

Rich Media
Performance
Real Time
Desktop and Offline

http://sensaran.wordpress.com

10
It’s a standards-based language and programming
model that supports common design patterns.
works with Adobe Air
create desktop applications
Browser-less runtime for RIA’s
Adobe AIR (Apollo)
Adobe Integrated Runtime
versatile runtime environment
allows use of Flash, Actionscript or HTML
and JavaScript code

http://sensaran.wordpress.com
What does it contain ?
Action Script
Mxml

Framework and
Class Lib..

Flex Charting
Flex data Service

http://sensaran.wordpress.com
Introducing the Flex 3 Product Line

http://sensaran.wordpress.com
Flex vs. Flash
•
•
•
•

Flex evolved from Flash
Flash was a complete animation tool
Flex is a development platform
Output of Flex is a compiled SWF file
Flex Builder (and SDK)

Flash Authoring

Library

AS2

AS3

Flash Compiler

MXML

CSS

Flex Compiler

SWF
http://sensaran.wordpress.com

14
Where does Flex fit in?
DESIGN &
DEVELOPMENT
TOOLS

CLIENT APPLICATION TIER

Flash Player

Creative
Suite
Flash
Professional

Browsers

HTTP/S, Sockets, AMF, RTMP,
SOAP, WS*, SMTP, REST, …

Flash
Catalyst
Flash
Builder

AIR

SERVICES TIER

Flex
Framework

Flash Platform Flash Media
Services Server Family

RESOURCE TIER

EIS

Databases

Directories

LiveCycle

3rd Party
Services

ECM
Repository

Message
Queues

http://sensaran.wordpress.com

SAP…
Types of Flex Apps.
Flex

Browser Application  SWF
Desktop Application  AIR

Desktop Application

Browser Application

http://sensaran.wordpress.com
“
12/27/2013

What’s AIR™?
 .air Packages

Adobe Integrated Runtime
(AIR) is a cross-platform
runtime that allows you to
leverage your existing web
applications skills to build
and deploy Rich Internet
Applications (RIAs) to the
desktop
http://sensaran.wordpress.com

 Deploy to desktop
with double click
install
 Distribute as
standalone or
packaged with
runtime
 Remember JWS?

17
Flex for designers
•
•
•
•

MXML ~ HTML, Actionscript ~ Javascript
CSS support/Runtime skinning support
States Management
Layout/Navigation
– Canvas, Form, VBox, HBox, ControlBar, Accordion, LinkBar,
MenuBar, ViewStack
• Controls
– Button, CheckBox, ComboBox, DataGrid, TextInput, List, Label,
Tree
• Charts
– BarChart, PieChart, LineChart

http://sensaran.wordpress.com

18
Flex for developers
• Actionscript ~ Javascript + Java.
• MXML ~ Actionscript
• Familiar syntax
– Similar to C++, Java, C#, JavaScript
• Dynamic Language, Strong/Weak Typing
– Variables can hold any type
– Can bind variable to specific data type
• Visibility Modifiers
– Public - Accessible to anyone
– Private - Only accessible inside the class (current .mxml or .as)
– Protected - Accessible inside the class and subclasses
– Internal - Only accessible to classes in the same package
• Default value (when visibility is omitted)
http://sensaran.wordpress.com
How does it works

Flex Builder IDE

Flash Player

Flex SDK
MXML

Browser

Action Script

Flex Class Library

Web Server
Compile

.swf

http://sensaran.wordpress.com
Where Flex is Used
Product
Configuration

Rich Media
Applications

Line of Business
Applications

Data
Visualization

Complex, Multi-Step
Processes

Product
Selection

http://sensaran.wordpress.com
Developing RIAs…
10 reasons to
use Adobe Flex

http://sensaran.wordpress.com
# Flex delivers the Rich
Internet Application
(framework,components and
service)

http://sensaran.wordpress.com
#2 – Flex applications
overcome browser limitations
• Create a new generation of
expressive, high performance
and collaborative
online applications.

http://sensaran.wordpress.com
#3 – Flex leverages
your existing skills
• HTML, XML, JavaScript,
Ajax, J2EE and
.NET developers will be
productive with
Flex in no time.

http://sensaran.wordpress.com
#4 – Flash Player has
widest
reach in the World
We can easily build, test and deploy

http://sensaran.wordpress.com
#5 – vector drawing
and two way audio/video
integration
Cross-platform vector drawing
API Integrated two-way audio/video
Advanced communication protocols
Performance Flash Player External API

http://sensaran.wordpress.com
#6 – Flex plays well
with others

With XML/SOAP support and J2EE
integration, Flex unifies disparate
data services on the client.

http://sensaran.wordpress.com
#7 – Flex makes you
(and your applications)
look good
• Transitions, effects, skinning
and visual component states
deliver immersive user experiences.

http://sensaran.wordpress.com
#8 – Flex will make
you go faster
• Flex transforms the developer
experience - with productive
coding tools, integrated debugging
and automated testing support.

http://sensaran.wordpress.com
#9 – Flex makes it easier
to work with data
• Data synchronisation,
offline storage, publish/subscribe
messaging and real-time
data push for
“data-rich” applications.

http://sensaran.wordpress.com
#10 – You can build
flex applications for free!
• Compile and deploy Flex
applications at no cost with
the Flex 2 SDK…
download it from Adobe.com.

http://sensaran.wordpress.com
Configure Flex plugin in eclipse
Requirements
(i) Eclipse (INDIGO)
(ii) Adobe Flex SDK (3.0.0)

http://sensaran.wordpress.com
Eclipse Installation Instruction
 Download the zipped eclipse folder from http://www.eclipse.org/downloads/.
 Extract the Zipped folder should have the following files

http://sensaran.wordpress.com
Flex Plugin Installation Instruction
 Download the zipped Flex SDK folder from following link
https://www.adobe.com/cfusion/tdrc/index.cfm?product=flex_eclipse
Configure Flex SDK in eclipse
 Go to Eclipse directory create the folder should be named as “links”.
 Inside links folder create “link” file name, that file name should be named
as “com.adobe.flexbuilder.feature.core.link”.

 The newly created file, should have the extension as a “link”.

http://sensaran.wordpress.com
Cont.,
 Now eclipse folder directory should be like below snap shot.

http://sensaran.wordpress.com
Cont.,
 Open the link file (com.adobe.flexbuilder.feature.core.link) using notepad
or some editor.
 In the editor you need to paste the Adobe Flex SDK director path. We
should need the file path like below
path=C:/Program Files/Adobe/Flex Builder 3 Plug-in(Let me

consider that, I have a Flex SDK in the above path).
Save & Close the file.

http://sensaran.wordpress.com
Cont.,
 Click “eclipse.exe”.
 When you open the eclipse IDE in first time, it will ask you to create the
workspace directory.
 Create workspace and click OK.

http://sensaran.wordpress.com
Cont.,
 Eclipse IDE will loads the welcome screen. When you will using first time.

http://sensaran.wordpress.com
Cont.,
 Go to Window -> Open Perspective -> Other

http://sensaran.wordpress.com
Cont.,
 We will get dialog box , when clicked the Other… option is available in the
Window menu. Now we will be able show a Flex Development Perspective.

http://sensaran.wordpress.com
Cont.,
 Now the Flex IDE is Configured with our eclipse IDE.
Flex SDK Configuration
 Click Window -> Preferences
 The Preference window dialog box will be appear.
 We will find the Flex -> Installed Flex SDK’s Option is In the left navigation

menu of the preference dialog box.
 Click Add button in the Right side.
 Give Adobe Flex SDK Location Path and name.
 The snap shot is in the following slide.
 Now we can type the flex code, compile(Build) and run using Eclipse IDE.

http://sensaran.wordpress.com
http://sensaran.wordpress.com
Flex Builder 3 Installation Instruction
Download the Flex builder 3 exe file using the below link
http://download.macromedia.com/pub/flex/flex_builder/FB3_
win.exe
http://sensaran.wordpress.com

Contenu connexe

Tendances

Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
Quek Lilian
 
Asp .net web form fundamentals
Asp .net web form fundamentalsAsp .net web form fundamentals
Asp .net web form fundamentals
Gopal Ji Singh
 
Web Servers: Architecture and Security
Web Servers: Architecture and SecurityWeb Servers: Architecture and Security
Web Servers: Architecture and Security
george.james
 

Tendances (20)

The complete ASP.NET (IIS) Tutorial with code example in power point slide show
The complete ASP.NET (IIS) Tutorial with code example in power point slide showThe complete ASP.NET (IIS) Tutorial with code example in power point slide show
The complete ASP.NET (IIS) Tutorial with code example in power point slide show
 
Tutorial asp.net
Tutorial  asp.netTutorial  asp.net
Tutorial asp.net
 
Industrial training seminar ppt on asp.net
Industrial training seminar ppt on asp.netIndustrial training seminar ppt on asp.net
Industrial training seminar ppt on asp.net
 
Ibm connections docs 2 install guide
Ibm connections docs 2 install guideIbm connections docs 2 install guide
Ibm connections docs 2 install guide
 
ASP
ASPASP
ASP
 
Asp.net
 Asp.net Asp.net
Asp.net
 
ASP.NET Web form
ASP.NET Web formASP.NET Web form
ASP.NET Web form
 
Introduction to asp.net
Introduction to asp.netIntroduction to asp.net
Introduction to asp.net
 
ASP.NET Lecture 1
ASP.NET Lecture 1ASP.NET Lecture 1
ASP.NET Lecture 1
 
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
Creating Dynamic Web Application Using ASP.Net 3 5_MVP Alezandra Buencamino N...
 
Asp .net web form fundamentals
Asp .net web form fundamentalsAsp .net web form fundamentals
Asp .net web form fundamentals
 
Web Servers: Architecture and Security
Web Servers: Architecture and SecurityWeb Servers: Architecture and Security
Web Servers: Architecture and Security
 
Web Server-Side Programming Techniques
Web Server-Side Programming TechniquesWeb Server-Side Programming Techniques
Web Server-Side Programming Techniques
 
Introduction to asp
Introduction to aspIntroduction to asp
Introduction to asp
 
IBM Connect 2016: 1402 - Getting Technically Cozy with IBM Connections Cloud ...
IBM Connect 2016: 1402 - Getting Technically Cozy with IBM Connections Cloud ...IBM Connect 2016: 1402 - Getting Technically Cozy with IBM Connections Cloud ...
IBM Connect 2016: 1402 - Getting Technically Cozy with IBM Connections Cloud ...
 
.net training | learn .net | Microsoft dot net Course | Microsoft dot net onl...
.net training | learn .net | Microsoft dot net Course | Microsoft dot net onl....net training | learn .net | Microsoft dot net Course | Microsoft dot net onl...
.net training | learn .net | Microsoft dot net Course | Microsoft dot net onl...
 
The World Needs an Alternative to SharePoint
The World Needs an Alternative to SharePointThe World Needs an Alternative to SharePoint
The World Needs an Alternative to SharePoint
 
Web servers
Web serversWeb servers
Web servers
 
Learn ASP
Learn ASPLearn ASP
Learn ASP
 
ASP.NET - Introduction to Web Forms and MVC
ASP.NET - Introduction to Web Forms and MVCASP.NET - Introduction to Web Forms and MVC
ASP.NET - Introduction to Web Forms and MVC
 

Similaire à Flex Introduction

Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2
Shyamala Prayaga
 
Flex And Ria
Flex And RiaFlex And Ria
Flex And Ria
ravinxg
 

Similaire à Flex Introduction (20)

Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2Adobe Flex - Developing Rich Internet Application Workshop Day 2
Adobe Flex - Developing Rich Internet Application Workshop Day 2
 
Adobe flex an overview
Adobe flex  an overviewAdobe flex  an overview
Adobe flex an overview
 
Flex 3 - Introduction
Flex 3 - IntroductionFlex 3 - Introduction
Flex 3 - Introduction
 
Introduction to Adobe Flex - Zaloni
Introduction to Adobe Flex - ZaloniIntroduction to Adobe Flex - Zaloni
Introduction to Adobe Flex - Zaloni
 
DIY Flex
DIY FlexDIY Flex
DIY Flex
 
DIY Flex
DIY FlexDIY Flex
DIY Flex
 
Afik Gal @alphageeks: Flex Intro
Afik Gal @alphageeks: Flex IntroAfik Gal @alphageeks: Flex Intro
Afik Gal @alphageeks: Flex Intro
 
Adobe® Flex™
Adobe® Flex™Adobe® Flex™
Adobe® Flex™
 
What is Adobe Flex ?
What is Adobe Flex  ?What is Adobe Flex  ?
What is Adobe Flex ?
 
Adobe Flex
Adobe FlexAdobe Flex
Adobe Flex
 
Flex and .NET Integration
Flex and .NET IntegrationFlex and .NET Integration
Flex and .NET Integration
 
Introduction To Adobe Flex And Semantic Resources
Introduction To Adobe Flex And Semantic ResourcesIntroduction To Adobe Flex And Semantic Resources
Introduction To Adobe Flex And Semantic Resources
 
Flex3
Flex3Flex3
Flex3
 
Adobe Flex builder by elmagnif
Adobe Flex builder  by elmagnifAdobe Flex builder  by elmagnif
Adobe Flex builder by elmagnif
 
Adobe flex
Adobe flexAdobe flex
Adobe flex
 
Flex Rails Pres
Flex Rails PresFlex Rails Pres
Flex Rails Pres
 
SharePoint Framework SPFx
SharePoint Framework SPFxSharePoint Framework SPFx
SharePoint Framework SPFx
 
Developing RIAs... 10 reasons to use Adobe Flex
Developing RIAs... 10 reasons to use Adobe FlexDeveloping RIAs... 10 reasons to use Adobe Flex
Developing RIAs... 10 reasons to use Adobe Flex
 
Flex And Ria
Flex And RiaFlex And Ria
Flex And Ria
 
Flex RIA
Flex RIAFlex RIA
Flex RIA
 

Plus de senthil0809 (7)

First look on python
First look on pythonFirst look on python
First look on python
 
Enterprise search with apache solr
Enterprise search with apache solrEnterprise search with apache solr
Enterprise search with apache solr
 
Get started with R lang
Get started with R langGet started with R lang
Get started with R lang
 
Big data with HDFS and Mapreduce
Big data  with HDFS and MapreduceBig data  with HDFS and Mapreduce
Big data with HDFS and Mapreduce
 
Big data - Apache Hadoop for Beginner's
Big data - Apache Hadoop for Beginner'sBig data - Apache Hadoop for Beginner's
Big data - Apache Hadoop for Beginner's
 
Exploring Layouts and Providers
Exploring Layouts and ProvidersExploring Layouts and Providers
Exploring Layouts and Providers
 
Multi Touch presentation
Multi Touch presentationMulti Touch presentation
Multi Touch presentation
 

Dernier

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Dernier (20)

ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

Flex Introduction

  • 1. Day 1. Adobe Flex Introduction. Name of Senthil Kumar presentation • Company name Srinivasan
  • 2. Road Map Rich Internet Application How does it works RIA - Architecture Why we need to Use Flex About Flex Introducing the Flex 3 Product Line Flex -Designer / Developer Flex and Eclipse Integration
  • 3. RIA – Rich Internet Applications • Rich Internet Application ( RIA ) is an web based application that function as desktop application. • It generally split the process that is User Interaction and related activity will be on the client side • Data Manipulation/Operation on the Application Server side. • What we need to follow  More connected  More alive  More Interactive  More Responsive http://sensaran.wordpress.com 3
  • 4. Most common tools – AJAX ,OpenLaszlo ,Flex /Flash, AIR , Silver Light and Java http://sensaran.wordpress.com
  • 5. RIA Architecture Html Services Rich Internet Application Browser Presentation Logic Network App Logic Data Access Layer DB Ease of Use Enhanced User Experience Reduced Server Load Lost Data Light Weight Faster Processing time http://sensaran.wordpress.com
  • 6. Anatomy of a Rich Internet Application Menus & NavigationControls Bi-Directional Audio & Video Data Visualization & Collaboration Real Time Data Push & Alerting Resizable Views/Effects/ Transitions Chat Rich Data Entry Mapping, Geo-Coding, Annotations & White boarding Data Synchronization & Conflict Resolution Offline http://sensaran.wordpress.com
  • 7. Where did it came from – Flash Back Early 1990’s. 1.Flash was first originated by SmartSketch Application Flash Smart Sketch 2. In 1995 it was acquired by Macromedia and it called as Flash . 3. In 2004 it was acquired by Adobe Systems in the same year they had released the Adobe Flex 1.0 Drawing Application using pen computer by Pen point OS http://sensaran.wordpress.com
  • 8. Where did it came from Flex 1.0 & 1.5 (2004 Macromedia) Primarily for enterprise market, Flex Builder IDE based on Dreamweaver Flex 2 (2006 Adobe) Flex SDK was free (compiler + class library), AS3 and Flash Player 9, Flex Builder based on open source Eclipse platform. Flex 3 (2008 Adobe) Flex 3 SDK open sourced, Flex Builder enhancement, AIR Flex 4 (2009 – present, Adobe) Biggest change in skinning and component architecture- sparks, targets flash player 10 http://sensaran.wordpress.com
  • 9. Widest Reach in the World
  • 10. What is Flex? • Client-side, deployed as Flash .swf • Flex Framework – MXML (Macromedia XML) • Declarative language to define User Interface • Similar to XHTML – User Interface Components • Buttons, ComboBoxes, Layout Managers, Containers, Effects – Class Libraries • Everything in the mx.* packages • Validation Routines, Web Services, DataTypes Expressiveness Rich Media Performance Real Time Desktop and Offline http://sensaran.wordpress.com 10
  • 11. It’s a standards-based language and programming model that supports common design patterns. works with Adobe Air create desktop applications Browser-less runtime for RIA’s Adobe AIR (Apollo) Adobe Integrated Runtime versatile runtime environment allows use of Flash, Actionscript or HTML and JavaScript code http://sensaran.wordpress.com
  • 12. What does it contain ? Action Script Mxml Framework and Class Lib.. Flex Charting Flex data Service http://sensaran.wordpress.com
  • 13. Introducing the Flex 3 Product Line http://sensaran.wordpress.com
  • 14. Flex vs. Flash • • • • Flex evolved from Flash Flash was a complete animation tool Flex is a development platform Output of Flex is a compiled SWF file Flex Builder (and SDK) Flash Authoring Library AS2 AS3 Flash Compiler MXML CSS Flex Compiler SWF http://sensaran.wordpress.com 14
  • 15. Where does Flex fit in? DESIGN & DEVELOPMENT TOOLS CLIENT APPLICATION TIER Flash Player Creative Suite Flash Professional Browsers HTTP/S, Sockets, AMF, RTMP, SOAP, WS*, SMTP, REST, … Flash Catalyst Flash Builder AIR SERVICES TIER Flex Framework Flash Platform Flash Media Services Server Family RESOURCE TIER EIS Databases Directories LiveCycle 3rd Party Services ECM Repository Message Queues http://sensaran.wordpress.com SAP…
  • 16. Types of Flex Apps. Flex Browser Application  SWF Desktop Application  AIR Desktop Application Browser Application http://sensaran.wordpress.com
  • 17. “ 12/27/2013 What’s AIR™?  .air Packages Adobe Integrated Runtime (AIR) is a cross-platform runtime that allows you to leverage your existing web applications skills to build and deploy Rich Internet Applications (RIAs) to the desktop http://sensaran.wordpress.com  Deploy to desktop with double click install  Distribute as standalone or packaged with runtime  Remember JWS? 17
  • 18. Flex for designers • • • • MXML ~ HTML, Actionscript ~ Javascript CSS support/Runtime skinning support States Management Layout/Navigation – Canvas, Form, VBox, HBox, ControlBar, Accordion, LinkBar, MenuBar, ViewStack • Controls – Button, CheckBox, ComboBox, DataGrid, TextInput, List, Label, Tree • Charts – BarChart, PieChart, LineChart http://sensaran.wordpress.com 18
  • 19. Flex for developers • Actionscript ~ Javascript + Java. • MXML ~ Actionscript • Familiar syntax – Similar to C++, Java, C#, JavaScript • Dynamic Language, Strong/Weak Typing – Variables can hold any type – Can bind variable to specific data type • Visibility Modifiers – Public - Accessible to anyone – Private - Only accessible inside the class (current .mxml or .as) – Protected - Accessible inside the class and subclasses – Internal - Only accessible to classes in the same package • Default value (when visibility is omitted) http://sensaran.wordpress.com
  • 20. How does it works Flex Builder IDE Flash Player Flex SDK MXML Browser Action Script Flex Class Library Web Server Compile .swf http://sensaran.wordpress.com
  • 21. Where Flex is Used Product Configuration Rich Media Applications Line of Business Applications Data Visualization Complex, Multi-Step Processes Product Selection http://sensaran.wordpress.com
  • 22. Developing RIAs… 10 reasons to use Adobe Flex http://sensaran.wordpress.com
  • 23. # Flex delivers the Rich Internet Application (framework,components and service) http://sensaran.wordpress.com
  • 24. #2 – Flex applications overcome browser limitations • Create a new generation of expressive, high performance and collaborative online applications. http://sensaran.wordpress.com
  • 25. #3 – Flex leverages your existing skills • HTML, XML, JavaScript, Ajax, J2EE and .NET developers will be productive with Flex in no time. http://sensaran.wordpress.com
  • 26. #4 – Flash Player has widest reach in the World We can easily build, test and deploy http://sensaran.wordpress.com
  • 27. #5 – vector drawing and two way audio/video integration Cross-platform vector drawing API Integrated two-way audio/video Advanced communication protocols Performance Flash Player External API http://sensaran.wordpress.com
  • 28. #6 – Flex plays well with others With XML/SOAP support and J2EE integration, Flex unifies disparate data services on the client. http://sensaran.wordpress.com
  • 29. #7 – Flex makes you (and your applications) look good • Transitions, effects, skinning and visual component states deliver immersive user experiences. http://sensaran.wordpress.com
  • 30. #8 – Flex will make you go faster • Flex transforms the developer experience - with productive coding tools, integrated debugging and automated testing support. http://sensaran.wordpress.com
  • 31. #9 – Flex makes it easier to work with data • Data synchronisation, offline storage, publish/subscribe messaging and real-time data push for “data-rich” applications. http://sensaran.wordpress.com
  • 32. #10 – You can build flex applications for free! • Compile and deploy Flex applications at no cost with the Flex 2 SDK… download it from Adobe.com. http://sensaran.wordpress.com
  • 33. Configure Flex plugin in eclipse Requirements (i) Eclipse (INDIGO) (ii) Adobe Flex SDK (3.0.0) http://sensaran.wordpress.com
  • 34. Eclipse Installation Instruction  Download the zipped eclipse folder from http://www.eclipse.org/downloads/.  Extract the Zipped folder should have the following files http://sensaran.wordpress.com
  • 35. Flex Plugin Installation Instruction  Download the zipped Flex SDK folder from following link https://www.adobe.com/cfusion/tdrc/index.cfm?product=flex_eclipse
  • 36. Configure Flex SDK in eclipse  Go to Eclipse directory create the folder should be named as “links”.  Inside links folder create “link” file name, that file name should be named as “com.adobe.flexbuilder.feature.core.link”.  The newly created file, should have the extension as a “link”. http://sensaran.wordpress.com
  • 37. Cont.,  Now eclipse folder directory should be like below snap shot. http://sensaran.wordpress.com
  • 38. Cont.,  Open the link file (com.adobe.flexbuilder.feature.core.link) using notepad or some editor.  In the editor you need to paste the Adobe Flex SDK director path. We should need the file path like below path=C:/Program Files/Adobe/Flex Builder 3 Plug-in(Let me consider that, I have a Flex SDK in the above path). Save & Close the file. http://sensaran.wordpress.com
  • 39. Cont.,  Click “eclipse.exe”.  When you open the eclipse IDE in first time, it will ask you to create the workspace directory.  Create workspace and click OK. http://sensaran.wordpress.com
  • 40. Cont.,  Eclipse IDE will loads the welcome screen. When you will using first time. http://sensaran.wordpress.com
  • 41. Cont.,  Go to Window -> Open Perspective -> Other http://sensaran.wordpress.com
  • 42. Cont.,  We will get dialog box , when clicked the Other… option is available in the Window menu. Now we will be able show a Flex Development Perspective. http://sensaran.wordpress.com
  • 43. Cont.,  Now the Flex IDE is Configured with our eclipse IDE.
  • 44. Flex SDK Configuration  Click Window -> Preferences  The Preference window dialog box will be appear.  We will find the Flex -> Installed Flex SDK’s Option is In the left navigation menu of the preference dialog box.  Click Add button in the Right side.  Give Adobe Flex SDK Location Path and name.  The snap shot is in the following slide.  Now we can type the flex code, compile(Build) and run using Eclipse IDE. http://sensaran.wordpress.com
  • 46. Flex Builder 3 Installation Instruction Download the Flex builder 3 exe file using the below link http://download.macromedia.com/pub/flex/flex_builder/FB3_ win.exe