SlideShare une entreprise Scribd logo
1  sur  34
Windows 8
Hot or Not
             Piotr Włodek
Agenda


Metro    Charms Contracts WinRT


          App Execution
Motion                    Summary
           Environment
Metro UI
Metro Design
Metro Design
• Typography
• Motion
• Content not Chrome
Photoshop METRO’ified
Notification
• Tile notification
  – Square or wide
  – Badge (number or glypth)
• Toast notification
  – Standard toast, 7 sec (e-mail, IM, social media)
  – Long duration toast, 30 sec (person waiting)
• Push notification
  – Windows Push Notification Services
WIN 8 LOOK’N’FEEL
Charms
•   Search
•   Share
•   Start
•   Devices
•   Settings
Contracts
• Web of Applications
  –Sharing Contract
  –Picker Contract
  –Search Contract
  –More!
What is Windows Runtime ?
• OO API for writing Metro style applications
• Written in native C++
• Tuned for performance
• Supports type reflection through metadata
• Supports many languages though
  projections
• Part of Windows, build each time OS is
  compiled
Language Support
• 29 apps in total
• In Dev Preview:              C# XAML
                                5 apps
   – 75% JS,                           C++
                                    DirectX 2
   – 17% C#,                          apps

   – 8% C++          JS HTML
                     22 apps
Windows Runtime
Is .NET dead ?
.NET Framework 4.5
• Preinstalled in Windows 8
• No support for Windows XP
WinRT vs Silverlight
• Type comparison




                  1582
                       WinRT
                       4396
            SL5
            607
WinRT vs Silverlight
• Member                      4222
  comparison


                      WinRT
                     SL5
                      10375

               651
.NET Metro Profile
•   Subset of Client Profile
•   No Remoting
•   No System.Data
•   No System.Web
•   No server side WCF
•   No private reflection, no Emit
•   Some API only in async version
DEMO – METRO IN C++
What is included in WinRT ?
Windows::UI
• Comparable set to
  Silverlight
• Lots of new
  controls:
   – WebView
   – MediaElement
   – MediaPlayer
   – GridView
   – FlipView
   – ApplicationBar
Windows::UI:Input
• Gone
  – Mouse events
  – Touch events
  – Stylus events
• Still There
  – Keyboard events
  – Manipulation events
• New
  – Pointer events
  – Tap, DoubleTab, RightTap
Windows::UI::Media::Animations::Transition

• Transitions for UIElement, Panel,
  ContentControl, and ItemsControl
   – Entrance Transition
   – Reposition Transition
   – Reorder Transition
   – AddDelete Transitions
   – Content Transitions
Windows::Storage::Pickers
• 2 types of pickers:
   – File Picker
   – Folder Picker
• Your app can show
  its content in
  either of these
  pickers
DEMO – METRO IN C#
Custom WinRT objects
• Share objects across all languages
• Languages
  – C++/CX : speed
  – C#/VB : Ease of use
• Restrictions apply
  – Sealed classes
  – Exposed through an interface
  – Public API can only expose WinRT objects
DEMO – WINRT OBJECT IN C#
Application Execution Environment
        Your App


                                    Direct API calls
                    WinRT
 App.exe
                     APIs                              OS
                            Brokered
                                           Broker
                            API calls
App Container +
Signed & verified code
Process state transition

 Running    Suspending   Suspended
  App         Resuming      App




            Terminated
               App
What is not supported ? 
• No { DynamicResource }
• Poor WritableBitmap
• Poor data binding
• No default implementation for
  IObservableVector<T>
• 2 manifestations of INPC
• No overlapping windows (no
  MessageBox)
Common pitfals 
• Code behind namespaces
• XAML namespaces
• DP
  Custom controls and styles
•xmlns:views=”using:My.Custom.Views”
• ObservableCollection
Getting Windows 8 Dev Prev
• Windows 8 Developer Preview with
  developer tools English, 64-bit (x64)
  – 4.8 GB – DVD dual layer or pendrive 8GB
  – VS 2011 Express
  – Blend 5 Preview (Works only with HTML5/CSS)
