Ria Event Lisbon Jan 2010

94
® Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Condential RIAPT birthday party!!! Enrique Duvós Mgr, Flash Platform Evangelism EMEA January 2010 1

description

apresentação do Enrique Duvos no evento RIAPT de dia 16 de Janeiro.

Transcript of Ria Event Lisbon Jan 2010

Page 1: Ria Event Lisbon Jan 2010

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

RIAPT birthday party!!!

Enrique DuvósMgr, Flash Platform Evangelism EMEAJanuary 2010

1

Page 2: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Agenda...

2

Page 3: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Agenda...

RIAs dos and don’ts

2

Page 4: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Agenda...

RIAs dos and don’ts

What’s coming in the new Flash Platform runtimes

2

Page 5: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Agenda...

RIAs dos and don’ts

What’s coming in the new Flash Platform runtimes

Building iPhone apps with Flash CS5

2

Page 6: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Agenda...

RIAs dos and don’ts

What’s coming in the new Flash Platform runtimes

Building iPhone apps with Flash CS5

Model Driven Development

2

Page 7: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Agenda...

RIAs dos and don’ts

What’s coming in the new Flash Platform runtimes

Building iPhone apps with Flash CS5

Model Driven Development

Some giveaways....

2

Page 8: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Agenda...

RIAs dos and don’ts

What’s coming in the new Flash Platform runtimes

Building iPhone apps with Flash CS5

Model Driven Development

Some giveaways....

2

Page 9: Ria Event Lisbon Jan 2010

3

Page 10: Ria Event Lisbon Jan 2010

RIAs dos and don’ts

3

Page 12: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Best practices building RIAs...

5

Page 13: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Best practices building RIAs...

1. Form follows function (MVC vs MVP)

5

Page 14: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Best practices building RIAs...

1. Form follows function (MVC vs MVP)

2. Leverage Design Tenets

5

Page 15: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Best practices building RIAs...

1. Form follows function (MVC vs MVP)

2. Leverage Design Tenets

3. Use the right !delity level

5

Page 16: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Best practices building RIAs...

1. Form follows function (MVC vs MVP)

2. Leverage Design Tenets

3. Use the right !delity level

4. What do your users and customers want?

5

Page 17: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Best practices building RIAs...

1. Form follows function (MVC vs MVP)

2. Leverage Design Tenets

3. Use the right !delity level

4. What do your users and customers want?

5. Ease of use or power users? Both

5

Page 18: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Best practices building RIAs...

1. Form follows function (MVC vs MVP)

2. Leverage Design Tenets

3. Use the right !delity level

4. What do your users and customers want?

5. Ease of use or power users? Both

6. Are you thinking about concurrency?

5

Page 19: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Best practices building RIAs...

1. Form follows function (MVC vs MVP)

2. Leverage Design Tenets

3. Use the right !delity level

4. What do your users and customers want?

5. Ease of use or power users? Both

6. Are you thinking about concurrency?

7. Balance the computing load

5

Page 20: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Best practices building RIAs...

1. Form follows function (MVC vs MVP)

2. Leverage Design Tenets

3. Use the right !delity level

4. What do your users and customers want?

5. Ease of use or power users? Both

6. Are you thinking about concurrency?

7. Balance the computing load

8. Security vs Usability

5

Page 21: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Best practices building RIAs...

1. Form follows function (MVC vs MVP)

2. Leverage Design Tenets

3. Use the right !delity level

4. What do your users and customers want?

5. Ease of use or power users? Both

6. Are you thinking about concurrency?

7. Balance the computing load

8. Security vs Usability

9. Maintenance and Versioning

5

Page 22: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Best practices building RIAs...

1. Form follows function (MVC vs MVP)

2. Leverage Design Tenets

3. Use the right !delity level

4. What do your users and customers want?

5. Ease of use or power users? Both

6. Are you thinking about concurrency?

7. Balance the computing load

8. Security vs Usability

9. Maintenance and Versioning

10. Contextual applications

5

Page 23: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Worst practices building RIAs...

6

Page 24: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Worst practices building RIAs...

1. Not a RIA application...don’t use RIA technology

6

Page 25: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Worst practices building RIAs...

1. Not a RIA application...don’t use RIA technology

