Everything You Need to Start Writing Windows 8 Metro Applications Today
Join the DZone community and get the full member experience.Join For Free
i can still remember the day i learned how to program. i was only 7 years old and was staying home with my ti-99/4a that had no games or cartridges available. bored, i pulled out the basic reference guide and tapped in a small program called "mr. bojangles" that made some pixelated boxs move across the screen. if you squinted and really stretched your imagination, you could almost pretend it was a little dancing guy. you can even watch this video online to see, although i'd argue the source code i saw there looks way smaller than what i remember typing. from there i moved onto the commodore 64 and picked up 6502 assembly code:
$c000: lda #$00 $c002: sta $d020 $c005: sta $d021 $c008: inc $d020 $c00b: inc $d021 $c00e: jmp $c008
then it was onto windows machines, win32, mfc, and beyond.
when my publisher agreed to my request to write a book about designing windows 8 metro applications, i was ecstatic. while my earlier book, designing silverlight business applications , focused on enterprise development, this new one takes a different approach and tackles designing metro applications from the ground up. i assume you have some c# and xaml knowledge but i'm really focused on giving you everything you need to get up and running quickly on the new platform. believe me, there is a lot of content and it covers most of what the windows runtime has to offer. here is a tentative table of contents — i say tentative because it can change based on feedback from editors and you, but it should be very close:
- chapter one — the new windows runtime — history and context around windows 8 metro applications
- chapter two — getting started — setting up your environment and building a more advanced "hello, world" application (templates, tools, and looking underneath the covers at what windows 8 metro is)
- chapter three — xaml — a primer on extensible application markup language (xaml) and how it works in windows 8 metro applications
- chapter four — metro applications — overview of what is unique about metro applications, including layouts, views, visual state manager, simulator, view types (snapped, full), semantic zoom, user input and touch, sensors, application bars, icons, and splash screens
- chapter 5 — application lifecycle — process lifetime management (plm) including activation, suspension, resume, navigation, and extended splash screens
- chapter six — data — everything you need to know about data, including application settings, local and romaing file access, collections, buffers, byte arrays, encryption, signing, syndication of content, and web services
- chapter seven — tiles and toasts — basic tiles, live tiles, badges, secondary tiles, and push screen notifications
- chapter eight — charm — all about contracts, including sharing, text selection, search, printing, play to and more
- chapter 9 — mvvm and testing — how mvvm is implemented in windows 8 metro applications and coverage of the new unit testing capabilities in visual studio 11
- chapter 10 — packaging and deploying — understanding trial mode, products vs. applications, side-loading and distribution
once this first comprehensive book comes out about writing the applications, i plan to follow up with a second more advanced title that covers things like authorization and authentication with single sign-on, media, device enumeration, advanced sensors, networking including sockets, accessibility features, background tasks, lock screen applications and advanced debugging and performance optimization.
here's the best part — all of this is available right now. i don't know if you are familiar with the safari rough cuts program, but it essentially allows you to have early access to the manuscript. one investment in the book will give you the manuscript as it stands today (parts of it not even edited yet) so you can not only read it but provide me with direct feedback to help shape what you would like to see in the final version. then, as the book is edited and updates are posted, you have unlimited downloads of the latest versions right up to the final release. it's a great way to get your hands on everything you need to develop windows 8 metro applications with c# and xaml today, and ensure that it is current and up to date when it is released months from now. you can check out the rough cuts for this book by clicking on this link . please also take some time to visit the facebook page where i post updates about the progress for the book as well as windows 8 related articles. you can access that page here .
Opinions expressed by DZone contributors are their own.