geek a-paloozaaa metro-xaml_appdev

21
Desarrollo de aplicaciones XAML con Windows 8 O “Como crear la Tesela única..” José Luis Latorre

Upload: jose-millas

Post on 06-May-2015

480 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Geek a-paloozaaa metro-xaml_appdev

Desarrollo de aplicaciones XAML con Windows 8

O “Como crear la Tesela única..”José Luis Latorre

Page 2: Geek a-paloozaaa metro-xaml_appdev

Guión

• WindowsRT• METRO• Primeros pasos• LifeCycle• Charms & Contracts• Conclusión

Page 3: Geek a-paloozaaa metro-xaml_appdev

WindowsRT

Ese gran desconocido… ¿o no?

Page 4: Geek a-paloozaaa metro-xaml_appdev

¿Está .NET Muerto?

Page 5: Geek a-paloozaaa metro-xaml_appdev

Communication & Data

Devices & Printing

WinRT APIs

Graphics & Media

Windows 8

Desktop Apps

CC++

Win32

C#VB

.NET SL

HTMLJavaScript

Internet Explorer

Metro style Apps

Application Model

XAML

JavaScript

HTML / CSS

CC++

C#VB

Windows Kernel Services

Syst

em S

ervi

ces

View

Mod

el

Cont

rolle

rKe

rnel

Page 6: Geek a-paloozaaa metro-xaml_appdev

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 7: Geek a-paloozaaa metro-xaml_appdev

Devices

SensorsGeolocation Portable NFC

Communications & Data

Contracts

XML

Web

SMSNetworking

Notifications

Local & Cloud Storage

Streams

Background Transfer

User Interface

HTML5/CSS XAML DirectX Controls

Input Accessibility Printing

Data Binding

TilesSVG

Fundamentals

Application Services Authentication Cryptography GlobalizationMemory ManagementThreading/Timers

Media

Visual EffectsPlayback PlayToCapture

Metro style application APIs

Page 8: Geek a-paloozaaa metro-xaml_appdev

WinRT vs Silverlight

SL5

WinRT4396

1582

607

• Type comparison

Page 9: Geek a-paloozaaa metro-xaml_appdev

WinRT vs Silverlight

SL5WinRT10375

651

• Member comparison

4222

Page 10: Geek a-paloozaaa metro-xaml_appdev

.NET Framework 4.5

• Preinstalled in Windows 8• Metro Style Apps are part of .NET 4.5• No support for Windows XP• In-place replacement for .NET 4.0

Page 11: Geek a-paloozaaa metro-xaml_appdev

Language SupportC#

XAML 5

apps

C++ Direct

X 2 apps

JS HTML

22 apps

• 29 apps in total• In Dev Preview:

–75% JS, –17% C#, –8% C++

Page 12: Geek a-paloozaaa metro-xaml_appdev

METRO

Page 13: Geek a-paloozaaa metro-xaml_appdev

Metro Design

• Typography• Motion• Content not Chrome

Page 14: Geek a-paloozaaa metro-xaml_appdev

Metro UI

Page 15: Geek a-paloozaaa metro-xaml_appdev

In-box Controls for Metro Style Apps

App Bar

List Box

Hyperlink

CheckboxProgress Bar

Text Box

Password

Progress Ring

Tooltip

Grid ViewButton

Flip View

Combo Box

Scroll Bar

Context Menu

Slider

Toggle Switch

Semantic Zoom

Panning Indicator

Rating

List View

Flyout

Radio Button

Clear Button

Reveal Button

Spell Checking

Page 16: Geek a-paloozaaa metro-xaml_appdev

Metro Principles

• Metro Style Design• Fast and fluid• Touch first• Scale beautifully• Support for multiple states• Using the right contracts• Live tiles• Roaming to the cloud

Page 17: Geek a-paloozaaa metro-xaml_appdev

Primeros pasos..

Page 18: Geek a-paloozaaa metro-xaml_appdev

LifeCycle

Solo puede quedar uno…

Page 19: Geek a-paloozaaa metro-xaml_appdev

Process state transition

Page 20: Geek a-paloozaaa metro-xaml_appdev

Charms & Contracts

Para realizar un hechizo hay que cumplir con el contrato adecuado..

Page 21: Geek a-paloozaaa metro-xaml_appdev

That’s all folks!

Dubtes? Dudas? Doubts?

@joslatJose Luis [email protected]