introduction to metro applications

10
Introduction to Metro Applications Michael F. Collins, III Desert Code Camp November 2011

Upload: michael-collins

Post on 21-Aug-2015

1.790 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Introduction to Metro Applications

Introduction to Metro ApplicationsMichael F. Collins, III

Desert Code Camp

November 2011

Page 2: Introduction to Metro Applications

Windows 8

Windows Core OS Services

JavaScript

(Chakra)C/C++ C#, VB

Metro style apps

Communication

& Data

Application Model

Devices & Printing

WinRT APIs

Graphics & Media

XAMLHTML /

CSS

HTMLJS

CC++

C#VB

Desktop apps

Win32

.NET SL

IESyst

em

Serv

ices

Vie w

Mod

el

Con

trolle

r

Cor

e

Page 3: Introduction to Metro Applications

Windows Runtime (WinRT)

Windows Metadata

& Namespac

e

Language Projection

Windows Core

Windows Runtime Core

XAML Storage …Network

UI Pickers MediaControls

Metro style app

Runtime Broker

Language Support

(CLR, WinJS, CRT)

Web Host (HTML, CSS, JavaScript))

Page 4: Introduction to Metro Applications

WinRT Services

FundamentalsAuthentic

ationCryptogr

aphyGlobaliza

tion.NET Win32

App Lifetime

Communications & Data

Contracts XML Web

Networking

Notifications

Local & Cloud StorageMedia

Capture

PlayTo

Devices

Sensors

Geolocation

Portable Devices

NFC

User InterfaceHTML5 /

CSSXAML DirectX Controls

InputAccessibilit

yPrinting

Data Binding

Tiles

Streams

Background Transfer

SVG

AtomPub

SMS

Printer

Visual Effects

Transcoding

Page 5: Introduction to Metro Applications

What’s Important?

Metro applications run in an Internet Explorer 10 shell Acts just like a browser

Full HTML 5 support

Full CSS 3 support

Full JavaScript support

You can use the WinRT libraries, or choose to continue using jQuery, KnockoutJS, or other JavaScript libraries

Page 6: Introduction to Metro Applications

Windows 8 Metro Applications

Windows Runtime

JavaScript

C#/VBC++

Page 7: Introduction to Metro Applications

How does HTML5 Compare: C++

HTML 5 HTML 5 applications run in

Internet Explorer 10

Portable across all Windows 8 architectures

JavaScript is loaded into a document and interpreted by the JavaScript engine

Uses the WinRT framework

Uses HTML 5 and CSS 3 for UI

Additional JavaScript-based UI controls

Supports data binding to HTML controls

C++

C++ is compiled as native code

Uses the WinRT framework

Uses XAML for UI

Uses Standard Template Library

Automatic reference counting

Page 8: Introduction to Metro Applications

How does .NET Compare: HTML5

.NET

.NET compiles to MSIL Will be just-in-time

compiled for the host machine

Uses the WinRT framework

Uses XAML for the UI

Subset of the .NET Framework

Garbage collection

HTML 5

HTML5 apps use the Internet Explorer core hosted in a shell application provided by Metro

Uses WinRT

Most JavaScript libraries can be reused: jQuery, KnockoutJS, etc.

Metro JavaScript library supports data binding and list controls

Metro applications have full HTML 5 support and CSS 3

HTML 5 applications are not limited to same server policy

Page 9: Introduction to Metro Applications

Start the New Year the Right Way

Neudesic is hiring!

We need: SharePoint

Mobility: iPhone, iPad, Android, Windows Phone 7

Silverlight/WPF

Web: HTML 5, JavaScript, ASP.NET MVC

WCF and BizTalk

User Experience

Come work with some of the top developers in the Phoenix region!

Email your resume to [email protected] today!

Page 10: Introduction to Metro Applications

Contact Information

Email [email protected]

[email protected]

Blog: http://www.michaelfcollins3.me

Twitter: @mfcollins3

Linked In: http://www.linkedin.com/in/michaelfcollins3

Facebook: http://www.facebook.com/mfcollins3