Click here to Skip to main content
Click here to Skip to main content

Tagged as

Go to top

Part 1: My Experiments With Windows 8 – Getting started guide

, 7 Feb 2012
Rate this:
Please Sign up or sign in to vote.
Microsoft unveiled new Windows 8 operating system and new development improvements on September 13, 2011, day one of the BUILD developer conference. Microsoft released a developer preview of Windows 8 for the developer community to download and start working with.

Microsoft unveiled new Windows 8 operating system and new development improvements on September 13, 2011, day one of the BUILD developer conference. Microsoft released a developer preview of Windows 8 for the developer community to download and start working with. This developer preview includes tools for building "metro style apps", such as Microsoft Windows SDK, Microsoft Visual Studio 11 Express Developer Preview and Microsoft Expression Blend 5 developer preview. Microsoft has shown a development roadmap at the BUILD conference over the course of 3 days.

Downloading & Installing Windows 8

Note: The size of the Windows 8 ISO file is 4.8 GB which requires a large DVD format. You cannot use the normal DVD format as it is around 4.3 to 4.4 GB size only. The best option is to use the USB flash drive which is of size 5 GB or higher. Information to install Windows 8 using USB drive can be found at http://liliputing.com/2011/09/how-to-install-windows-8-using-a-usb-flash-drive.html.

Fig 1 showing my old dell laptop re-imaged with windows 8 developer preview operating system and my Windows 7 laptop side by side.

2012-02-04 18.02.55

Fig 2 showing my new Windows 8 start screen connected to my Twitter, Facebook, weather updates, blog updates and much more.

image

Windows 8 is the codename for the next version of the Microsoft Windows computer operating system following Windows 7. It adds support for ARM microprocessors in addition to the previously supported x86 microprocessors from Intel and AMD. A new Metro-style interface has been added that was designed for touchscreen input in addition to mouse, keyboard, and pen input. Its server version is codenamed Windows Server 8.

The cool feature is a new authentication method that allows users to sketch in three different places over the picture to login, instead of typing a password. Currently, I am using this feature to login to my machine.

Windows 8 contains a new user interface based on Microsoft’s design language named Metro. With the new change, the Start Menu was replaced in favor of the new Start Screen, where there are tiles that contain shortcuts to applications grouped by type, Metro style applications, and updating tiles as shown in the above Fig 1. Windows Explorer now uses a ribbon interface, similar to those used in Microsoft Office applications.

Observations of a developer

The languages that are directly supported by Microsoft for writing applications for Windows 8 are JavaScript and HTML, Visual Basic, C++, and C#, but there are many third party compilers which allow application development for the platform, for example, Free Pascal allows writing Object Pascal applications.

Fig 3 showing the screenshot of the Windows 8 Platform and tools snatched from the build conference.

image

We all know about desktop apps. Coming to the new Metro style App model, Metro is a code name for a typography-based design language created by Microsoft. Microsoft’s "re-imagining" of Windows 8 is focused very heavily on a new, Metro-style touch-based interface. You can switch between the simple Metro interface and the traditional Windows desktop to fit whatever your needs are at that given moment.

Metro Style Application

Windows 8 represents Microsoft’s first official entry into the tablet space, and the Metro UI is how developers deliver unique multi-touch experiences to this new platform. WinRT is the OOP replacement for Win32. A Metro Style Application is a full screen applications integrated according to user’s choice.

There are many features it integrates such as given below:

  • Immersive and Fluid: Your Metro style apps fill the entire screen for an engaging experience and saving you from any distraction. Apps can adapt to a variety of form factors and screen resolutions, and can work on x86, x64, and ARM platforms.
  • Engaging: Metro style apps engage users with the information they are interested in and the people they care about. Live tiles present activity updates to users at a glance and the Start screen shows off what apps are great at.
  • Everywhere: Your apps are ready for you on any Windows 8 PC you use. When you sign in with your connected Microsoft account to a PC running Windows 8, your Metro style apps and settings go with you. You’ll also be signed in to all of the websites you were signed in to.
  • Work Together: Metro style apps can communicate with each other in Windows 8, making it easier to search, share, and send content between them. So, if you want to send pictures in email, and they’re in different places like Facebook or on your hard drive, you can easily pick and send the ones you want.
  • Always On: Metro style apps run and stay up to date even when the PC is on standby. When Windows comes out of standby, your apps don’t need time to catch up.
  • Multitasking: While apps immerse your users in a full screen environment, Windows also makes it possible for them to multitask. The Snapped view allows users to do more than one thing at once while the Filled view allows users to snap one app and keep another app in the fill space.
Windows 8 Platform and tools

I think the below picture is a way more accurate picture of the Windows 8 platform architecture.

image