• Windows 8 Developer Preview English, 64-bit
• Windows 8 Developer Preview English, 32-bit
• Visual Studio 2011 Ultimate Dev Prev
Reference
• MSDN Metro Guide:
  – http://msdn.microsoft.com/en-us/windows/apps
• Building Windows 8 Blog:
  – http://blogs.msdn.com/b/b8/
• BUILD Videos:
  – http://www.buildwindows.com/
• WinRT Transitions
  – http://bit.ly/vZU4fd
• WinRT vs SL5 comparison
  – http://bit.ly/spEtNE
Piotr Włodek
       mail:      piotr.wlodek@gmail.com
       blog:      http://pwlodek.blogspot.com
       twitter:   @pwlodek

Contenu connexe

Tendances (7)

RPA by TestComplete
RPA by TestCompleteRPA by TestComplete
RPA by TestComplete
 
A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0
A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0
A Sneak Peek At Visual Studio 2010 And .Net Framework 4.0
 
C# and dot net framework
C# and dot net frameworkC# and dot net framework
C# and dot net framework
 
Microsoft .Net Technology
Microsoft .Net TechnologyMicrosoft .Net Technology
Microsoft .Net Technology
 
O futuro do .NET : O que eu preciso saber
O futuro do .NET : O que eu preciso saberO futuro do .NET : O que eu preciso saber
O futuro do .NET : O que eu preciso saber
 
Make sure your code works
Make sure your code worksMake sure your code works
Make sure your code works
 
Dot Net Introduction
Dot Net IntroductionDot Net Introduction
Dot Net Introduction
 

En vedette

New print opportunities_nade_conference_2011
New print opportunities_nade_conference_2011New print opportunities_nade_conference_2011
New print opportunities_nade_conference_2011Christine Canet
 
Troytech 640 407 ccna edt.2
Troytech 640 407 ccna edt.2Troytech 640 407 ccna edt.2
Troytech 640 407 ccna edt.2rickybcool
 
FORATS I MOVIMENT P3A BLAUS
FORATS I MOVIMENT P3A BLAUS FORATS I MOVIMENT P3A BLAUS
FORATS I MOVIMENT P3A BLAUS escolalasinia
 
Interviewing a diplomatic
Interviewing a diplomaticInterviewing a diplomatic
Interviewing a diplomaticAna Luna
 
El treball de l'empatia...
El treball de l'empatia...El treball de l'empatia...
El treball de l'empatia...escolalasinia
 
Images representing theme
Images representing themeImages representing theme
Images representing theme16aeyc
 
Ilustracions textos guanaydors Sant Jordi 2013
Ilustracions textos guanaydors Sant Jordi 2013Ilustracions textos guanaydors Sant Jordi 2013
Ilustracions textos guanaydors Sant Jordi 2013escolalasinia
 
Teknik riset operasi ppt.1
Teknik riset operasi ppt.1Teknik riset operasi ppt.1
Teknik riset operasi ppt.1Imhaa Blue
 
Net markit business model presentation
Net markit business model presentationNet markit business model presentation
Net markit business model presentationAmit Goyal
 
Troy tech 640 507 ccna 2.0 edt.3
Troy tech 640 507 ccna 2.0 edt.3Troy tech 640 507 ccna 2.0 edt.3
Troy tech 640 507 ccna 2.0 edt.3rickybcool
 
Analisis desain sistem informasi ppt.3
Analisis desain sistem informasi ppt.3Analisis desain sistem informasi ppt.3
Analisis desain sistem informasi ppt.3Imhaa Blue
 
Teknik riset operasi ppt.5
Teknik riset operasi ppt.5Teknik riset operasi ppt.5
Teknik riset operasi ppt.5Imhaa Blue
 
Obesity in America
Obesity in AmericaObesity in America
Obesity in Americascorpiohobo
 
Analisis desain sistem informasi ppt.1
Analisis desain sistem informasi ppt.1Analisis desain sistem informasi ppt.1
Analisis desain sistem informasi ppt.1Imhaa Blue
 

En vedette (20)

New print opportunities_nade_conference_2011
New print opportunities_nade_conference_2011New print opportunities_nade_conference_2011
New print opportunities_nade_conference_2011
 
El Montcau
El MontcauEl Montcau
El Montcau
 