2. Remember the environment...users REFRESH!!!

6

Page 26: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Worst practices building RIAs...

1. Not a RIA application...don’t use RIA technology

2. Remember the environment...users REFRESH!!!

3. HTML CAN NOT DO THAT

6

Page 27: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Worst practices building RIAs...

1. Not a RIA application...don’t use RIA technology

2. Remember the environment...users REFRESH!!!

3. HTML CAN NOT DO THAT

4. Do you really have that much bandwidth?

6

Page 28: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Worst practices building RIAs...

1. Not a RIA application...don’t use RIA technology

2. Remember the environment...users REFRESH!!!

3. HTML CAN NOT DO THAT

4. Do you really have that much bandwidth?

5. Animation-sickness

6

Page 29: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Worst practices building RIAs...

1. Not a RIA application...don’t use RIA technology

2. Remember the environment...users REFRESH!!!

3. HTML CAN NOT DO THAT

4. Do you really have that much bandwidth?

5. Animation-sickness

6. Have you heard the word “framework”?

6

Page 30: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Worst practices building RIAs...

1. Not a RIA application...don’t use RIA technology

2. Remember the environment...users REFRESH!!!

3. HTML CAN NOT DO THAT

4. Do you really have that much bandwidth?

5. Animation-sickness

6. Have you heard the word “framework”?

7. The wild developer (SC, TDD, CI)

6

Page 31: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Worst practices building RIAs...

1. Not a RIA application...don’t use RIA technology

2. Remember the environment...users REFRESH!!!

3. HTML CAN NOT DO THAT

4. Do you really have that much bandwidth?

5. Animation-sickness

6. Have you heard the word “framework”?

7. The wild developer (SC, TDD, CI)

8. Too many containers

6

Page 32: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Worst practices building RIAs...

1. Not a RIA application...don’t use RIA technology

2. Remember the environment...users REFRESH!!!

3. HTML CAN NOT DO THAT

4. Do you really have that much bandwidth?

5. Animation-sickness

6. Have you heard the word “framework”?

7. The wild developer (SC, TDD, CI)

8. Too many containers

9. Complex rendering

6

Page 33: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Worst practices building RIAs...

1. Not a RIA application...don’t use RIA technology

2. Remember the environment...users REFRESH!!!

3. HTML CAN NOT DO THAT

4. Do you really have that much bandwidth?

5. Animation-sickness

6. Have you heard the word “framework”?

7. The wild developer (SC, TDD, CI)

8. Too many containers

9. Complex rendering

10. Fanatic or Pragmatic?

6

Page 34: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Worst practices building RIAs...

1. Not a RIA application...don’t use RIA technology

2. Remember the environment...users REFRESH!!!

3. HTML CAN NOT DO THAT

4. Do you really have that much bandwidth?

5. Animation-sickness

6. Have you heard the word “framework”?

7. The wild developer (SC, TDD, CI)

8. Too many containers

9. Complex rendering

10. Fanatic or Pragmatic?

6

Page 35: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

RIA Problems you never expected ( by Kevin Hoyt )

Rendering performance o f virtual Lists

Creation Queuing of UI

Character Formats (XML, SOAP, JSON, Binary)

Handling Large Data Sets ( Implicit Paging )

RPC Spaghetti Code vs Data driven development

Data Synchronization

Operational Efficiency

Service Versioning

Service Security ( security a feature )

http://blog.kevinhoyt.org

http://tv.adobe.com

7

Page 36: Ria Event Lisbon Jan 2010

8

Page 37: Ria Event Lisbon Jan 2010

Flash Platform Runtimes update

8

Page 38: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential 9

MultiscreenContent and Applications

FLA

SH P

LATF

ORM

TOOLS FRAMEWORK CLIENTSSERVICESSERVERS

9

Page 39: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential 9

Flex

Flash Builder

FlashCatalyst

FlashPro

Creative Suite

MultiscreenContent and Applications

FLA

SH P

LATF

ORM TOOLS FRAMEWORK

CLIENTSSERVICESSERVERS

9

Page 40: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential 9

Flex

ColdFusion

Flash Media Server Family

LiveCycle Server

Flash Builder

FlashCatalyst

FlashPro

Creative Suite

