Microsoft MVC bloggers

Sponsors

Browse by Tags

All Tags » Windows Web Applications (RSS)
Sorry, but there are no more tags available to filter with.
Windows Web Applications: Understanding CSS Media Queries
If you are building a Windows Web Application then your application needs to look great when used on a wide variety of devices. Your application needs to work on tiny little phones, slates, desktop monitors, and the super high resolution displays of the future. Your application also must support portable devices used with different orientations. [...] Read More...
Windows Web Applications: Using Templates
The goal of this blog post is to describe how templates work in the WinJS library. In particular, you learn how to use a template to display both a single item and an array of items. You also learn how to load a template from an external file. Why use Templates? Imagine that you want [...] Read More...
Windows Web Applications: Declarative Data Binding
The goal of this blog post is to describe how declarative data binding works in the WinJS library. In particular, you learn how to use both the data-win-bind and data-win-bindsource attributes. You also learn how to use calculated properties and converters to format the value of a property automatically when performing data binding. By taking [...] Read More...
Windows Web Applications: Understanding Observables
The goal of this blog entry is to describe how the Observer Pattern is implemented in the WinJS library. You learn how to create observable objects which trigger notifications automatically when their properties are changed. Observables enable you to keep your user interface and your application data in sync. For example, by taking advantage of [...] Read More...
Windows Web Applications: Understanding the default.js File
The goal of this blog entry is to describe — in painful detail — the contents of the default.js file in a Windows Web Application. When you use Visual Studio to create a new Windows Web Application then you get a default.js file automatically. The file is located in a folder named \js\default.js. The default.js [...] Read More...
Windows Web Applications: Query Selectors
The goal of this blog entry is to explain how to perform queries using selectors when using the WinJS library. In particular, you learn how to use the WinJS.Utilities.query() method and the QueryCollection class to retrieve and modify the elements of an HTML document. Introduction to Selectors When you are building a Web application, you [...] Read More...
Windows Web Applications: Promises
The goal of this blog entry is to describe the Promise class in the WinJS library. You can use promises whenever you need to perform an asynchronous operation such as retrieving data from a remote website or a file from the file system. Promises are used extensively in the WinJS library. Asynchronous Programming Some code [...] Read More...
Windows Web Applications: Namespaces and Modules
The goal of this blog entry is to describe how you can use the Windows JavaScript (WinJS) library to create namespaces. In particular, you learn how to use the WinJS.Namespace.define() and WinJS.Namespace.defineWithParent() methods. You also learn how to hide private methods by using the module pattern. Why Do We Need Namespaces? Before we do anything [...] Read More...
Windows Web Applications: Objects, Inheritance, and Mixins
The goal of this blog entry is to explain how you can create new JavaScript objects when building a Windows Web Application. You learn how to use the WinJS.Class.define(), WinJS.Class.derive(), and WinJS.Class.mix() methods. All three methods are standard methods of the WinJS library. Before we discuss these three methods, we first do a quick review [...] Read More...
More Posts