Pitch
PitchPitch
Pitch
 
Presentacio 4 t
Presentacio 4 tPresentacio 4 t
Presentacio 4 t
 
Troytech 640 407 ccna edt.2
Troytech 640 407 ccna edt.2Troytech 640 407 ccna edt.2
Troytech 640 407 ccna edt.2
 
FORATS I MOVIMENT P3A BLAUS
FORATS I MOVIMENT P3A BLAUS FORATS I MOVIMENT P3A BLAUS
FORATS I MOVIMENT P3A BLAUS
 
Interviewing a diplomatic
Interviewing a diplomaticInterviewing a diplomatic
Interviewing a diplomatic
 
El treball de l'empatia...
El treball de l'empatia...El treball de l'empatia...
El treball de l'empatia...
 
Images representing theme
Images representing themeImages representing theme
Images representing theme
 
Ilustracions textos guanaydors Sant Jordi 2013
Ilustracions textos guanaydors Sant Jordi 2013Ilustracions textos guanaydors Sant Jordi 2013
Ilustracions textos guanaydors Sant Jordi 2013
 
Teknik riset operasi ppt.1
Teknik riset operasi ppt.1Teknik riset operasi ppt.1
Teknik riset operasi ppt.1
 
Net markit business model presentation
Net markit business model presentationNet markit business model presentation
Net markit business model presentation
 
Troy tech 640 507 ccna 2.0 edt.3
Troy tech 640 507 ccna 2.0 edt.3Troy tech 640 507 ccna 2.0 edt.3
Troy tech 640 507 ccna 2.0 edt.3
 
Analisis desain sistem informasi ppt.3
Analisis desain sistem informasi ppt.3Analisis desain sistem informasi ppt.3
Analisis desain sistem informasi ppt.3
 
Teknik riset operasi ppt.5
Teknik riset operasi ppt.5Teknik riset operasi ppt.5
Teknik riset operasi ppt.5
 
Nig
NigNig
Nig
 
Obesity in America
Obesity in AmericaObesity in America
Obesity in America
 
Analisis desain sistem informasi ppt.1
Analisis desain sistem informasi ppt.1Analisis desain sistem informasi ppt.1
Analisis desain sistem informasi ppt.1
 
Os ppt.7
Os ppt.7Os ppt.7
Os ppt.7
 
Conte Aleph
Conte AlephConte Aleph
Conte Aleph
 

Similaire à Windows 8 Hot or Not

Win rt fundamentals
Win rt fundamentalsWin rt fundamentals
Win rt fundamentalsKevin Stumpf
 
Introduction to dot net framework by vaishali sahare [katkar]
Introduction to dot net framework by vaishali sahare [katkar]Introduction to dot net framework by vaishali sahare [katkar]
Introduction to dot net framework by vaishali sahare [katkar]vaishalisahare123
 
Windows 8 Development Stack
Windows 8 Development StackWindows 8 Development Stack
Windows 8 Development StackDev2
 
Dot net Online Training | .Net Training and Placement online
Dot net Online Training | .Net Training and Placement onlineDot net Online Training | .Net Training and Placement online
Dot net Online Training | .Net Training and Placement onlineGaruda Trainings
 
Titanium appcelerator kickstart
Titanium appcelerator kickstartTitanium appcelerator kickstart
Titanium appcelerator kickstartAlessio Ricco
 
Windows 8 for .NET Developers
Windows 8 for .NET DevelopersWindows 8 for .NET Developers
Windows 8 for .NET DevelopersMichael Collins
 
ITCamp 2012 - Raffaele Rialdi - Introduction to WinRT
ITCamp 2012 - Raffaele Rialdi - Introduction to WinRTITCamp 2012 - Raffaele Rialdi - Introduction to WinRT
ITCamp 2012 - Raffaele Rialdi - Introduction to WinRTITCamp
 
.Net overviewrajnish
.Net overviewrajnish.Net overviewrajnish
.Net overviewrajnishRajnish Kalla
 
.Net overview
.Net overview.Net overview
.Net overviewmadydud
 
Porting tometro
Porting tometroPorting tometro
Porting tometrodogra09
 
