enterprise flex applications on tablet devices

43
©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Condential. Flex Enterprise apps on Tablet devices Michaël Chaize | Flash Platform Evangelist RIAgora.com | @mchaize

Upload: michael-chaize

Post on 05-Dec-2014

3.859 views

Category:

Technology


2 download

DESCRIPTION

The slides of my Adobe MAX2011 presentation about the impact of tablets on Enterprise applications developers (especially flex developers)

TRANSCRIPT

Page 1: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.

Flex Enterprise apps on Tablet devicesMichaël Chaize | Flash Platform EvangelistRIAgora.com | @mchaize

Page 2: Enterprise Flex applications on tablet devices

© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.

Flex 4.5.1

Additional OS’s

Flex Application

One Tool, One Language, One Codebase

Any Platform

Common codebase

Page 3: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.

Menu

!e rise of tablet devicesTablets and Enterprise apps

Opportunities for Enterprise developersDesign Driven Development

Tips for Flex developersWhy Flex 4.6 should help

Four tablets3

Page 4: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.

Enterprise applications

4

Easily interact with the Enterprise knowledgeanywhere & at any time

The ultimate goal for Enterprise users:

Page 5: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.

Enterprise applications

5

Real-Time ACCESS to my Enterprise Knowledge

INTERACTION

QUALITY IMPROVEMENT

Page 6: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.

Human interactions with the Enterprise knowledge

6

Working with paper•Interact directly on the information•One single plan•Learnt at school•Knowledge not centralized•Expensive

Page 7: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 7

Collaboration on a wall•Interact directly on the information•One single plan•Learnt at school•Knowledge is lost•One at a time

Human interactions with the Enterprise knowledge

Page 8: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 8

!e era of PC•Knowledge is centralized•Extended company & Collaboration•Mouse and Keyboard•Learning curve•No mobility at all

Human interactions with the Enterprise knowledge

Page 9: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 9

What inspired a PC is not inspiring

anymore

Human interactions with the Enterprise knowledge

Page 10: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 10

Laptops•First a"empt of mobility•Extends the work area (home vs office)•Confort•Network access•Worst interactions ever

Human interactions with the Enterprise knowledge

Page 11: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 11

Mobility......with some constraints

Human interactions with the Enterprise knowledge

Page 12: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 12

Smartphones•Total mobility•Confort•Typing experience•Small screen = less information

Human interactions with the Enterprise knowledge

Page 13: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 13

Tablets•Total mobility•Confort & autonomy•Typing experience•Large screen•Pleasure and work on the same device

Human interactions with the Enterprise knowledge

Page 14: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 14

Introduce a tablet in a company

IT Services Employees

Main challenges:

Process to secure con!guration and deploymentDeploy and managed approved appsEnsuring mobility is auditable and compliantReadying Help Desk for support calls(study by Impetus)Running existing applicationsWelcome a new Operating System

The facts:

Some PC cannibalization is expected to occur.One tablet for work and home

"ey want the latest tabletNative apps deliver the experience that people

expectCompanies will take years to de!ne a mobile strategy, but employees won’t wait that long.

"ey are already iPad ninjas.

Page 15: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.

"e rise of tablet devices

15

Yes, it’s already happening !But large organizations need expertise !

Page 16: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 16

Tablets users in the Enterprise today

TopManagers

Salesforce

Audit /Inspection

Key factsClear

- Real-time information- Dashboards

> Improve decision making time and quality

Key factsClear

- Read and Write in the CRM

> Increased efficiency and productivity> Improve knowledge quality

Key factsClear

- Capture data on the !eld- Access to technical information

> Increased efficiency and productivity> Reduce the risk of errors

Extending our core RIA values

Page 17: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 17

Tablets users in the Enterprise tomorrow

Anyone

Page 18: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 18

How can we answer Enterprise basic needs ?

sync

LCDS DATA MASHUP LCCS

Offline/Online Data Synchronization

Dashboard and advanced data visualization

Real-time Collaboration

Page 19: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 19

A$ention please !

Tablets are not the solution !!e classic El Dorado effectTablet is just a new asset to solve users problems

http://www.flickr.com/photos/_belial/

Page 20: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.

A classic IT fail

20

v

Cameras

Video chat Take pictures

Draw on pictures

Microphone

VoIP Voice Recognition

Page 21: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.

"e traditional way for Enterprise apps development

21

v

What do you need ?

Express the needs in a doc

Technical speci!cations

Back-end + UI developments Delivery

LOB IT

Page 22: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 22

v

What problems are you facing ?

Observe, Observe, Observe

Find solutions designing the UI

Technical solutions to serve

the UIDelivery

D.D.D - Design Driven Development

Whatto build ?

Howto build ?to scale ? Analytics

Page 23: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 23

Bridge betweenthe context, people,and the system•Gather local information•Extend your eyes, your ears

"e number one opportunity for our community