MultiscreenContent and Applications

FLA

SH P

LATF

ORM TOOLS FRAMEWORK

CLIENTSSERVICES

SERVERS

9

Page 41: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential 9

Flex

ColdFusion

Flash Media Server Family

LiveCycle Server

Flash PlatformServices

Flash Builder

FlashCatalyst

FlashPro

Creative Suite

MultiscreenContent and Applications

FLA

SH P

LATF

ORM TOOLS FRAMEWORK

CLIENTS

SERVICESSERVERS

9

Page 42: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential 9

Flex

ColdFusion

Flash Media Server Family

LiveCycle Server

Flash PlatformServices

Flash Builder

FlashCatalyst

FlashPro

Creative Suite

MultiscreenContent and Applications

FLA

SH P

LATF

ORM TOOLS FRAMEWORK

CLIENTS

SERVICESSERVERS

FLASH PLATFORM SERVICES

LC Collaboration

Distribution

Payment

Social

9

Page 43: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential 9

Flex

ColdFusion

Flash Media Server Family

LiveCycle Server

Flash PlatformServices

Flash Builder

FlashCatalyst

FlashPro

Creative Suite

MultiscreenContent and Applications

Analytics &Optimization

FLA

SH P

LATF

ORM TOOLS FRAMEWORK

CLIENTS

SERVICESSERVERS

9

Page 44: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential 9

Flex

ColdFusion

Flash Media Server Family

LiveCycle Server

Flash PlatformServices

AIR

Flash Player

Flash Builder

FlashCatalyst

FlashPro

Creative Suite

MultiscreenContent and Applications

Analytics &Optimization

FLA

SH P

LATF

ORM TOOLS FRAMEWORK CLIENTSSERVICESSERVERS

9

Page 45: Ria Event Lisbon Jan 2010

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

© 2009 Adobe Systems Incorporated. All Rights Reserved.

of Internet-enabled desktops in the world run Flash

of Web games built using Flash

of all video on the web

is Flash

Over 300 million AIRdownloads and growing

95% of Internet-enabled desktops worldwide have installed

Flash Player 10

95%

Flash Platform Advantage – Reach

98% 70% 75%

10

Page 46: Ria Event Lisbon Jan 2010

FLAS

H

1

FLAS

H 1

0

FLAS

H 9

FLAS

H 8

FLAS

H 7

FLAS

H 6

FLAS

H 5

FLAS

H 4

FLAS

H 3

FLAS

H 2

•Vector graphics animation

•Anti-aliased vectors

•Gradients

•Fonts

•Scriptable interactivity

•Variables

•Dynamic text

•Embedded sound

•SWF loading

•MovieClip

•Masking

•Transparency

•Browser communication

•SWF format published

•Symbols (graphics, buttons)

•Hyperlinks

•Color effects

•ActionScript 1

•XML / objects / arrays

•HTML text formatting

•Collision detection

•Printing

•Streamed video

•Runtime masking

•Compression

•Drawing API

•Accessibility

•WMode

•ActionScript 2

•Progressive video

•Cross-domain support

•Depth management

•Filters & blend modes

•Bitmap data & effects

•Text anti-aliasing

•Scale 9 component scaling

•On2 VP6 video codec

•ActionScript 3

•Fullscreen•Multi-core•Open Source

VM “Tamarin”

•Local caching

•Open AMF •H.264 HD

video•E4X

•3D Effects

•Pixel Bender

•Text layout framework

•Dynamic sound generation

•Hardware acceleration

•Dynamic streaming

•Enhanced drawing API

•Open RTMP

Flash Innovation Timeline

11

Page 47: Ria Event Lisbon Jan 2010

12

Page 48: Ria Event Lisbon Jan 2010

Flash Player 10.1Smartphone enabledMultitouch, accelerometer, screen orientationOptimized memory, power, hardware accelerationHTTP video streamingContent protectionPeer assisted networking

12

Page 49: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Flash Player 10.1 optimized for mobile and media

Double the number of operating systems reached

New options for media delivery and monetization

13

Page 50: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Increased software rendering performance on mobile over 87%

Reduced memory consumption on mobile by over 55%

Flash Player 10.1 is designed for mobility

Performance

Graphics hardware acceleration