Windows 8 & JavaScript
Windows 8 & JavaScriptWindows 8 & JavaScript
Windows 8 & JavaScriptRobert MacLean
 
Microsoft .Net Framework
Microsoft .Net FrameworkMicrosoft .Net Framework
Microsoft .Net FrameworkRohit Rao
 
Learn the java basic programming with example and syntaxchapter1-part-b.pptx
Learn the java basic programming with example and syntaxchapter1-part-b.pptxLearn the java basic programming with example and syntaxchapter1-part-b.pptx
Learn the java basic programming with example and syntaxchapter1-part-b.pptxGaytriMate
 
ITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep dive
ITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep diveITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep dive
ITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep diveITCamp
 

Similaire à Windows 8 Hot or Not (20)

Win rt fundamentals
Win rt fundamentalsWin rt fundamentals
Win rt fundamentals
 
Introduction to dot net framework by vaishali sahare [katkar]
Introduction to dot net framework by vaishali sahare [katkar]Introduction to dot net framework by vaishali sahare [katkar]
Introduction to dot net framework by vaishali sahare [katkar]
 
Windows 8 Development Stack
Windows 8 Development StackWindows 8 Development Stack
Windows 8 Development Stack
 
Eco system apps
Eco system appsEco system apps
Eco system apps
 
Dot net Online Training | .Net Training and Placement online
Dot net Online Training | .Net Training and Placement onlineDot net Online Training | .Net Training and Placement online
Dot net Online Training | .Net Training and Placement online
 
Titanium appcelerator kickstart
Titanium appcelerator kickstartTitanium appcelerator kickstart
Titanium appcelerator kickstart
 
Windows 8 for .NET Developers
Windows 8 for .NET DevelopersWindows 8 for .NET Developers
Windows 8 for .NET Developers
 
ITCamp 2012 - Raffaele Rialdi - Introduction to WinRT
ITCamp 2012 - Raffaele Rialdi - Introduction to WinRTITCamp 2012 - Raffaele Rialdi - Introduction to WinRT
ITCamp 2012 - Raffaele Rialdi - Introduction to WinRT
 
Introduction to .NET Framework
Introduction to .NET FrameworkIntroduction to .NET Framework
Introduction to .NET Framework
 
.Net overviewrajnish
.Net overviewrajnish.Net overviewrajnish
.Net overviewrajnish
 
Geek a-paloozaaa metro-xaml_appdev
Geek a-paloozaaa metro-xaml_appdevGeek a-paloozaaa metro-xaml_appdev
Geek a-paloozaaa metro-xaml_appdev
 
.Net overview
.Net overview.Net overview
.Net overview
 
Porting tometro
Porting tometroPorting tometro
Porting tometro
 
Windows 8 & JavaScript
Windows 8 & JavaScriptWindows 8 & JavaScript
Windows 8 & JavaScript
 
Microsoft .Net Framework
Microsoft .Net FrameworkMicrosoft .Net Framework
Microsoft .Net Framework
 
Learn the java basic programming with example and syntaxchapter1-part-b.pptx
Learn the java basic programming with example and syntaxchapter1-part-b.pptxLearn the java basic programming with example and syntaxchapter1-part-b.pptx
Learn the java basic programming with example and syntaxchapter1-part-b.pptx
 
Asp dot net
Asp dot netAsp dot net
Asp dot net
 
Why Flutter.pdf
Why Flutter.pdfWhy Flutter.pdf
Why Flutter.pdf
 
ITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep dive
ITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep diveITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep dive
ITCamp 2013 - Raffaele Rialdi - Windows Runtime (WinRT) deep dive
 
Auto it - AnhPC
Auto it - AnhPCAuto it - AnhPC
Auto it - AnhPC
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 