Page 24: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 24

CareCloud demo

Use ANEto collect patient

data

Video ChatShare what you see, what you

hear

Get advice from an expert

Read patient documents from

the cloud

Consider the context and

adapt the userexperience

Page 25: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 25

Design tips - Navigation

Page 26: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 26

Design tips - Visual Feedback

visualfeedback

Page 27: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 27

Design tips - Visual Feedback

Demo

www.lafabrick.com

Page 28: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 28

Flex tips - don’t stress the Display list

Reduce your surface of rendering

Use dynamic layouts

Page 29: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 29

Flex tips - <DEMO> Radio X-Track </DEMO>

Page 30: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 30

<s:states> <s:State name="portraitPhone" stateGroups="phone,portrait"/> <s:State name="landscapePhone" stateGroups="landscape,phone"/> <s:State name="portraitTablet" stateGroups="portrait,tablet"/> <s:State name="landscapeTablet" stateGroups="landscape,tablet"/></s:states>

State groups

protected function application1_resizeHandler(event:ResizeEvent):void{ // TODO Auto-generated method stub var isPortrait:Boolean = height > width; isTablet = height > 960 || width > 960; currentState = (isPortrait ? "portrait" : "landscape") + (isTablet ? "Tablet" : "Phone");}

Resize handler

Flex tips - Dynamic layouts demo

Page 31: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 31

<s:ViewNavigator includeIn="tablet"

id="tabletPlayView" width.landscapeTablet="{this.width - phoneViewNavigator.width}" height.landscapeTablet="{this.height}" x.landscapeTablet="270" y.landscapeTablet="0" height="100%" width.portraitTablet="100%" x.portraitTablet="0" y.portraitTablet="0" height.portraitTablet="{this.height - phoneViewNavigator.height}" />

Layout Properties

Flex tips - Dynamic layouts demo

Page 32: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 32

Flex tips - Back to the <s:Application> tag

Page 33: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 33

Flex tips - Persistence Manager

FlexGlobals.topLevelApplication.persistenceManager.setProperty("lastSearch",arrayCollectResults);//...FlexGlobals.topLevelApplication.persistenceManager.getProperty("lastSearch");

Persist some properties

var file:File = File.documentsDirectory.resolvePath('settings.inf');if (file.exists) file.deleteFile();var fileStream:FileStream = new FileStream(); //create a file streamfileStream.open(file, FileMode.WRITE); // and open the file for writefileStream.writeObject(object); //write the object to the filefileStream.close();

Write !les on tablet devices

Page 34: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 34

Flex tips - Optimized SQLite Insert or Update queries

SQLite on tablet devices

_sqlStatement.sqlConnection = sqlc;_sqlStatement.text = "INSERT INTO "+tableName+"Followers(idFollower,name) VALUES (@ID,@SNAME)";sqlc.begin(); for (var i:int = 0; i < arrayIdFollowers.length; i++) { var idFollower:int = int(arrayIdFollowers.getItemAt(i)); //query("INSERT INTO "+ tableName+"Followers(idFollower) VALUES ('"+idFollower+"')");

_sqlStatement.parameters['@ID'] = idFollower.toString(); _sqlStatement.parameters['@SNAME'] = screenName; _sqlStatement.execute(); } sqlc.commit();closeDb();

10xfaster

Page 35: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.

Flex 4.6 and tablet devices

35

- Native Extensions- Callout Bu"on- SplitViewNavigator- Natural components:Spinner, SnapList, ToggleSwitch

Page 36: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.

Flex 4.6 - more tablet capibilities

36

ANE: No more limitation

ActionScript Native Extension

AS3 bridge

C, JAVA

Flex Mobileproject

ANE SWF

.AIR, .APK, .IPA, .BAR

Page 37: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.

Flex 4.6 - more components for your tablet devices

37

Page 38: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 38

How to measure success ?

Looking at the stars ?

Page 39: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential. 39

How to measure success ?

Page 40: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.

Key takeaways

40

1. Understand tablet users expectations.2. You must be proactive. Companies are lost.3. Sell Design Driven Developments.4. Experiment new Design layouts.5. Use the last Flex builds for your tablet apps.6. RIA experts should become Tablet experts.

Flex & Tablets

Page 41: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.

I’m giving away 4 tablets

41

- !e name of the company that is using tablets to enable Real-Time Collaboration between doctors.- What’s the new name of LCDS ?- What is DDD ?- What is the name of my blog ?

Page 42: Enterprise Flex applications on tablet devices

©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.

I’m giving away 4 tablets

42

- New generation of tablets- Built by French manufacturers

- 6.2 inches- 4 colors

- Best autonomy of the market- Target both geeks and women

Page 43: Enterprise Flex applications on tablet devices

©2010 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.©2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Con!dential.

Michaël Chaize | Flash Platform EvangelistRIAgora.com | @mchaize