Information for Windows 8 software Development

  • Metro applications are now officially the first class applications that can fully leverage the touch features of Windows.
  • Expression Blend 5 now supports editing HTML5, much like you use it for editing XAML.
  • Support for Wide Variety of Hardware.
    • The hardware support for Windows 8 seems really awesome. The demo features Windows 8 running on a variety of hardware devices
    • New and improved features include
      • Multi monitor support with start button on all screens
      • Hyper V Support for client
      • USB 3 Support
      • Hardware acceleration for all applications
      • Malware detection in boot strap.
      • A boot mode called “Cold Boot“ which is super fast
  • Windows Live integration
    • The whole suite of Windows Live services are neatly integrated with Windows 8.
    • All the Windows Live applications (Mail, Calendar, Photos) are now developed in JavaScript/HTML5 and is native.
    • You can connect multiple devices via Windows Live
  • New APIs and Extension Points
    • Charms: Apps can share charms, to inter-operate. For example, an “Insert Picture” dialog box can show you results from other applications that can handle the image/picture data type.
    • Direct Compute API: Enables you to leverage the power of GPU in your applications
    • Sensor Fusion API: A Single API for all your sensors like Accelerometer, magnetometer and gyroscope.
  • To a great extent, your XAML assets can be reused across multiple devices – desktops, slates and phone.
  • Windows 8 Store.
    • Transparent approval process
    • Developers can publish applications right from Visual Studio.
  • If you want to build a new Metro style app, you have four options to choose from:
    1. XAML and .NET (C# or VB). You don’t have to giving up too much in the .NET Framework (remember, you only give up what is forbidden by the Application Container), and you get access to WinRT APIs for sensor input and other system resources.
    2. XAML and C++. You can use your skills in XAML and C++ in order to leverage (or even extend) WinRT. Of course you don’t get the benefit of the .NET Framework, but hey….some people like managing their own garbage collection.
    3. HTML and JavaScript. You can leverage the skills you have in UI layout, and make calls from JavaScript to WinRT for access to system resources, and sensor input. Which means you can now develop native Windows applications using JavaScript and HTML by accessing native WinRT APIs straight from Java script. This is particularly interesting because JavaScript development model suits a lot of cloud based applications, and now JS developers can develop first class Windows 8 applications.
    4. DirectX and C++. If you’re building an immersive game, you can use DirectX and access the device sensors and system resources through C++ and WinRT.

More on WinRT API’s, Metro, developer insights and sample code in the upcoming blogs.

This and the following Windows 8 articles and its contents are based on the first public developer preview of Windows 8, Visual Studio 2011 developer preview and Expression Blend 5 developer preview.

The best teacher is the one who suggests rather than dogmatizes, and inspires his listener with the wish to teach himself.- Edward Bulwer-Lytton


Filed under: CodeProject, Part 1: My Experiments With Windows 8 – Getting started, Windows 8

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

kishore Gaddam
CEO Astrani Technology Solutions
United States United States
Kishore Babu Gaddam is a Senior Technology Consultant, Technology Evangelist turned Technology Entrepreneur and a regular speaker at national conferences, regional code camps and local user groups with over 14 years of experience in software product development. His experience includes building & managing award-winning software development teams, managing customer relationships, marketing and launching new software products & services. Kishore launched his technology career almost 15 years ago with a Robotics software development startup and has served in multiple roles since including developer, innovation leader, consultant, technology executive and business owner.
 
A technology specialist in C++, C#, XAML and Azure, he successfully published two applications to Windows store http://bit.ly/WinStoreApp and http://bit.ly/FlagsApp.
 
Kishore is the author of the popular Microsoft Technologies blog at http://www.kishore1021.wordpress.com/ and his work on Portable Class Library project in Visual Studio 2012– .NET 4.5 was featured on Channel 9 at http://bit.ly/msdnchannel9. Kishore enjoys helping people understand technical concepts that may initially seem complex and perform lot of Research & Development on emerging technologies to help solve some of the toughest customer issues. Kishore spends a lot of time teaching and mentoring developers to learn new technologies and to be better developers. He is a speaker at various code camps around Washington DC area, mainly at Microsoft Technology Center for NOVA code camp (http://bit.ly/novacc12), CMAP Code Camp Fall 2012 (http://bit.ly/novacc12), etc. The majority of his software development experience has centered on Microsoft technologies including MFC, COM, COM+, WCF, WPF, winRT, HTML5, RestAPI and SQL Server. You can follow Kishore on Twitter at www.twitter.com/kishore1021. He can be reached on email at researcherkishore@outlook.com
Follow on   Twitter   Google+   LinkedIn

Comments and Discussions

 
GeneralThanks for the preview PinmemberClark Kent1239-Feb-12 2:17 
GeneralRe: Thanks for the preview Pinmemberkishore Gaddam9-Feb-12 4:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 7 Feb 2012
Article Copyright 2012 by kishore Gaddam
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid