xamarin vs. hybrid html: making the right mobile platform choice for the enterprise

38
Cross-Platform Native vs. Hybrid HTML Making the right choice for the enterprise We will answer questions during our Q&A Send mail to [email protected]

Upload: xamarin

Post on 13-Jan-2017

4.901 views

Category:

Mobile


0 download

TRANSCRIPT

Page 1: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Cross-Platform Native vs. Hybrid HTML Making the right choice for the enterprise

We will answer questions during our Q&A Send mail to [email protected]

Page 2: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Xamarin: The Complete Mobile Lifecycle Solution

xamarin.com

Page 3: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Today’s presenters

Kevin FordMobile Practice Lead

Kevin Ford is the Mobile Practice Lead with Magenic leading development with native mobile technologies, Xamarin and Cordova.

Steven Yi Head of Product Marketing

Prior experience at Microsoft, Red Hat, and global system integrators in strategy, product management and architecture roles.

Page 4: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Agenda

1

Enterprise Mobile Considerations

2

Mobile Frameworks Overview

3

Head to Head Comparison: Cross Platform Native vs. Hybrid HTML

User Experience

Developer Tools & Productivity

Performance

Total Cost of Ownership

Page 5: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

What are we exploring and comparing?

Enterprise Productivity Fast Time to Market POC or Version 1.0

Quantified Comparative Analysis Benchmarks vs. Anecdotal Experience

Fully Mobile Capable

TCO Long term & Opportunity Costs

Page 6: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Enterprise mobile considerations

Business Transformation

User Experienceand Productivity

Time to Market and Agility

TCO and Maintainability

Page 7: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

What are the mobile platform stacks?

Platform Proprietary Objective-C / Swift Android Java Windows .NET

Cross-Platform Native

Hybrid HTML & JavaScript Frameworks

React

1st Gen

3rd Gen

2nd Gen

Native UX High performance

Multi-platform Unified codebase

Hardware & platform access

Native UX High performance

Multi-platform Unified codebase

*Hardware & platform access

Native UX High performance

Multi-platform *Unified codebase

Hardware & platform access

Page 8: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

The Demo App: IncidentTrackr

Page 9: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

The Demo App: IncidentTrackr •  Field Service productivity and

workflow app for maintenance operations

•  Used dozens of times a day

•  Utilizes camera, microphone, and audio

•  BYOD

•  6 week development time

•  Extend enterprise backend

Page 10: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

The Demo App: IncidentTrackr

Page 11: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

The Demo App: IncidentTrackr

Azure App Service (formerly Azure Mobile Services)

Azure Active Directory (Identity)

Storage

Azure SQL Database

Page 12: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Top-level takeaways

Page 13: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Cross-Platform Native fulfilled all app requirements. Hybrid HTML could not deliver on key piece of functionality without requiring custom Objective-C and Java.

THE APP WORKED

Page 14: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

25% FASTER

Cross-Platform Native apps started faster than the Hybrid HTML versions

Page 15: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

62% FASTER

Cross-Platform Native loaded large datasets faster than Hybrid HTML

Page 16: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

-50% LESS

Cross-Platform Native used less memory than Hybrid HTML

Page 17: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

-76% LESS

Cross-Platform Native used less CPU time than Hybrid HTML

Page 18: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

22x FASTER

Xamarin performs CPU-intensive tasks faster than Hybrid HTML

Page 19: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

User Experience

Page 20: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

User Experience: Key Considerations

Native UX Total Hardware & Platform Access

UX Design Capability

Page 21: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Developer Tools and Productivity

Page 22: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Developer Productivity: Key Considerations

1

Volatility of HTML frameworks

2

API Access Extensibility

3

Stack Complexity

4

Strongly-Typed Development

5

Compilation Time

Page 23: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Hybrid HTML UI Frameworks

Page 24: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Performance

Page 25: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Performance: Runtime Metrics

4,810

1,940

3,840

1,550

Android  

iOS  Hybrid  Mobile  

Hybrid  Mobile  

App Start Time (ms)

Page 26: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Performance: Runtime Metrics

4,810

1,940

3,840

1,550

Android  

iOS  

 231    

 6,000    

 165    

 3,000    

Android  

iOS  Hybrid  Mobile  

Hybrid  Mobile  

Hybrid  Mobile  

Hybrid  Mobile  

App Start Time (ms) Memory Usage (mb)

Page 27: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Performance: Runtime Metrics

4,810

1,940

3,840

1,550

Android  

iOS  

 231    

 6,000    

 165    

 3,000    

Android  

iOS  

110

25 iOS  

Hybrid  Mobile  

Hybrid  Mobile  

Hybrid  Mobile  

Hybrid  Mobile  

Hybrid  Mobile  

App Start Time (ms) Memory Usage (mb)

Total CPU Time (seconds)

Page 28: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Performance: Runtime Metrics

4,810

1,940

3,840

1,550

Android  

iOS  

 231    

 6,000    

 165    

 3,000    

Android  

iOS  

110

25 iOS  

4,800

4,030

2,070

3,220

Android  

iOS  

Hybrid  Mobile  

Hybrid  Mobile  

Hybrid  Mobile  

Hybrid  Mobile  

Hybrid  Mobile  

Hybrid  Mobile  

Hybrid  Mobile  

App Start Time (ms) Memory Usage (mb)

Loading Large Datasets (ms) – 1,000 Records Total CPU Time (seconds)

Page 29: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Performance: Coding Metrics Code Reuse

Hybrid  HTML  

Xamarin  

Hybrid  Mobile   99%

*96% (with Xamarin.Forms)

42% using Xamarin.iOS and Xamarin.Android

Page 30: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Performance: Coding Metrics

Hybrid  Mobile  

Hybrid  Mobile  

Code Reuse Compile Time (sec) – Debug Build

Hybrid  HTML  

Xamarin  

25

18

32

34

Android  

iOS  

Hybrid  Mobile   99%

*96% (with Xamarin.Forms)

42% using Xamarin.iOS and Xamarin.Android

Page 31: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Performance: Coding Metrics

Hybrid  Mobile  

Hybrid  Mobile  

Code Reuse Compile Time (sec) – Debug Build

Hybrid  HTML  

Xamarin  

25

18

32

34

Android  

iOS  

5.29

11.30

11.49

35.50

Android  

iOS  

Hybrid  Mobile   99%

*96% (with Xamarin.Forms)

42% using Xamarin.iOS and Xamarin.Android

Hybrid  Mobile  

Hybrid  Mobile  

App Size (mb)

Page 32: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Total Cost of Ownership

Page 33: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

TCO: Key Considerations

1

Upfront Cost vs. Maintenance & Operations

2

End-User Productivity App Adoption

3

Agility & Opportunity Costs

Page 34: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Conclusion

Page 35: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

What To Use When?

Results & eBook available March 2016

Cross-Platform Native Public facing – a reflection of your brand Experience with C# or Java Utilizing newer and/or full hardware capabilities

Page 36: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

What To Use When?

Results & eBook available March 2016

Cross-Platform Native Public facing – a reflection of your brand Experience with C# or Java Utilizing newer and/or full hardware capabilities

Hybrid HTML Lower UX expectations HTML-only skillset Primarily consumption experience vs. high interactivity

Page 37: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Orlando, FL April 24th–28th

Page 38: Xamarin vs. Hybrid HTML: Making the Right Mobile Platform Choice for the Enterprise

Thank you!