Audio/video hardware decoding

Memory, battery & CPU optimizations

Optimized SWF Management

Sleep mode

Device integration

Multi-touch and gestures

Accelerometer

Screen orientation

Mobile text input (virtual keyboards)

Porting kit for OSP partners

14

Page 51: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

15

Automatic Memory Reduction

15

Page 52: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

15

Automatic Memory Reduction

Gamma Bros

Wall-E

FP10 Demo

Flex Photo Album

Yahoo Ad

Flex Data Grid0

0

0

0

0

0

32MB

13MB

69MB

57MB

47MB

40MB

Flash Player 10

15

Page 53: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

15

Automatic Memory Reduction

17MB

4MB

25MB

23MB

26MB

15MBGamma Bros

Wall-E

FP10 Demo

Flex Photo Album

Yahoo Ad

Flex Data Grid0

0

0

0

0

0

32MB

13MB

69MB

57MB

47MB

40MB

Flash Player 10Flash Player 10.1

15

Page 54: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Battery Usage

16

Active State with Video3.4 hours

16

Page 55: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Battery Usage

16

Active State with Animation

6.5 hours

Active State with Video3.4 hours

16

Page 56: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Battery Usage

16

Active State with Animation

6.5 hours

Low Powerwith Animation

14.5 hours

Active State with Video3.4 hours

16

Page 57: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Optimized SWF Management

Player manages # of SWFs that load on a page at a time Based on SWF priority, visibility , and available system resources

New HTML parameter – HasPriority When page loads, player will load:

HasPriority SWFs Onscreen SWFs 0x0 and 1x1 SWFs (e.g. helper SWFs)

Other off-screen instances are started when scrolled into view If system resource limits reached, non-loaded & lower priority

instances revert to “click-to-play”

17

Page 58: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Multi-Touch and Gestures

New touch event APIs that expose to AS3 code: Raw touch events Native OS gestures

Player performs “hit test” on all incoming events

Maintains compatibility with mouse centric content Generate corresponding mouse events

for the initial touch point Enables easy upgrade path for existing Flash

content

18

Page 59: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Globalization Support (GSLib)

New set of ActionScript APIs to provide locale specific: Date, time, currency and number formatting Currency and number parsing String comparison for sorting or searching

for text Upper/lower case conversions

Easily create applications that will display & process data appropriately for all major world markets

19

Page 60: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Web mobilization plan

Flex mobile framework Rapidly build rich applications across platforms & devices

Mobile UI components (List, Button, TextInput, Screens, etc.)

Core Flex framework capabilities optimized for mobile

Design principles and mechanism for creating adaptive UI

Proactive content enablement Target top tier Flash sites

Flash-enable mobile websites (“m.sites”)

Developer enablement

Technical engagement team

20

Page 61: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Expanding options for high quality media delivery

Robust content protection (DRM) solution with Flash Access File-based protection for PCs independent of transmission method –

Progressive, streaming, or download (AIR only). Various usage rules including Windows output protection

HTTP Streaming Deliver high-quality live and recorded media using standard HTTP

infrastructure Full DRM protection with Flash Access

Peer Assisted Networking Support for live and recorded media or application data Private groups support in RTMFP Enable lower cost real time interactive experiences

21

Page 62: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Enhanced Video Quality of Service(Requires FMS 3.5.3)

Dynamic Streaming Enhancements Faster bit rate transition times Users no longer need to wait for the buffer to play through

Smart Reconnect Play through buffered data to provide seamless playback of video in spotty network

conditions

Smart Seek Buffers data to provide faster forward/backwards seeking

22

Page 63: Ria Event Lisbon Jan 2010

23

Page 64: Ria Event Lisbon Jan 2010

AIR 2.0

23

Page 65: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential 24

Adobe AIR has achieved critical mass since the release in Feb 2008

17

AIR Runtime Installations300,000,000+

Developer Tools Downloads2,000,000+

Broad range of customer applications and adoption

As of September 2008

24

Page 67: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Adobe AIR 2.0

Contextual Apps and Desktop Integration

More peripheral support More $exible networking Improved native OS integration

Prepare for mobile Performance improvements Memory reductions New input methods for devices

(e.g. phones & netbooks)

26

Page 68: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

