SlideShare uma empresa Scribd logo
1 de 62
http://netponto.org

Windows 8.1 with HTML5/JS
Alexandre Marreiros

44ª Reunião Presencial @ LISBOA
DateTime.Parse(“18-01-2014", new CultureInfo("pt-PT"));

hashtag #netponto
About / Contact
Alexandre Marreiros
Who
–
–
–
–
–
–

CTO @ Innovagency
Software Dev/Arch as Independent
Technical Trainer and Speaker as Independent
Technical Writer
UX Consultant
Lecturer@ EDIT

Contact
– amarreiros@gmail.com
– @alexmarreiros
– Digitalmindignition.com
Agenda
– Windows 8.1 Platform / API
– Windows 8.1 Tech view HTML 5 vs XAML
– Windows 8.1 And Windows Phone 8
– Windows 8.1 Tech view HTML
Windows 8.1 Store Apps
Windows 8.1 APIS
Windows 8.1 APIS

http://msdn.microsoft.com/en-us/library/windows/apps/bg182410.aspx
Windows 8.1 Store Apps Platform
Windows 8.1 & Windows Phone 8

http://www.bubblews.com/news/1730683-microsoft-to-combine-their-windows-8-and-windows-phone-app-stores
Windows 8.1 & Windows Phone 8

MSDN Magazine
Windows 8.1 & Windows Phone 8
Windows 8.1 & Windows Phone 8
Sharing technique

Separate UI and app logic using the Model-ViewViewModel pattern
Share functionality using Portable Class Libraries
Share code with Add as Link

Share using Windows Runtime Components

Sharing XAML UI

Conditional compilation with preprocessor directives

When to use

This guidance is applicable to many app types, but particularly to apps that have a XAML UI.
Separation allows you to write the app logic and to concentrate on user experience design
separately. An added benefit is that your app logic is more likely to be common for your app on
both platforms, and therefore is a great candidate for code sharing using the rest of the
techniques described here. Model-View-ViewModel (MVVM) is a great way to achieve this
separation.
Windows Phone 8 and Windows 8 share the same .NET Framework engine. In a XAML app, most
of your app logic will be written in managed code. If you are using the MVVM design pattern, you
have the potential to share your viewmodel and potentially your model. Note that Portable Class
Libraries are a .NET Framework concept and don’t support C++.
Use this technique for code that is non-portable and therefore can’t be implemented in a
Portable Class Library. For example, Windows Phone 8 and Windows 8 can use the common
Windows Runtime API surface to harness the power of each platform for networking, proximity,
in-app purchase, and many other features. Portable Class Libraries don’t support Windows
Runtime API. Instead, you can abstract this non-portable code, which is common to both
platforms, into a class that can be shared using Add as Link in Visual Studio. In C++ projects files
are added to projects as linked files by default.
In addition to consuming the common Windows Runtime API available on both platforms, you
can write your own Windows Runtime Component to make your functionality available in all
supported languages. This can be written in C++ and consumed by C# or VB. This is a very useful
technique for language interoperability or for when you want to write compute-intensive code in
C++ and use it in all languages.
The UI in Windows Phone 8 and Windows 8 is written in XAML. However, the XAML
implementations are not portable between the platforms. But you can isolate some of your
custom basic UI building blocks into UserControls and share those classes as linked files that will
be compiled for each platform. This technique is limited and should be used only for simple,
reusable parts of your UI. The core of your UI should be built and tailored separately for each
platform.
If you have functionality that’s implemented differently for Windows Phone 8 and Windows 8,
you can use conditional compilation to compile the code suitably for each platform. You can’t use
conditional compilation in a Portable Class Library.
Windows 8.1 & Windows Phone 8
Windows 8.1 & Windows Phone 8
Windows Phone 8

View technologies

Windows 8.1
Windows 8.1 & Windows Phone 8

WP 8 APP

W 8 APP based on
HTML 5
Windows 8.1 & Windows Phone 8
Windows 8.1 & Windows Phone 8

But today we will not talk about responsive or cross device development or pattern’s, just want that you
keep in mind that there are diferences and even if we want a ap for wp and windowa we can still use HTML
5 in Windows. Becouse even using xaml we may not have/want a total app reuse.
Windows 8.1 With HTML
“It also means that you’ll be able to leverage existing investments in JavaScript libraries and CSS
template repositories: writing a native app doesn’t force you to switch frameworks or engage in
expensive porting work. That said, it is also possible to use multiple languages to write an app,
leveraging the dynamic nature of JavaScript for app logic while leveraging languages like C# and
C++ for more computationally intensive tasks”

Kraig Brockschmidt
Windows 8.1 With HTML
- Reuse already tested front end code ( Forms, animations);
- Explore CSS, HTML & JS flexibility
- Reuse KB from the past

- Adoption in app development of Professionals with a estetical, UX and
ergonomic sense
Windows 8.1 With HTML
Other platforms that run HTML and JavaScript
native:
• FirefoxOS
• WebOS
Windows 8.1 With HTML
Windows 8.1 With HTML
Popular features of CSS 3 are well supported in Windows 8.1
Windows 8.1 With HTML
Popular features of HTML 5 are well supported in Windows 8.1
Windows 8.1 With HTML

Windows
Windows 8.1 With HTML
HTML 5 based Windows
Store Apps Container
Windows 8.1 With HTML
WINJS is a collection of toolkits to make building Windows Store apps fast and
easy

Windows 8 app

Windows 8.1 app

WinJS 1.0

WinJS 2.0
Windows 8.1 With HTML
WinJS controls declaration
<div id="calendar" data-win-control="WinJS.UI.DatePicker"></div>

 Declarative Way
WinJS controls are divs with
atributtes that are processed
when the processall method
runs.

In the HTML File
<div id="calendarDiv" ></div>
In th JS file
var calendarDiv = document.getElementById("calendar");
var calendarctrl = new WinJS.UI.DatePicker(calendarDiv);

 Imperative Way
Windows 8.1 With HTML
We can use any javascript framework once she
run on Internet Explorer 11
Windows 8.1 With HTML
Tools
Windows 8.1 With HTML
Visual Studio offers a set of template to make easy to start a project
Windows 8.1 With HTML
Visual Studio project struture
WINRT library instaciated directly by
the app
Windows 8.1 With HTML
CSS Libraries for the Windows store
app
Windows Store App Images

JavaScript
Windows 8.1 With HTML
App certify
App Manifest
Windows 8.1 With HTML
WinJS 2.0 what’s new

Improved Controls

Infrastructure

• List view

• Scheduler

• App bar

• Dispose model
• Async debugging

New Controls

Building Blocks

• Hub

• Binding template

• Navigation bar

• Repeater

• Search box

• Item Container

• Back button
Windows 8.1 With HTML
Windows 8.1 With HTML
Windows 8.1 With HTML
Windows 8.1 With HTML
Windows 8.1 With HTML
Windows 8.1 With HTML

Conider the declaration of a list
Windows 8.1 With HTML

Define the list Template
Windows 8.1 With HTML
Windows 8.1 With HTML
• ListView Changes
• Hub Control

• WebView Control
Are 3 controls that worth also a view let’s see this 3 in
action
Windows 8.1 With HTML
Windows 8.1 With HTML

Prior to Windows 8.1 you only had Iframes as a way to embeb external sites
Full reference about WebView http://blogs.windows.com/windows/b/appbuilder/archive/2013/07/17/what-snew-in-webview-in-windows-8-1.aspx
Windows 8.1 With HTML
Windows 8.1 With HTML
Windows 8.1 With HTML
Recomended

Article for the ones starting to debug Windows 8 .1 HTMl store APPs with visual Studio 2013

http://msdn.microsoft.com/en-us/library/windows/apps/hh441474(v=vs.120).aspx
Windows 8.1 With HTML
Windows 8.1 With HTML
Beware
Windows 8.1 With HTML
Beware
Recap
References
- Programming Windows Store Apps With HTML, CSS and Javascript Second Edition, Microsoft Press
- Windows 8.1 Controls - Windows Store Apps with HTML5 Refresh (http://www.youtube.com/watch?v=Drkh8Pb2li4)
- HTML Controls for Windows Store APPS (http://msdn.microsoft.com/en-us/library/windows/apps/bg182879.aspx)
- API changes for Windows 8.1 (http://msdn.microsoft.com/en-us/library/windows/apps/dn263112.aspx)
- Windows Dsev Center (http://msdn.microsoft.com/en-US/windows/apps/br211386)
- Windows 8.1 Store apps starter pack with canonical samples (http://code.msdn.microsoft.com/windowsapps/Windows-8Modern-Style-App-Samples)
- Building Windows Store 8.1 apps using HTML, CSS and JavaScript @Channel 9
(http://channel9.msdn.com/Events/TechDays/TechDays-13-Basel/Building-Windows-Store-8-1-apps-using-HTML-CSS-andJavaScript)
Onlne Live event : Windows 8.1 Developer Training: Geek Edition @ Microsoft Academy
(http://www.microsoftvirtualacademy.com/liveevents/windows-8-1-developer-training-geek-edition#?fbid=E0I-ctThA1I)
Contacts
– amarreiros@gmail.com
– @alexmarreiros
– Digitalmindignition.com

http://www.sprintfeed.com/2011/10/introducing-its-your-turn/

Questions
Próximas reuniões presenciais
23/11/2013 – Novembro (Lisboa)
30/11/2013 – Novembro (Porto)
14/12/2013 – Dezembro (Lisboa)
18/01/2014 – Janeiro (Lisboa)

Reserva estes dias na agenda! :)
Patrocinadores “GOLD”

Twitter: @PTMicrosoft http://www.microsoft.com/portugal
Patrocinadores “GOLD”

Twitter: @nokia

http://www.nokia.com
Patrocinadores “Silver”
Patrocinadores “Bronze”
Próximas reuniões presenciais
18/01/2014 – Janeiro (Lisboa)
01/02/2014 – Hackathon! (Lisboa)
22/02/2014 – Fevereiro (Lisboa)
22/03/2014 – Março (Lisboa)
12/04/2014 – SQL Saturday! (Lisboa)
19/04/2014 – Abril (Lisboa)

Reserva estes dias na agenda! :)

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Introduction to vb.net
Introduction to vb.netIntroduction to vb.net
Introduction to vb.net
 
Html 5
Html 5Html 5
Html 5
 
Sharbani bhattacharya Visual Basic
Sharbani bhattacharya Visual BasicSharbani bhattacharya Visual Basic
Sharbani bhattacharya Visual Basic
 
Vb.net ide
Vb.net ideVb.net ide
Vb.net ide
 
Introduction to UWP - Universal Windows Platform Application Development
Introduction to UWP - Universal Windows Platform Application DevelopmentIntroduction to UWP - Universal Windows Platform Application Development
Introduction to UWP - Universal Windows Platform Application Development
 
Asp notes
Asp notesAsp notes
Asp notes
 
Introduction to Magento - KNOWARTH
Introduction to Magento - KNOWARTHIntroduction to Magento - KNOWARTH
Introduction to Magento - KNOWARTH
 
Vc++ 3
Vc++ 3Vc++ 3
Vc++ 3
 
Universal windows platform - Application development done right
Universal windows platform - Application development done rightUniversal windows platform - Application development done right
Universal windows platform - Application development done right
 
C# p1
C# p1C# p1
C# p1
 
Understanding IDEs
Understanding IDEsUnderstanding IDEs
Understanding IDEs
 
Introduction to universal windows platform(uwp) app development
Introduction to universal windows platform(uwp) app developmentIntroduction to universal windows platform(uwp) app development
Introduction to universal windows platform(uwp) app development
 
Presentation[1]
Presentation[1]Presentation[1]
Presentation[1]
 
Web development tool
Web development toolWeb development tool
Web development tool
 
Visual basic 6
Visual basic 6Visual basic 6
Visual basic 6
 
Joomla 3 - An overview
Joomla 3 - An overviewJoomla 3 - An overview
Joomla 3 - An overview
 
Visual Studio
Visual StudioVisual Studio
Visual Studio
 
Windows 8
Windows 8Windows 8
Windows 8
 
Asp.net
Asp.netAsp.net
Asp.net
 
Vbasic
VbasicVbasic
Vbasic
 

Destaque

Big & machine learning
Big & machine learningBig & machine learning
Big & machine learningDaniel Devera
 
"Estratégia para “Responsive UX”"- #7 Industry Sessions by EDIT. / UX & Resp...
"Estratégia para “Responsive UX”"-  #7 Industry Sessions by EDIT. / UX & Resp..."Estratégia para “Responsive UX”"-  #7 Industry Sessions by EDIT. / UX & Resp...
"Estratégia para “Responsive UX”"- #7 Industry Sessions by EDIT. / UX & Resp...EDIT. - Disruptive Digital Education
 
Compreender UX & Responsive Design - #8 Industry Sessions by EDIT. | UX & Res...
Compreender UX & Responsive Design - #8 Industry Sessions by EDIT. | UX & Res...Compreender UX & Responsive Design - #8 Industry Sessions by EDIT. | UX & Res...
Compreender UX & Responsive Design - #8 Industry Sessions by EDIT. | UX & Res...EDIT. - Disruptive Digital Education
 
Responsive Assets: Flower Power use case - #7 Industry Sessions by EDIT. | UX...
Responsive Assets: Flower Power use case - #7 Industry Sessions by EDIT. | UX...Responsive Assets: Flower Power use case - #7 Industry Sessions by EDIT. | UX...
Responsive Assets: Flower Power use case - #7 Industry Sessions by EDIT. | UX...EDIT. - Disruptive Digital Education
 
Pragmatic Responsive web design systems - #7 Industry Sessions by EDIT. | UX...
Pragmatic Responsive web design systems -  #7 Industry Sessions by EDIT. | UX...Pragmatic Responsive web design systems -  #7 Industry Sessions by EDIT. | UX...
Pragmatic Responsive web design systems - #7 Industry Sessions by EDIT. | UX...EDIT. - Disruptive Digital Education
 
Jws masterclass progressive web apps
Jws masterclass progressive web appsJws masterclass progressive web apps
Jws masterclass progressive web appsAlexandre Marreiros
 
UX Origens - #12 Industry Sessions by EDIT. | UX & Responsive Design
UX Origens - #12 Industry Sessions by EDIT. | UX & Responsive DesignUX Origens - #12 Industry Sessions by EDIT. | UX & Responsive Design
UX Origens - #12 Industry Sessions by EDIT. | UX & Responsive DesignEDIT. - Disruptive Digital Education
 
UX Inclusivo: Criar experiências acessíveis a todos - #12 Industry Sessions b...
UX Inclusivo: Criar experiências acessíveis a todos - #12 Industry Sessions b...UX Inclusivo: Criar experiências acessíveis a todos - #12 Industry Sessions b...
UX Inclusivo: Criar experiências acessíveis a todos - #12 Industry Sessions b...EDIT. - Disruptive Digital Education
 
O poder do Storytelling: da prototipagem à experiência final - #8 Industry Se...
O poder do Storytelling: da prototipagem à experiência final - #8 Industry Se...O poder do Storytelling: da prototipagem à experiência final - #8 Industry Se...
O poder do Storytelling: da prototipagem à experiência final - #8 Industry Se...EDIT. - Disruptive Digital Education
 
E-commerce and Marketing Challenges for New Emerging Economies - #11 Industry...
E-commerce and Marketing Challenges for New Emerging Economies - #11 Industry...E-commerce and Marketing Challenges for New Emerging Economies - #11 Industry...
E-commerce and Marketing Challenges for New Emerging Economies - #11 Industry...EDIT. - Disruptive Digital Education
 
Industry Sessios by EDIT. - Talk #1 - João Vitória e Filipa Sarmento
Industry Sessios by EDIT. - Talk #1 - João Vitória e Filipa SarmentoIndustry Sessios by EDIT. - Talk #1 - João Vitória e Filipa Sarmento
Industry Sessios by EDIT. - Talk #1 - João Vitória e Filipa SarmentoEDIT. - Disruptive Digital Education
 
Bad UX Kills People - #12 Industry Sessions by EDIT. | UX & Responsive Design
Bad UX Kills People - #12 Industry Sessions by EDIT. | UX & Responsive DesignBad UX Kills People - #12 Industry Sessions by EDIT. | UX & Responsive Design
Bad UX Kills People - #12 Industry Sessions by EDIT. | UX & Responsive DesignEDIT. - Disruptive Digital Education
 
2008 Benefit St RISD Fair
2008 Benefit St RISD Fair2008 Benefit St RISD Fair
2008 Benefit St RISD FairJohn Maeda
 
Industry Sessios by EDIT. - Talk #2 - Diogo Silva & Roberto Cortez
Industry Sessios by EDIT. - Talk #2 - Diogo Silva & Roberto CortezIndustry Sessios by EDIT. - Talk #2 - Diogo Silva & Roberto Cortez
Industry Sessios by EDIT. - Talk #2 - Diogo Silva & Roberto CortezEDIT. - Disruptive Digital Education
 
O segredo para um Marketing Digital eficaz - #11 Industry Sessions by EDIT. |...
O segredo para um Marketing Digital eficaz - #11 Industry Sessions by EDIT. |...O segredo para um Marketing Digital eficaz - #11 Industry Sessions by EDIT. |...
O segredo para um Marketing Digital eficaz - #11 Industry Sessions by EDIT. |...EDIT. - Disruptive Digital Education
 

Destaque (20)

Big & machine learning
Big & machine learningBig & machine learning
Big & machine learning
 
We are Pixelmatters: Creating a culture of excellence
We are Pixelmatters: Creating a culture of excellenceWe are Pixelmatters: Creating a culture of excellence
We are Pixelmatters: Creating a culture of excellence
 
"Estratégia para “Responsive UX”"- #7 Industry Sessions by EDIT. / UX & Resp...
"Estratégia para “Responsive UX”"-  #7 Industry Sessions by EDIT. / UX & Resp..."Estratégia para “Responsive UX”"-  #7 Industry Sessions by EDIT. / UX & Resp...
"Estratégia para “Responsive UX”"- #7 Industry Sessions by EDIT. / UX & Resp...
 
Mobile Thinking
Mobile ThinkingMobile Thinking
Mobile Thinking
 
Compreender UX & Responsive Design - #8 Industry Sessions by EDIT. | UX & Res...
Compreender UX & Responsive Design - #8 Industry Sessions by EDIT. | UX & Res...Compreender UX & Responsive Design - #8 Industry Sessions by EDIT. | UX & Res...
Compreender UX & Responsive Design - #8 Industry Sessions by EDIT. | UX & Res...
 
Responsive Assets: Flower Power use case - #7 Industry Sessions by EDIT. | UX...
Responsive Assets: Flower Power use case - #7 Industry Sessions by EDIT. | UX...Responsive Assets: Flower Power use case - #7 Industry Sessions by EDIT. | UX...
Responsive Assets: Flower Power use case - #7 Industry Sessions by EDIT. | UX...
 
Pragmatic Responsive web design systems - #7 Industry Sessions by EDIT. | UX...
Pragmatic Responsive web design systems -  #7 Industry Sessions by EDIT. | UX...Pragmatic Responsive web design systems -  #7 Industry Sessions by EDIT. | UX...
Pragmatic Responsive web design systems - #7 Industry Sessions by EDIT. | UX...
 
Moche vs Meo Sudoeste - Talkfest'15
Moche vs Meo Sudoeste - Talkfest'15Moche vs Meo Sudoeste - Talkfest'15
Moche vs Meo Sudoeste - Talkfest'15
 
Listening on the Social Web: How To Make Sense of all the Noise
Listening on the Social Web: How To Make Sense of all the NoiseListening on the Social Web: How To Make Sense of all the Noise
Listening on the Social Web: How To Make Sense of all the Noise
 
Jws masterclass progressive web apps
Jws masterclass progressive web appsJws masterclass progressive web apps
Jws masterclass progressive web apps
 
UX Origens - #12 Industry Sessions by EDIT. | UX & Responsive Design
UX Origens - #12 Industry Sessions by EDIT. | UX & Responsive DesignUX Origens - #12 Industry Sessions by EDIT. | UX & Responsive Design
UX Origens - #12 Industry Sessions by EDIT. | UX & Responsive Design
 
Industry Sessios by EDIT. - Talk #2 - Andreia Santos
Industry Sessios by EDIT. - Talk #2 - Andreia Santos Industry Sessios by EDIT. - Talk #2 - Andreia Santos
Industry Sessios by EDIT. - Talk #2 - Andreia Santos
 
UX Inclusivo: Criar experiências acessíveis a todos - #12 Industry Sessions b...
UX Inclusivo: Criar experiências acessíveis a todos - #12 Industry Sessions b...UX Inclusivo: Criar experiências acessíveis a todos - #12 Industry Sessions b...
UX Inclusivo: Criar experiências acessíveis a todos - #12 Industry Sessions b...
 
O poder do Storytelling: da prototipagem à experiência final - #8 Industry Se...
O poder do Storytelling: da prototipagem à experiência final - #8 Industry Se...O poder do Storytelling: da prototipagem à experiência final - #8 Industry Se...
O poder do Storytelling: da prototipagem à experiência final - #8 Industry Se...
 
E-commerce and Marketing Challenges for New Emerging Economies - #11 Industry...
E-commerce and Marketing Challenges for New Emerging Economies - #11 Industry...E-commerce and Marketing Challenges for New Emerging Economies - #11 Industry...
E-commerce and Marketing Challenges for New Emerging Economies - #11 Industry...
 
Industry Sessios by EDIT. - Talk #1 - João Vitória e Filipa Sarmento
Industry Sessios by EDIT. - Talk #1 - João Vitória e Filipa SarmentoIndustry Sessios by EDIT. - Talk #1 - João Vitória e Filipa Sarmento
Industry Sessios by EDIT. - Talk #1 - João Vitória e Filipa Sarmento
 
Bad UX Kills People - #12 Industry Sessions by EDIT. | UX & Responsive Design
Bad UX Kills People - #12 Industry Sessions by EDIT. | UX & Responsive DesignBad UX Kills People - #12 Industry Sessions by EDIT. | UX & Responsive Design
Bad UX Kills People - #12 Industry Sessions by EDIT. | UX & Responsive Design
 
2008 Benefit St RISD Fair
2008 Benefit St RISD Fair2008 Benefit St RISD Fair
2008 Benefit St RISD Fair
 
Industry Sessios by EDIT. - Talk #2 - Diogo Silva & Roberto Cortez
Industry Sessios by EDIT. - Talk #2 - Diogo Silva & Roberto CortezIndustry Sessios by EDIT. - Talk #2 - Diogo Silva & Roberto Cortez
Industry Sessios by EDIT. - Talk #2 - Diogo Silva & Roberto Cortez
 
O segredo para um Marketing Digital eficaz - #11 Industry Sessions by EDIT. |...
O segredo para um Marketing Digital eficaz - #11 Industry Sessions by EDIT. |...O segredo para um Marketing Digital eficaz - #11 Industry Sessions by EDIT. |...
O segredo para um Marketing Digital eficaz - #11 Industry Sessions by EDIT. |...
 

Semelhante a Windows8.1 html5 dev paradigm discussion netponto

Maximizing code reuse between Windows Phone 8 and Windows 8 (DevTeach Toronto...
Maximizing code reuse between Windows Phone 8 and Windows 8 (DevTeach Toronto...Maximizing code reuse between Windows Phone 8 and Windows 8 (DevTeach Toronto...
Maximizing code reuse between Windows Phone 8 and Windows 8 (DevTeach Toronto...Ken Cenerelli
 
Difference between .net and asp.net all you need to know
Difference between .net and asp.net  all you need to knowDifference between .net and asp.net  all you need to know
Difference between .net and asp.net all you need to knowsophiaaaddison
 
European SharePoint Conference: Mobile Applications for SharePoint using HTML5
European SharePoint Conference: Mobile Applications for SharePoint using HTML5European SharePoint Conference: Mobile Applications for SharePoint using HTML5
European SharePoint Conference: Mobile Applications for SharePoint using HTML5Christian Heindel
 
Over view of Technologies
Over view of TechnologiesOver view of Technologies
Over view of TechnologiesChris Mitchell
 
Develop an app for Windows 8 using HTML5
Develop an app for Windows 8 using HTML5Develop an app for Windows 8 using HTML5
Develop an app for Windows 8 using HTML5Soumow Dollon
 
Introducing the Windows Phone 8.1 App Development Platform
Introducing the Windows Phone 8.1 App Development PlatformIntroducing the Windows Phone 8.1 App Development Platform
Introducing the Windows Phone 8.1 App Development PlatformMariano Sánchez
 
Mobile applications for SharePoint using HTML5
Mobile applications for SharePoint using HTML5Mobile applications for SharePoint using HTML5
Mobile applications for SharePoint using HTML5Christian Heindel
 
Top 11 Front-End Web Development Tools To Consider in 2020
 Top 11 Front-End Web Development Tools To Consider in 2020 Top 11 Front-End Web Development Tools To Consider in 2020
Top 11 Front-End Web Development Tools To Consider in 2020Katy Slemon
 
Windows phone 8 overview
Windows phone 8 overviewWindows phone 8 overview
Windows phone 8 overviewcodeblock
 
Xe OneDay - Modernizing Enterprise Apps
Xe OneDay - Modernizing Enterprise AppsXe OneDay - Modernizing Enterprise Apps
Xe OneDay - Modernizing Enterprise AppsMirco Vanini
 
Online advertising management system
Online advertising management systemOnline advertising management system
Online advertising management systemYesu Raj
 
Online advertising management system
Online advertising management systemOnline advertising management system
Online advertising management systemYesu Raj
 
How to modernise WPF and Windows Forms applications with Windows Apps SDK
How to modernise WPF and Windows Forms applications with Windows Apps SDKHow to modernise WPF and Windows Forms applications with Windows Apps SDK
How to modernise WPF and Windows Forms applications with Windows Apps SDKMirco Vanini
 
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013John Garland
 
Developing Windows 10 Hosted Web Apps
Developing Windows 10 Hosted Web AppsDeveloping Windows 10 Hosted Web Apps
Developing Windows 10 Hosted Web AppsChris Dufour
 
Windows store app development V1
Windows store app development V1Windows store app development V1
Windows store app development V1Foyzul Karim
 

Semelhante a Windows8.1 html5 dev paradigm discussion netponto (20)

Windows8.1overviewnetponto
Windows8.1overviewnetpontoWindows8.1overviewnetponto
Windows8.1overviewnetponto
 
Maximizing code reuse between Windows Phone 8 and Windows 8 (DevTeach Toronto...
Maximizing code reuse between Windows Phone 8 and Windows 8 (DevTeach Toronto...Maximizing code reuse between Windows Phone 8 and Windows 8 (DevTeach Toronto...
Maximizing code reuse between Windows Phone 8 and Windows 8 (DevTeach Toronto...
 
Difference between .net and asp.net all you need to know
Difference between .net and asp.net  all you need to knowDifference between .net and asp.net  all you need to know
Difference between .net and asp.net all you need to know
 
European SharePoint Conference: Mobile Applications for SharePoint using HTML5
European SharePoint Conference: Mobile Applications for SharePoint using HTML5European SharePoint Conference: Mobile Applications for SharePoint using HTML5
European SharePoint Conference: Mobile Applications for SharePoint using HTML5
 
Over view of Technologies
Over view of TechnologiesOver view of Technologies
Over view of Technologies
 
Develop an app for Windows 8 using HTML5
Develop an app for Windows 8 using HTML5Develop an app for Windows 8 using HTML5
Develop an app for Windows 8 using HTML5
 
Introducing the Windows Phone 8.1 App Development Platform
Introducing the Windows Phone 8.1 App Development PlatformIntroducing the Windows Phone 8.1 App Development Platform
Introducing the Windows Phone 8.1 App Development Platform
 
Mobile applications for SharePoint using HTML5
Mobile applications for SharePoint using HTML5Mobile applications for SharePoint using HTML5
Mobile applications for SharePoint using HTML5
 
Introduction to asp
Introduction to aspIntroduction to asp
Introduction to asp
 
Top 11 Front-End Web Development Tools To Consider in 2020
 Top 11 Front-End Web Development Tools To Consider in 2020 Top 11 Front-End Web Development Tools To Consider in 2020
Top 11 Front-End Web Development Tools To Consider in 2020
 
Windows phone 8 overview
Windows phone 8 overviewWindows phone 8 overview
Windows phone 8 overview
 
Xe OneDay - Modernizing Enterprise Apps
Xe OneDay - Modernizing Enterprise AppsXe OneDay - Modernizing Enterprise Apps
Xe OneDay - Modernizing Enterprise Apps
 
Online advertising management system
Online advertising management systemOnline advertising management system
Online advertising management system
 
Online advertising management system
Online advertising management systemOnline advertising management system
Online advertising management system
 
How to modernise WPF and Windows Forms applications with Windows Apps SDK
How to modernise WPF and Windows Forms applications with Windows Apps SDKHow to modernise WPF and Windows Forms applications with Windows Apps SDK
How to modernise WPF and Windows Forms applications with Windows Apps SDK
 
Windows 8 App Development
Windows 8 App DevelopmentWindows 8 App Development
Windows 8 App Development
 
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013
Nashua Cloud .NET User Group - Basic WP8 App Dev With XAML and C#, April 2013
 
Developing Windows 10 Hosted Web Apps
Developing Windows 10 Hosted Web AppsDeveloping Windows 10 Hosted Web Apps
Developing Windows 10 Hosted Web Apps
 
Asp.netrole
Asp.netroleAsp.netrole
Asp.netrole
 
Windows store app development V1
Windows store app development V1Windows store app development V1
Windows store app development V1
 

Mais de Alexandre Marreiros

Xamarin devdays 2017 - PT - connected apps
Xamarin devdays 2017 - PT - connected appsXamarin devdays 2017 - PT - connected apps
Xamarin devdays 2017 - PT - connected appsAlexandre Marreiros
 
ASP.NEt MVC and Angular What a couple
ASP.NEt MVC and Angular What a coupleASP.NEt MVC and Angular What a couple
ASP.NEt MVC and Angular What a coupleAlexandre Marreiros
 
Quick View of Angular JS for High School
Quick View of Angular JS for High SchoolQuick View of Angular JS for High School
Quick View of Angular JS for High SchoolAlexandre Marreiros
 
Pt xug xamarin pratices on big ui consumer apps
Pt xug  xamarin pratices on big ui consumer appsPt xug  xamarin pratices on big ui consumer apps
Pt xug xamarin pratices on big ui consumer appsAlexandre Marreiros
 
Gab2015 azure search as a service
Gab2015 azure search as a serviceGab2015 azure search as a service
Gab2015 azure search as a serviceAlexandre Marreiros
 
Pragmatic responsive web design industry session 7
Pragmatic responsive web design   industry session 7Pragmatic responsive web design   industry session 7
Pragmatic responsive web design industry session 7Alexandre Marreiros
 
Universal Apps Development using HTML 5 and WINJS
Universal Apps Development using HTML 5 and WINJSUniversal Apps Development using HTML 5 and WINJS
Universal Apps Development using HTML 5 and WINJSAlexandre Marreiros
 
Mobile first responsive industry sessions
Mobile first responsive industry sessionsMobile first responsive industry sessions
Mobile first responsive industry sessionsAlexandre Marreiros
 
Microsoft PT TechRefresh html win8.1
Microsoft PT TechRefresh html win8.1 Microsoft PT TechRefresh html win8.1
Microsoft PT TechRefresh html win8.1 Alexandre Marreiros
 

Mais de Alexandre Marreiros (20)

Agular fromthetrenches2netponto
Agular fromthetrenches2netpontoAgular fromthetrenches2netponto
Agular fromthetrenches2netponto
 
Whats a Chat bot
Whats a Chat botWhats a Chat bot
Whats a Chat bot
 
Type of angular 2
Type of angular 2Type of angular 2
Type of angular 2
 
Xamarin devdays 2017 - PT - connected apps
Xamarin devdays 2017 - PT - connected appsXamarin devdays 2017 - PT - connected apps
Xamarin devdays 2017 - PT - connected apps
 
ASP.NEt MVC and Angular What a couple
ASP.NEt MVC and Angular What a coupleASP.NEt MVC and Angular What a couple
ASP.NEt MVC and Angular What a couple
 
Angular 2
Angular 2Angular 2
Angular 2
 
Xamarin.forms
Xamarin.forms Xamarin.forms
Xamarin.forms
 
Quick View of Angular JS for High School
Quick View of Angular JS for High SchoolQuick View of Angular JS for High School
Quick View of Angular JS for High School
 
Pt xug xamarin pratices on big ui consumer apps
Pt xug  xamarin pratices on big ui consumer appsPt xug  xamarin pratices on big ui consumer apps
Pt xug xamarin pratices on big ui consumer apps
 
Get satrted angular js day 2
Get satrted angular js day 2Get satrted angular js day 2
Get satrted angular js day 2
 
Get satrted angular js
Get satrted angular jsGet satrted angular js
Get satrted angular js
 
Gab2015 azure search as a service
Gab2015 azure search as a serviceGab2015 azure search as a service
Gab2015 azure search as a service
 
Pragmatic responsive web design industry session 7
Pragmatic responsive web design   industry session 7Pragmatic responsive web design   industry session 7
Pragmatic responsive web design industry session 7
 
Boot strapandresponsiveintro
Boot strapandresponsiveintroBoot strapandresponsiveintro
Boot strapandresponsiveintro
 
WebSite development using WinJS
WebSite development using WinJSWebSite development using WinJS
WebSite development using WinJS
 
Universal Apps Development using HTML 5 and WINJS
Universal Apps Development using HTML 5 and WINJSUniversal Apps Development using HTML 5 and WINJS
Universal Apps Development using HTML 5 and WINJS
 
GWAB Mobile Services
GWAB Mobile ServicesGWAB Mobile Services
GWAB Mobile Services
 
Html5ignition newweborder
Html5ignition newweborderHtml5ignition newweborder
Html5ignition newweborder
 
Mobile first responsive industry sessions
Mobile first responsive industry sessionsMobile first responsive industry sessions
Mobile first responsive industry sessions
 
Microsoft PT TechRefresh html win8.1
Microsoft PT TechRefresh html win8.1 Microsoft PT TechRefresh html win8.1
Microsoft PT TechRefresh html win8.1
 

Último

My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 

Último (20)

My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 

Windows8.1 html5 dev paradigm discussion netponto

  • 1. http://netponto.org Windows 8.1 with HTML5/JS Alexandre Marreiros 44ª Reunião Presencial @ LISBOA DateTime.Parse(“18-01-2014", new CultureInfo("pt-PT")); hashtag #netponto
  • 2. About / Contact Alexandre Marreiros Who – – – – – – CTO @ Innovagency Software Dev/Arch as Independent Technical Trainer and Speaker as Independent Technical Writer UX Consultant Lecturer@ EDIT Contact – amarreiros@gmail.com – @alexmarreiros – Digitalmindignition.com
  • 3. Agenda – Windows 8.1 Platform / API – Windows 8.1 Tech view HTML 5 vs XAML – Windows 8.1 And Windows Phone 8 – Windows 8.1 Tech view HTML
  • 7. Windows 8.1 Store Apps Platform
  • 8. Windows 8.1 & Windows Phone 8 http://www.bubblews.com/news/1730683-microsoft-to-combine-their-windows-8-and-windows-phone-app-stores
  • 9. Windows 8.1 & Windows Phone 8 MSDN Magazine
  • 10. Windows 8.1 & Windows Phone 8
  • 11. Windows 8.1 & Windows Phone 8 Sharing technique Separate UI and app logic using the Model-ViewViewModel pattern Share functionality using Portable Class Libraries Share code with Add as Link Share using Windows Runtime Components Sharing XAML UI Conditional compilation with preprocessor directives When to use This guidance is applicable to many app types, but particularly to apps that have a XAML UI. Separation allows you to write the app logic and to concentrate on user experience design separately. An added benefit is that your app logic is more likely to be common for your app on both platforms, and therefore is a great candidate for code sharing using the rest of the techniques described here. Model-View-ViewModel (MVVM) is a great way to achieve this separation. Windows Phone 8 and Windows 8 share the same .NET Framework engine. In a XAML app, most of your app logic will be written in managed code. If you are using the MVVM design pattern, you have the potential to share your viewmodel and potentially your model. Note that Portable Class Libraries are a .NET Framework concept and don’t support C++. Use this technique for code that is non-portable and therefore can’t be implemented in a Portable Class Library. For example, Windows Phone 8 and Windows 8 can use the common Windows Runtime API surface to harness the power of each platform for networking, proximity, in-app purchase, and many other features. Portable Class Libraries don’t support Windows Runtime API. Instead, you can abstract this non-portable code, which is common to both platforms, into a class that can be shared using Add as Link in Visual Studio. In C++ projects files are added to projects as linked files by default. In addition to consuming the common Windows Runtime API available on both platforms, you can write your own Windows Runtime Component to make your functionality available in all supported languages. This can be written in C++ and consumed by C# or VB. This is a very useful technique for language interoperability or for when you want to write compute-intensive code in C++ and use it in all languages. The UI in Windows Phone 8 and Windows 8 is written in XAML. However, the XAML implementations are not portable between the platforms. But you can isolate some of your custom basic UI building blocks into UserControls and share those classes as linked files that will be compiled for each platform. This technique is limited and should be used only for simple, reusable parts of your UI. The core of your UI should be built and tailored separately for each platform. If you have functionality that’s implemented differently for Windows Phone 8 and Windows 8, you can use conditional compilation to compile the code suitably for each platform. You can’t use conditional compilation in a Portable Class Library.
  • 12. Windows 8.1 & Windows Phone 8
  • 13. Windows 8.1 & Windows Phone 8 Windows Phone 8 View technologies Windows 8.1
  • 14. Windows 8.1 & Windows Phone 8 WP 8 APP W 8 APP based on HTML 5
  • 15. Windows 8.1 & Windows Phone 8
  • 16. Windows 8.1 & Windows Phone 8 But today we will not talk about responsive or cross device development or pattern’s, just want that you keep in mind that there are diferences and even if we want a ap for wp and windowa we can still use HTML 5 in Windows. Becouse even using xaml we may not have/want a total app reuse.
  • 17. Windows 8.1 With HTML “It also means that you’ll be able to leverage existing investments in JavaScript libraries and CSS template repositories: writing a native app doesn’t force you to switch frameworks or engage in expensive porting work. That said, it is also possible to use multiple languages to write an app, leveraging the dynamic nature of JavaScript for app logic while leveraging languages like C# and C++ for more computationally intensive tasks” Kraig Brockschmidt
  • 18. Windows 8.1 With HTML - Reuse already tested front end code ( Forms, animations); - Explore CSS, HTML & JS flexibility - Reuse KB from the past - Adoption in app development of Professionals with a estetical, UX and ergonomic sense
  • 19. Windows 8.1 With HTML Other platforms that run HTML and JavaScript native: • FirefoxOS • WebOS
  • 21.
  • 22.
  • 23.
  • 24. Windows 8.1 With HTML Popular features of CSS 3 are well supported in Windows 8.1
  • 25. Windows 8.1 With HTML Popular features of HTML 5 are well supported in Windows 8.1
  • 26. Windows 8.1 With HTML Windows
  • 27. Windows 8.1 With HTML HTML 5 based Windows Store Apps Container
  • 28. Windows 8.1 With HTML WINJS is a collection of toolkits to make building Windows Store apps fast and easy Windows 8 app Windows 8.1 app WinJS 1.0 WinJS 2.0
  • 29. Windows 8.1 With HTML WinJS controls declaration <div id="calendar" data-win-control="WinJS.UI.DatePicker"></div>  Declarative Way WinJS controls are divs with atributtes that are processed when the processall method runs. In the HTML File <div id="calendarDiv" ></div> In th JS file var calendarDiv = document.getElementById("calendar"); var calendarctrl = new WinJS.UI.DatePicker(calendarDiv);  Imperative Way
  • 30. Windows 8.1 With HTML We can use any javascript framework once she run on Internet Explorer 11
  • 31. Windows 8.1 With HTML Tools
  • 32. Windows 8.1 With HTML Visual Studio offers a set of template to make easy to start a project
  • 33. Windows 8.1 With HTML Visual Studio project struture WINRT library instaciated directly by the app
  • 34. Windows 8.1 With HTML CSS Libraries for the Windows store app Windows Store App Images JavaScript
  • 35. Windows 8.1 With HTML App certify App Manifest
  • 36. Windows 8.1 With HTML WinJS 2.0 what’s new Improved Controls Infrastructure • List view • Scheduler • App bar • Dispose model • Async debugging New Controls Building Blocks • Hub • Binding template • Navigation bar • Repeater • Search box • Item Container • Back button
  • 42. Windows 8.1 With HTML Conider the declaration of a list
  • 43. Windows 8.1 With HTML Define the list Template
  • 45. Windows 8.1 With HTML • ListView Changes • Hub Control • WebView Control Are 3 controls that worth also a view let’s see this 3 in action
  • 47. Windows 8.1 With HTML Prior to Windows 8.1 you only had Iframes as a way to embeb external sites Full reference about WebView http://blogs.windows.com/windows/b/appbuilder/archive/2013/07/17/what-snew-in-webview-in-windows-8-1.aspx
  • 50. Windows 8.1 With HTML Recomended Article for the ones starting to debug Windows 8 .1 HTMl store APPs with visual Studio 2013 http://msdn.microsoft.com/en-us/library/windows/apps/hh441474(v=vs.120).aspx
  • 52. Windows 8.1 With HTML Beware
  • 53. Windows 8.1 With HTML Beware
  • 54. Recap
  • 55. References - Programming Windows Store Apps With HTML, CSS and Javascript Second Edition, Microsoft Press - Windows 8.1 Controls - Windows Store Apps with HTML5 Refresh (http://www.youtube.com/watch?v=Drkh8Pb2li4) - HTML Controls for Windows Store APPS (http://msdn.microsoft.com/en-us/library/windows/apps/bg182879.aspx) - API changes for Windows 8.1 (http://msdn.microsoft.com/en-us/library/windows/apps/dn263112.aspx) - Windows Dsev Center (http://msdn.microsoft.com/en-US/windows/apps/br211386) - Windows 8.1 Store apps starter pack with canonical samples (http://code.msdn.microsoft.com/windowsapps/Windows-8Modern-Style-App-Samples) - Building Windows Store 8.1 apps using HTML, CSS and JavaScript @Channel 9 (http://channel9.msdn.com/Events/TechDays/TechDays-13-Basel/Building-Windows-Store-8-1-apps-using-HTML-CSS-andJavaScript) Onlne Live event : Windows 8.1 Developer Training: Geek Edition @ Microsoft Academy (http://www.microsoftvirtualacademy.com/liveevents/windows-8-1-developer-training-geek-edition#?fbid=E0I-ctThA1I)
  • 56. Contacts – amarreiros@gmail.com – @alexmarreiros – Digitalmindignition.com http://www.sprintfeed.com/2011/10/introducing-its-your-turn/ Questions
  • 57. Próximas reuniões presenciais 23/11/2013 – Novembro (Lisboa) 30/11/2013 – Novembro (Porto) 14/12/2013 – Dezembro (Lisboa) 18/01/2014 – Janeiro (Lisboa) Reserva estes dias na agenda! :)
  • 58. Patrocinadores “GOLD” Twitter: @PTMicrosoft http://www.microsoft.com/portugal
  • 62. Próximas reuniões presenciais 18/01/2014 – Janeiro (Lisboa) 01/02/2014 – Hackathon! (Lisboa) 22/02/2014 – Fevereiro (Lisboa) 22/03/2014 – Março (Lisboa) 12/04/2014 – SQL Saturday! (Lisboa) 19/04/2014 – Abril (Lisboa) Reserva estes dias na agenda! :)

Notas do Editor

  1. Explain: APP BAR NAV BARBackButton HUB controlListViewControlRepeaterWebview in thepastweonlyhaveiframe (independentnavigationstacklike a browser runing in theapp sport a stringsourcegood to readbadwebservices)