With the release of Windows 8, Microsoft has delivered a rich client application platform that is both powerful and approachable. Apps on this platform install easily and uninstall cleanly. They run in a single window that fills the entire screen by default. They automatically work with a variety of input sources, including touch, pen, mouse, and keyboard. Instead of static icons, they use live tiles that can display notifications. Best of all, these apps can be written using HTML5, CSS, and JavaScript.
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Windows 8 - The JavaScript Story
1.
2.
3.
4.
5. Designed from the chipset up so people can choose
and seamlessly use the devices they love – whether
it’s a portable tablet or an amazing all-in-one
Windows Store on every device creates customer
confidence in apps, new opportunity for developers
6. Windows Store Apps: Apps Take Center Stage
Users can search within your app from anywhere
21. Feature Local context Web context
Windows Runtime Yes No
Windows Library for JavaScript Yes Partial
JavaScript
No Yes
URIs(attribute="javascript:code")
Data URIs ("data:" ) for fonts No Yes
External script references (<script
No Yes
src="http://*" /> )
window.close Yes No
Cross-domain XHR requests Yes No
What you’ve seen is Windows Reimagined.Let me explain what Windows re-imagined means:A new UI where touch is a first-class citizen along with full mouse-and-keyboard supportSupports a new range of scenarios from traditional computing to mobileBased on the new Microsoft design principlesdo more with less, be fast and fluid, authentically digitalDesigned from the chipset up for multiple form-factors, including tablets, laptops, desktops & all-in-onesRe-architected from the chipset up for both Intel and ARMWindows Store on every device with full payments support and flexibility It has everything you would expect from a modern app store, including a curated experience, full commerce experience, and installation on every devicePlus it supports a wide range of business models with flexible payment options and the best economicsTalk more later in the deckNew development models built on WinRT, including native support for HTML/CSS/JS, C#/XAML, C++/DirectXEnables many developers to leverage the skills and assets they already know and haveEmphasize HTML/JS as a truly native option, separate from the hybrid model used in other platforms. On W8 HTML/JS == native.
You are here !! The focus will be HTML/JS… Click… But do remember WInRT is helping.. And is available to provide infrastructure.. We will see a little bit of WinRT in action in some demos
Demonstratecontoso recipes application Show the use of the module pattern in javascript… Show the use of a promise.. Show the navigation Show the WinJS.application object To see all of these, it is trivial to do a search on the solution for //DEMO:WinJS and you will be able to see areas to set breakpoints for discussion..
Demonstratecontoso recipes application Show the use of the module pattern in javascript… Show the use of a promise.. Show the navigation Show the WinJS.application object To see all of these, it is trivial to do a search on the solution for //DEMO:WinJS and you will be able to see areas to set breakpoints for discussion..
If you prefer to use your own library, you can. As long as your app is compliant with Metro SDK, you will be fine.. At build, we explicitly wrote a sample (finance) using jQuery… It works very well.. If you are bringing your own library, here is the advice that I can give you:Mix & Match works fine. WinJS does a lot of things well, such as simplifying the object model, wrappers for file system, implementing the promise pattern, etc.. Use WinJS for all of that.. Use your favorite library for everything else, but do try to adhere to the Metro UI and the Windows personality. Your users will appreciate it if you do..
When your app moves out of the foreground, Windows waits for a few seconds to allow quick switching back to the app, then tries to suspend the app. Your app must be registered for the suspending or checkpoint (JavaScript) events, which it receives when Windows wants to suspend it. This is an important time for your app; use this opportunity to save app data that must be kept in persistent storage. Usually, your app is resumed as is, and you won’t need your persisted data because they are still in memory. But you need to store this data in case Windows terminates your app to free system resources. Save enough app data to bring users back to the place in your app where they were when the app was suspended. This way, your customers perceive your app as always alive and running.
Demonstratecontoso recipes application Show the use of the module pattern in javascript… Show the use of a promise.. Show the navigation Show the WinJS.application object To see all of these, it is trivial to do a search on the solution for //DEMO:WinJS and you will be able to see areas to set breakpoints for discussion..
Demonstratecontoso recipes application Show the use of the module pattern in javascript… Show the use of a promise.. Show the navigation Show the WinJS.application object To see all of these, it is trivial to do a search on the solution for //DEMO:WinJS and you will be able to see areas to set breakpoints for discussion..