Coding For a Living

rss

A place to share and comment about coding for a living.


Free Book - Programming Windows Store Apps Mike McIntyre

10/29/2013 Microsoft Press has released the second edition of Kraig Brocksmidt’s in-depth book: Programming Windows Store Apps in HTML, CSS, and JavaScript, Second Edition.image

Ken says: “In celebration of the one-year anniversary of this book’s first edition, I’m delighted to offer you this second preview of Programming Windows Store Apps in HTML, CSS, and JavaScript, Second Edition. It’s been a huge year for both the book and the platform that it supports. With the general availability of Windows 8.1 earlier this month (October 2013), the capabilities of the Windows platform have grown dramatically, which is clearly in evidence by the expanded size of this second edition! Even in this preview (12 chapters and three appendices), the book is not far from the length of the first edition, and there are still eight chapters (and one appendix) to go. Nevertheless, it’s my pleasure to provide you with a comprehensive volume on Microsoft’s latest operating system.”

Download the free e-book here: Programming Windows Store Apps with HTML, CSS, and JavaScript, Second Edition


Windows 8.1 Hub Control Mike McIntyre

New in Window 8.1 is the JavaScript UI Hub control that provides a hierarchical system of navigation based on the hub pattern.

imageWith the Hub control you can create a hub page.

This pattern is best for apps with large content collections or many distinct sections of content for a user to explore.

The essence of hub design is the separation of content into different sections and different levels of detail. Hub pages are the user's entry point to the app. Here content is displayed in a horizontally or vertically panning view that enables users to get a glimpse of what's new and available. The hub consists of different categories of content, each of which maps to the app's section pages. Each section should bubble up content or functionality. The hub should offer a lot of visual variety, engage users, and draw them in to different parts of the app.


Windows 8.1 Back Button Mike McIntyre

Windows 8.1 includes the new Back button control. The BackButton provides a way for you to add backward navigation to your app.

<button data-win-control="WinJS.UI.BackButton" >button>

You don't have to write any code.  The BackButton automatically checks the navigation stack to determine whether the user can navigate backwards. If there is nothing to navigate back to, the button disables itself. When the user clicks the button or uses keyboard shortcuts (such as Alt+Left or the BrowserBack keys), it automatically calls the WinJS.Navigation.back function to navigate backwards.


A Better Windows 8 Mike McIntyre

 

Windows 8.1, a free upgrade for Windows 8 users, has features to make it more familiar to users of previous versions of Windows plus new features and functionality.

The Windows 8.1 update was released last Thursday, October 17, 2013.

It is a free download available from the Windows Store.

image 


Opening the black box with Microsoft® Roslyn Mike McIntyre

image 

Until now the VB and C# compilers have been black boxes, un accessible to Microsoft.Net developers.

Enter Microsoft Roslyn, “a set of APIs for exposing the Microsoft C# and Visual Basic .NET compilers as services available at runtime.”

This software is currently available as a community technology preview (CTP).

Roslyn can be imagined as a “compiler as a Windows service” which VB and C# developers can access through the new Roslyn APIs.

It allows the entire compile-execute process to be invoked from within .Net applications to, for example, give VB and C# a dynamic languages ability to generate and invoke code at runtime.

Or, how about incorporating Roslyn into a .NET application that accepts user input then uses Roslyn APIs to process the input (remember how good old class VB could evaluate a string?)

Roslyn is powerful but you won’t know how powerful it is until you try it out yourself.

Download it today!


Responsive and Modern UI with CSS for WinJS Apps Mike McIntyre

Rachel Apel has written a concise easy to understand article about building a responsive and modern UI with CSS for WinJS apps.

 

The Windows Library for JavaScript is a library of CSS and JavaScript files. It contains JavaScript objects, organized into namespaces, designed to make developing Windows Store app using JavaScript easier. Windows Library for JavaScript includes objects that help you handle activation, access storage, and define your own classes and namespaces.

 

In Rachel's article includes plenty of good examples of markup, designer, and code which show how CSS for WinJs apps can be used to create a modern responsive design.

 

Read the article: Build a Responsive and Modern UI with CSS for WinJS Apps