AIR 2.0 new features

27

Page 69: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

AIR 2.0 new features

Mass Storage Detection

27

Page 70: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

AIR 2.0 new features

Mass Storage Detection Improved Socket Support

27

Page 71: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

AIR 2.0 new features

Mass Storage Detection Improved Socket Support

Invoke Native Applications

27

Page 72: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

AIR 2.0 new features

Mass Storage Detection Improved Socket Support

Invoke Native Applications

All FP 10.1 features

27

Page 73: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

AIR 2.0 new features

Mass Storage Detection Improved Socket Support

Invoke Native Applications

Mobile GroundworkAll FP 10.1 features

27

Page 74: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

AIR 2.0 new features

Mass Storage Detection Improved Socket Support

Invoke Native Applications Updated Webkit Engine

Mobile GroundworkAll FP 10.1 features

27

Page 75: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

AIR 2.0 new features

Mass Storage Detection Improved Socket Support

Invoke Native Applications Updated Webkit Engine

Mobile Groundwork Latest OS SupportAll FP 10.1 features

27

Page 76: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Key takeaways

Smartphones adds a new vector to the Flash Platform sustainable competitive advantage

With FP 10.1, consumers will immediately bene!t with access to content previously not available on smart phones.

Consistent runtimes provide a major productivity boost for developers – but there is still work to be done to deliver content optimized for the mobile context.

Adobe AIR 2 introduces fundamental new capabilities for RIA that enable contextual applications Access to peripherals and new network topologies

Performance improvements and mobile speci!c features

28

Page 77: Ria Event Lisbon Jan 2010

Packager for iPhone

29

Page 78: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

Packager for iPhone

Features:

Package as iPhone app

AIR 2.0 (subset)

Ahead Of Time Compiler for AS3

Geolocation, Screen Orientation, Accelerometer APIs

Multi-Touch, Gesture APIs

Optional GPU support

Limitations:

No interpreter, so no remote SWFs

No H.264, RTMPE

PixelBender

30

Page 79: Ria Event Lisbon Jan 2010

Copyright 2008 Adobe Systems Incorporated. All rights reserved.

12

swf.exe.swf

assets

timeline

ABC1 SHA1

ABC2 SHA1

assets

timeline

ABC1

ABC2

assets

timeline

AS3

AS3

SWC

AOT – Ahead of Time ActionScript Compilation

.swfFlash Pro CS5

Flash runtime library

ARM

Flash runtime library

ABC compiler

LLVM bitcode

LLVM code gen

AOT tool

31

Page 80: Ria Event Lisbon Jan 2010

Copyright 2008 Adobe Systems Incorporated. All rights reserved. 32

AIR package vs. iPhone .app

9

.air

.swf Flash assets

app:/ assets

app.xml

code

.app

.swf Flash assetsARM exe

runtime

library

app:/ assets

Info.plist

32

Page 81: Ria Event Lisbon Jan 2010

Copyright 2008 Adobe Systems Incorporated. All rights reserved.

Packager for iPhone: Work$ow

.AIR (swf, jpg, mp3)

ADL

33

Page 82: Ria Event Lisbon Jan 2010

Copyright 2008 Adobe Systems Incorporated. All rights reserved.

Packager for iPhone: Work$ow

.ipa

.AIR (swf, jpg, mp3)

ADL

33

Page 83: Ria Event Lisbon Jan 2010

Copyright 2008 Adobe Systems Incorporated. All rights reserved. 34

Packager for iPhone: Internals

.AIR (swf, jpg, mp3)

• temp.air package

• inc. bundle seed ID

• inc. App.xml

• .app stub creation

• AS3 - > ARM

• Asset embedding

• Linked against SDK

• .ipa creation

• icons embedded

• certificate signed

34

Page 84: Ria Event Lisbon Jan 2010

Copyright 2008 Adobe Systems Incorporated. All rights reserved. 34

Packager for iPhone: Internals

ADT+LLVM.AIR (swf, jpg, mp3)

• temp.air package

• inc. bundle seed ID

• inc. App.xml

• .app stub creation

• AS3 - > ARM

• Asset embedding

• Linked against SDK

• .ipa creation

• icons embedded

• certificate signed

34

Page 85: Ria Event Lisbon Jan 2010

