AG • Focus on – Mobile & web-based application architectures – Interoperability, cross-device – Pragmatic end-to-end solutions • Microsoft MVP for ASP.NET (Architecture) ASP.NET Web API / vNext Advisory Board Member ASPInsider, AzureInsider • Google GDE for AngularJS • http://blogs.thinktecture.com/cweyer [email protected] @christianweyer 2
But what is mobile-first, anyway? – Mobile lifestyle & work – Data & processes travel – Reach • We need UX & technologies to realize the Continuous Screen – Adaptive user interfaces with optimized user experience – Ideally, with one code base & target architecture 6
– Or TypeScript for – well… - types • AngularJS as application framework: MVVM & components – Alternatives like EmberJS, KnockoutJS;; ReactJS • UX: Common-base layout system – Bootstrap or more app-like UX frameworks like WinJS or Material 15
with JavaScript • We can have IntelliSense with JavaScript • We can debug & profile JavaScript • We can use JavaScript for real-time 3D • We can have a fresh look at JavaScript – Upcoming ECMAScript6 is a big leap forward – TypeScript accepted by competitors 16
JavaScript SPA framework – Tries to take away complexities – Prepares the way for component-based apps • Focus on separation of concerns with patterns – Dependency injection & Services – ViewModels – Views – Directives 17
create native apps from HTML5/JS codebase – Wrapping your HTML5 code into native app shell – Hook into platform features & events with APIs – Extend app functionality with plugins • CLI tools for project automation • Still needs native SDKs 19
interface used across all platforms – Native implementations with platform-specific plugin interfaces • Installation via CLI • Configuration via config.xml • AngularJS integration via ng-cordova 21
Visual Studio 2015 • Easy to setup – Takes care of all necessary dependenices in one installer • Offers project template to integrate with Cordova • Debug Windows Store, Windows Phone, Android, and iOS straight from VS 22
similar approach as Cordova but aiming at desktop applications – Windows, Linux, MacOS X • Uses specific version of Chromium and node.js/io.js – Deploy independent from installed browsers 23
Safari Web Inspector or Google Chrome to debug HTML5/JS code – On simulator/emulator or device • Other remote debugging tools like Weinre (local/Cloud) available 24
in browser (primarily) • Build native apps with gulp tasks using Cordova CLI & nw.js commands • One HTML5 code base results in various platform binaries – „With a single mouse click“ – erm: batch file J 27
• HTML/JavaScript-based frameworks like AngularJS enable real applications based on browser technologies • Cordova & nw.js offer platform & tools for native integration & deployment • Secure target architecture with Web APIs, Push services and authorization servers as a base 29