tales of two brothers

20
Tales of Two Brothers Building windows apps with AngularJS and WinJS Fiyaz Hasan Ex–MSP (AUST)

Upload: fiyaz-hasan

Post on 13-Apr-2017

434 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Tales of Two Brothers

Tales of Two BrothersBuilding windows apps with AngularJS and WinJS

Fiyaz HasanEx–MSP (AUST)

Page 2: Tales of Two Brothers

WHY JAVASCRIPT?

#SPEEDY#EVERYBODY’S DOING

IT!#EASY

Page 3: Tales of Two Brothers

JAVASCRIPT EVERYWHERE!

Page 4: Tales of Two Brothers

Visual Studio Templates for JavaScript

STORE PHONEUNIVERSAL

Page 5: Tales of Two Brothers
Page 6: Tales of Two Brothers

Skype Music Seattle Sounders FC Songza

Applications Built with WinJS

Page 7: Tales of Two Brothers

HELLO FROM WINJS

Page 8: Tales of Two Brothers

Demo Creating an array of data Create a namespace to store the DataSource Define a WinJS list view Define template for the listview Attach DataSource Create a simple AppBar

Page 9: Tales of Two Brothers
Page 10: Tales of Two Brothers

Use WinJS in Web Apps!npm

Bower

NuGet

> npm install winjs

> bower install winjs

> Install-Package winjs

Page 11: Tales of Two Brothers
Page 12: Tales of Two Brothers

Meet the Super Hero! MV* Declarative user interface Less code Flexibility Unit testable

Page 13: Tales of Two Brothers

Installnpm

Bower

NuGet

> npm install angular

> bower install angular

> Install-Package angularjs

Page 14: Tales of Two Brothers

Hello From Angular

Page 15: Tales of Two Brothers

JavaScript Dynamic Content shim for Windows Store apps

https://github.com/MSOpenTech/winstore-jscompat

Page 16: Tales of Two Brothers

DEMO Install Angular with NuGet Add JSCompact Build Service Build Controller Attach Main Module See the Magic

Page 17: Tales of Two Brothers
Page 18: Tales of Two Brothers

WHAT IF I WANT BOTH OF THOSE?

https://github.com/codemonkeychris/angular-winjs

Page 19: Tales of Two Brothers

Important Links

https://github.com/winjs/winjs - WinJS GitHub Repository

https://dev.windows.com/en-us/develop/winjs - WinJS Getting Started

http://try.buildwinjs.com/#play - Try WinJS

http://channel9.msdn.com/Series/Windows-Store-apps-for-Absolute-Beginners-with-JavaScript-

Windows Store apps for Absolute Beginners with JavaScript

Page 20: Tales of Two Brothers