Copyright 2008 Adobe Systems Incorporated. All rights reserved. 34

Packager for iPhone: Internals

ADT+LLVM

Certi!cate

.AIR (swf, jpg, mp3)

• temp.air package

• inc. bundle seed ID

• inc. App.xml

• .app stub creation

• AS3 - > ARM

• Asset embedding

• Linked against SDK

• .ipa creation

• icons embedded

• certificate signed

34

Page 86: Ria Event Lisbon Jan 2010

Copyright 2008 Adobe Systems Incorporated. All rights reserved. 34

Packager for iPhone: Internals

.ipaADT+LLVM

Certi!cate

.AIR (swf, jpg, mp3)

• temp.air package

• inc. bundle seed ID

• inc. App.xml

• .app stub creation

• AS3 - > ARM

• Asset embedding

• Linked against SDK

• .ipa creation

• icons embedded

• certificate signed

34

Page 87: Ria Event Lisbon Jan 2010

Copyright 2008 Adobe Systems Incorporated. All rights reserved.

Packager for iPhone: Notes

Same applications can run on Flash Player 10.1

Optimization of code is key to success in mobile

Test and re-test core functionality on device

Target the masses, 2nd Gen iPod Touch and iPhone 3G

GPU usage may reduce rendering quality (e.g text

http://2009.max.adobe.com/online/session/402

35

Page 88: Ria Event Lisbon Jan 2010

Model Driven Development withAdobe® LiveCycle Data Services 3.0

36

Page 89: Ria Event Lisbon Jan 2010

Copyright 2008 Adobe Systems Incorporated. All rights reserved. 37

LiveCycle Data Services 3.0

Serv

ices

Adap

ters

Chan

nels

Long Polling

NIO Streaming RTMPNIO Polling

PollingAMF

HTTP

MessagingProxy

NIO LongPolling

Streaming

Producer ConsumerRemoteObject Dataservice

Remoting Data Mgmt

Piggyback

Change Tracking

Data Sync

RPC

AMF

Pub/Sub

Real Time Push PDF

Security

Hibernate ColdFusionSQL

SpringWSRP

JMS Java

37

Page 90: Ria Event Lisbon Jan 2010

Copyright 2008 Adobe Systems Incorporated. All rights reserved.

Code •UI controls / formatters / styles• Calculated !elds• Validation Rules• Variants (conditional properties)• Localization• Security• Data Retrieval Logic (paging, lazy loading)• Data Synchronization Logic

Code-Driven Development

Model •Basic Data Description

Model Server-side code Client-side code

38

Page 91: Ria Event Lisbon Jan 2010

Copyright 2008 Adobe Systems Incorporated. All rights reserved.

Code• Ad-hoc customization• View composition• External business/validation logic

Modeling: LCDS Model-Driven Development

Model • Rich data model (data and behaviors)• Calculated !elds• Validation Rules• Variants (conditional properties)• Localization• Security• UI hints/defaults: controls, formatters, styles

Model includes enough information to derive data retrieval, persistence, and synchronization logic

Model Server-side code Client-side code

39

Page 92: Ria Event Lisbon Jan 2010

Copyright 2008 Adobe Systems Incorporated. All rights reserved. 40

Model

Tools Runtime Code Gen

XML-­‐based  modeling  language

Model-Driven Development

40

Page 93: Ria Event Lisbon Jan 2010

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential 41

LCDS Model Driven Development Bene!ts

Productivity: Less code to write

No persistence code or data sync code

Value objects and service stubs are automatically generated

Maintainability: Less code to maintain

Changes to the model are automatically propagated

Consistency

Between client and server (for example, constraints and validation rules are de!ned in the model, not duplicated using different languages in the client and the server)

Across views (for example, UI controls, styles, and validation rules are de!ned in the model, not duplicated across different views)

Approachability

No code to write to implement complex capabilities such as persistence, synchronization, paging, lazy loading, offline, etc.

41

Page 94: Ria Event Lisbon Jan 2010

®

Copyright 2009 Adobe Systems Incorporated. All rights reserved. Adobe Con!dential

RIAPT birthday party!!!

Enrique DuvósMgr, Flash Platform Evangelism EMEAJanuary 2010

42