5

I see a lot of C#/XAML resources out there, but I'm wondering if there are any resources for HTML/CSS/JavaScript version on writing Windows 8 Metro apps?

By resources, I mean any of these:

  • tutorials
  • lessons
  • sessions
  • videos
  • sample apps (highly desired!)
  • forums
  • etc

Specifically for actually building Metro apps using HTML/CSS/JavaScript.

I don't see many sample apps using HTML/CSS/JavaScript out there..

To start things off, I have the obvious ones:

1
  • 2
    Seriously? Almost all the resources out there are for JS instead of XAML Commented Feb 1, 2012 at 12:37

2 Answers 2

3

For samples, you can start with http://code.msdn.microsoft.com/windowsapps/.

Note that you can narrow down your search criteria by selecting the desired language (this is present on the left pane).

For high level concepts and tutorials: http://msdn.microsoft.com/en-us/library/windows/apps

Javascript language reference: http://msdn.microsoft.com/en-us/library/windows/apps/d1et7k7c.aspx

Windows programming (UI) with Javascript: http://msdn.microsoft.com/en-us/library/windows/apps/br211669.aspx

Using WinJS controls (appbars etc.) http://msdn.microsoft.com/en-us/library/windows/apps/hh465493.aspx

HTML & CSS http://msdn.microsoft.com/en-us/library/windows/apps/br229576.aspx

Note that not all samples work correctly. They have several runtime issues, the most common one being that a call to "WinJS.ProcessAll" is missing (this is required for most of the winJS controls). Second one is that references to required JS files are missing. I will recommend starting with the 'quick start' link: http://msdn.microsoft.com/en-us/library/windows/apps/hh465493.aspx

Sign up to request clarification or add additional context in comments.

Comments

1
  1. 12 of the 17 chapters of the free ebook Programming Windows 8 Apps with HTML, CSS, and JavaScript from MS Press are available for previewing. The complete book will be released on 26th Oct, 2012

  2. The PDF version of the Apress book Metro Revealed: Building Windows 8 Apps with HTML5 and JavaScript by Adam Freeman is available as a free download from Microsoft

  3. Jeff Brand has written a nice article series on building a Metro-style HTML/JavaScript app on Windows 8. The articles are short, simple & well-written. The content is also available in video format.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.