Dernier (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 

Windows 8 Hot or Not

  • 1. Windows 8 Hot or Not Piotr Włodek
  • 2. Agenda Metro Charms Contracts WinRT App Execution Motion Summary Environment
  • 5. Metro Design • Typography • Motion • Content not Chrome
  • 7. Notification • Tile notification – Square or wide – Badge (number or glypth) • Toast notification – Standard toast, 7 sec (e-mail, IM, social media) – Long duration toast, 30 sec (person waiting) • Push notification – Windows Push Notification Services
  • 9. Charms • Search • Share • Start • Devices • Settings
  • 10. Contracts • Web of Applications –Sharing Contract –Picker Contract –Search Contract –More!
  • 11. What is Windows Runtime ? • OO API for writing Metro style applications • Written in native C++ • Tuned for performance • Supports type reflection through metadata • Supports many languages though projections • Part of Windows, build each time OS is compiled
  • 12. Language Support • 29 apps in total • In Dev Preview: C# XAML 5 apps – 75% JS, C++ DirectX 2 – 17% C#, apps – 8% C++ JS HTML 22 apps
  • 15. .NET Framework 4.5 • Preinstalled in Windows 8 • No support for Windows XP
  • 16. WinRT vs Silverlight • Type comparison 1582 WinRT 4396 SL5 607
  • 17. WinRT vs Silverlight • Member 4222 comparison WinRT SL5 10375 651
  • 18. .NET Metro Profile • Subset of Client Profile • No Remoting • No System.Data • No System.Web • No server side WCF • No private reflection, no Emit • Some API only in async version
  • 19. DEMO – METRO IN C++
  • 20. What is included in WinRT ?
  • 21. Windows::UI • Comparable set to Silverlight • Lots of new controls: – WebView – MediaElement – MediaPlayer – GridView – FlipView – ApplicationBar
  • 22. Windows::UI:Input • Gone – Mouse events – Touch events – Stylus events • Still There – Keyboard events – Manipulation events • New – Pointer events – Tap, DoubleTab, RightTap
  • 23. Windows::UI::Media::Animations::Transition • Transitions for UIElement, Panel, ContentControl, and ItemsControl – Entrance Transition – Reposition Transition – Reorder Transition – AddDelete Transitions – Content Transitions
  • 24. Windows::Storage::Pickers • 2 types of pickers: – File Picker – Folder Picker • Your app can show its content in either of these pickers
  • 25. DEMO – METRO IN C#
  • 26. Custom WinRT objects • Share objects across all languages • Languages – C++/CX : speed – C#/VB : Ease of use • Restrictions apply – Sealed classes – Exposed through an interface – Public API can only expose WinRT objects
  • 27. DEMO – WINRT OBJECT IN C#
  • 28. Application Execution Environment Your App Direct API calls WinRT App.exe APIs OS Brokered Broker API calls App Container + Signed & verified code
  • 29. Process state transition Running Suspending Suspended App Resuming App Terminated App
  • 30. What is not supported ?  • No { DynamicResource } • Poor WritableBitmap • Poor data binding • No default implementation for IObservableVector<T> • 2 manifestations of INPC • No overlapping windows (no MessageBox)
  • 31. Common pitfals  • Code behind namespaces • XAML namespaces • DP Custom controls and styles •xmlns:views=”using:My.Custom.Views” • ObservableCollection
  • 32. Getting Windows 8 Dev Prev • Windows 8 Developer Preview with developer tools English, 64-bit (x64) – 4.8 GB – DVD dual layer or pendrive 8GB – VS 2011 Express – Blend 5 Preview (Works only with HTML5/CSS) • Windows 8 Developer Preview English, 64-bit • Windows 8 Developer Preview English, 32-bit • Visual Studio 2011 Ultimate Dev Prev
  • 33. Reference • MSDN Metro Guide: – http://msdn.microsoft.com/en-us/windows/apps • Building Windows 8 Blog: – http://blogs.msdn.com/b/b8/ • BUILD Videos: – http://www.buildwindows.com/ • WinRT Transitions – http://bit.ly/vZU4fd • WinRT vs SL5 comparison – http://bit.ly/spEtNE
  • 34. Piotr Włodek  mail: piotr.wlodek@gmail.com  blog: http://pwlodek.blogspot.com  twitter: @pwlodek

Notes de l'éditeur

  1. Typography:Type is beautiful and can be functionalType’s placement builds visual hierarchyGenerally achieved with Segoe fontMotion:Consistent set of motions/animations brings the UI to lifeImprove perceived performanceContent:Your content is always the main focusBetter usage of space on both small and larger form factorsHonestyTouch firstHigh resolutionAuthentically DigitalStationary to ubiquitousDesktop PC:in one place with a clear start and finish timeSmartphone/tablet: anytime/anywhere (cloud),context-aware (aided by sensors like accelerometers, gyroscopes, and geolocators)Formal to casualDesktop PC:a formal start and finish time marked by booting up and shutting downSmartphone/tablet: instant-on/always-on (fast boot-up times),fills in-between moments like standing in line or watching TVArms-length to personalDesktop PC:literally an arms-length activitySmartphone/tablet: portable form factors,consumers keep close to their bodyAbstracted to physicalDesktop PC:mouse/keyboard paradigm relies on an abstracted interaction with contentSmartphone/tablet: touchscreensenable direct physical manipulation of contentCloud Integration-&gt; Tight integration with Azure for seamless computing between devices-&gt; Every app allocated small space in the cloud for settings-&gt; Authentication through Cloud/Live
  2. OO API for writing Metro style applicationsWritten in native C++Tuned for performance, every call is a v-table dispatch, every call which might take longer than 50ms is asyncModern unified type systemSupports type reflection through metadataSupports many languages though projectionsPart of Windows, build each time OS is compiledDesktop is fully supported, SL, WPF, everything is thereWinRT not for drivers developersTwo Tech stacks in Windows 8 – Desktop &amp; MetroDesktop-&gt; Same as for Windows 7 but with .NET 4.5 (async constructs)-&gt; Implies that all existing code will work as expected, and that you can take advantage of changes in .NET 4.5 (Developer Preview available now)Metro Overview-&gt; Scrapped: GDI, Win32, ATL, WPF, Silverlight in Metro-&gt; Reason: All content must be GPU-accelerated, Impossible to maintain equal API for each vertical-&gt; Equal footing for each tech – WinRTNew possibilities-&gt; While impossible to reuse old techs, idea is to facilitate migration of skills to WinRT and allow interop between the languages-&gt; WPF/SL skills migrate to XAML/C#/C++-&gt; Web skills (HTML5/JS/CSS) allow for easy creation of Web applications-&gt; Creation of Windows MD libraries – possible to call C++/C# libraries from Javascript-&gt; Renewed focus on C++ development – new tooling &amp; APIs-&gt; Blend 5 to support HTML5 &amp; XAML (C++,C#,VB)
  3. Why C++ - performance!!!
  4. Object oriented API for writing Metro style applicationsWritten in native C++Tuned for performance, every call is a v-table dispatch, every call which might take longer than 50ms is asyncModern unified type systemSupports type reflection through metadataSupports many languages though projectionsPart of Windows, build each time OS is compiledDesktop is fully supported, SL, WPF, everything is thereWinRT not for drivers developersTwo Tech stacks in Windows 8 – Desktop &amp; MetroDesktop-&gt; Same as for Windows 7 but with .NET 4.5 (async constructs)-&gt; Implies that all existing code will work as expected, and that you can take advantage of changes in .NET 4.5 (Developer Preview available now)Metro Overview-&gt; Scrapped: GDI, Win32, ATL, WPF, Silverlight in Metro-&gt; Reason: All content must be GPU-accelerated, Impossible to maintain equal API for each vertical-&gt; Equal footing for each tech – WinRTNew possibilities-&gt; While impossible to reuse old techs, idea is to facilitate migration of skills to WinRT and allow interop between the languages-&gt; WPF/SL skills migrate to XAML/C#/C++-&gt; Web skills (HTML5/JS/CSS) allow for easy creation of Web applications-&gt; Creation of Windows MD libraries – possible to call C++/C# libraries from Javascript-&gt; Renewed focus on C++ development – new tooling &amp; APIs-&gt; Blend 5 to support HTML5 &amp; XAML (C++,C#,VB)
  5. No, it is not!
  6. WebView – rendering HTML contentMedia Element/Player – Proper DX acceleration – no copying frames to DWMGridView – Clean organization of content w/ Semantic zoomFlipView – scrollable contentApplicationBar – top/bottom application bar
  7. Each transitions is an animation that the WinRT framework plays in response to certain ‘events’.EntranceThemeTransition – item gracefuly slides in