Imagine. Create. Deploy. Inspired? So Are We

Imagine. Create. Deploy. Inspired? So Are We

Imagine. Create. Deploy. Inspired? So Are We. Inspiration is all around us. From beautiful screens on the web to well-designed reports. New devices push the development envelope and ask that we consider new technologies. The latest release, DevExpress 12.2, delivers the tools you need to build the multi-channel solutions you can imagine: Windows 8-inspired applications with live tiles perfect for Microsoft Surface, multi-screen iOS and Android apps. It’s all possible. Let’s see what develops. Download your 30-day trial at www.DevExpress.com Copyright 1998-2013 Developer Express, Inc. All rights reserved. All trademarks are property of their respective owners. Untitled-9 1 1/8/13 2:10 PM THE MICROSOFT JOURNAL FOR DEVELOPERS FEBRUARY 2013 VOL 28 NO 2 magazine JavaScript API for Offi ce.........................20 Exploring the New JavaScript API for Offi ce COLUMNS Stephen Oliver and Eric Schmidt ........................................20 CUTTING EDGE Essential Facebook Async Causality Chain Tracking Programming: Andrew Stasyuk ...............................................................32 The JavaScript SDK Dino Esposito, page 6 Building a Simple Comet Application WINDOWS WITH C++ in the Microsoft .NET Framework Creating Desktop Apps Derrick Lau .....................................................................42 with Visual C++ 2012 Kenny Kerr, page 12 Detecting Abnormal Data Using TEST RUN k-Means Clustering Naive Bayes Classifi cation with C# ............................................................. James McCaffrey 54 James McCaffrey, page 70 Taming the Event Stream: THE WORKING PROGRAMMER Fast Approximate Counting .NET Collections, Part 2: Michael Meijer ................................................................64 Working with C5 Ted Neward, page 76 MODERN APPS Create Windows Store Apps with HTML5 and JavaScript Rachel Appel, page 80 DIRECTX FACTOR Constructing Audio Oscillators for Windows 8 Charles Petzold, page 84 DON’T GET ME STARTED What’s Up, Doc? David Platt, page 88 Compatible with Microsoft® Visual Studio® 2012 At Your Fingertips Untitled-1 2 12/5/12 11:08 AM Download your free trial infragistics.com/ Infragistics Sales US 800 231 8588 • Europe +44 (0) 800 298 9055 • India +91 80 4151 8042 • APAC +61 3 9982 4545 Copyright 1996-2013 Infragistics, Inc. All rights reserved. Infragistics and NetAdvantage are registered trademarks of Infragistics, Inc. The Infragistics logo is a trademark of Infragistics, Inc. All other trademarks or registered trademarks are the respective property of their owners. Untitled-1 3 12/5/12 11:08 AM FEBRUARY 2013 VOLUME 28 NUMBER 2 magazine BJÖRN RETTIG Director MOHAMMAD AL-SABT Editorial Director/[email protected] PATRICK O’NEILL Site Manager MICHAEL DESMOND Editor in Chief/[email protected] DAVID RAMEL Technical Editor SHARON TERDEMAN Features Editor WENDY HERNANDEZ Group Managing Editor KATRINA CARRASCO Associate Managing Editor SCOTT SHULTZ Creative Director JOSHUA GOULD Art Director SENIOR CONTRIBUTING EDITOR Dr. James McCaffrey CONTRIBUTING EDITORS Rachel Appel, Dino Esposito, Kenny Kerr, Julie Lerman, Ted Neward, Charles Petzold, David S. Platt, Bruno Terkaly, Ricardo Villalobos Henry Allain President, Redmond Media Group Michele Imgrund Sr. Director of Marketing & Audience Engagement Tracy Cook Director of Online Marketing Irene Fincher Audience Development Manager ADVERTISING SALES: 818-674-3416/[email protected] Dan LaBianca Group Publisher Chris Kourtoglou Regional Sales Manager Danna Vedder Regional Sales Manager/Microsoft Account Manager Jenny Hernandez-Asandas Director, Print Production Serena Barnes Production Coordinator/[email protected] Neal Vitale President & Chief Executive Offi cer Richard Vitale Senior Vice President & Chief Financial Offi cer Michael J. Valenti Executive Vice President Christopher M. Coates Vice President, Finance & Administration Erik A. Lindgren Vice President, Information Technology & Application Development David F. Myers Vice President, Event Operations Jeffrey S. Klein Chairman of the Board MSDN Magazine (ISSN 1528-4859) is published monthly by 1105 Media, Inc., 9201 Oakdale Avenue, Ste. 101, Chatsworth, CA 91311. Periodicals postage paid at Chatsworth, CA 91311-9998, and at additional mailing offi ces. Annual subscription rates payable in US funds are: U.S. $35.00, International $60.00. Annual digital subscription rates payable in U.S. funds are: U.S. $25.00, International $25.00. Single copies/back issues: U.S. $10, all others $12. Send orders with payment to: MSDN Magazine, P.O. Box 3167, Carol Stream, IL 60132, email [email protected] or call (847) 763-9560. POSTMASTER: Send address changes to MSDN Magazine, P.O. Box 2166, Skokie, IL 60076. Canada Publications Mail Agreement No: 40612608. Return Undeliverable Canadian Addresses to Circulation Dept. or XPO Returns: P.O. Box 201, Richmond Hill, ON L4B 4R5, Canada. Printed in the U.S.A. Reproductions in whole or part prohibited except by written permission. Mail requests to “Permissions Editor,” c/o MSDN Magazine, 4 Venture, Suite 150, Irvine, CA 92618. Legal Disclaimer: The information in this magazine has not undergone any formal testing by 1105 Media, Inc. and is distributed without any warranty expressed or implied. Implementation or use of any information contained herein is the reader’s sole responsibility. While the information has been reviewed for accuracy, there is no guarantee that the same or similar results may be achieved in all environments. Technical inaccuracies may result from printing errors and/or new developments in the industry. Corporate Address: 1105 Media, Inc., 9201 Oakdale Ave., Ste 101, Chatsworth, CA 91311, www.1105media.com Media Kits: Direct your Media Kit requests to Matt Morollo, VP Publishing, 508-532-1418 (phone), 508-875-6622 (fax), [email protected] Reprints: For single article reprints (in minimum quantities of 250-500), e-prints, plaques and posters contact: PARS International, Phone: 212-221-9595, E-mail: [email protected], www.magreprints.com/ QuickQuote.asp List Rental: This publication’s subscriber list, as well as other lists from 1105 Media, Inc., is available for rental. For more information, please contact our list manager, Merit Direct. Phone: 914-368-1000; E-mail: [email protected]; Web: www.meritdirect.com/1105 All customer service inquiries should be sent to [email protected] or call 847-763-9560. Printed in the USA Untitled-13 1 1/7/13 12:56 PM EDITOR’S NOTE MICHAEL DESMOND Inside Modern Apps This month MSDN Magazine welcomes Rachel Appel and her writing back-end enterprise applications in COBOL. She struck Modern Apps column. Readers of the magazine and Web site might out on her own as an independent consultant, trainer and mentor, be familiar with Appel’s work. She wrote the popular Web Dev earning MVP recognition from Microsoft , before joining Microsoft Report column on the MSDN Magazine Web site up until Sep- as a technical evangelist. Today, she spends a great deal of her time tember of last year. And she appeared in our Windows 8 Special giving talks at conferences, working with customers and blogging Edition, published in October, with a look at the unique aspects about development issues. of the Windows Store application lifecycle. When I asked Appel how a former COBOL programmer ends Th is month, Modern Apps debuts with a quick rundown of what up helping lead the charge on Windows Store app development, you need to get started with Windows Store app development, and she couldn’t resist a joke—“Th e short answer? It’s new and shiny”— explores the new features and capabilities that enable developers before providing a more serious response. to create powerful applications for Windows 8 and the Windows “I enjoy learning about new technologies and the latest in soft - Runtime. Going forward, you can expect Appel to dig deeper into ware development,” Appel says. “As a tech evangelist, being out in the Windows Store app dev experience. In the March issue, look the public allows me to see and work with all kinds of awesome for the column to explore the important topic of data access and ideas and code.” storage for Windows Store apps. She goes on to praise some of the built-in features of Windows 8, Appel’s column arrives a few short months aft er Bruno Terkaly including Search and Share contracts, the rich sensor platforms and and Ricardo Villalobos came on board as authors of the new the device APIs. “You can access it all through open, standard HTML5 Windows Azure Insider column. And just last month Charles and ES5 [ECMAScript 5] if you want, or you can use C#/Visual Petzold re-branded his column as DirectX Factor, refl ecting his Basic/C++ and XAML, as all languages have parity.” focus on the powerful DirectX development infrastructure in the In her community engagements, Appel says she sometimes fi elds Windows Runtime. questions about the Windows Runtime and its relationship to the The changes reflect the significant progress we’ve seen from Microsoft .NET Framework. Her message: Th e .NET Framework Microsoft in updating its developer infrastructure. Windows 8 is not going anywhere. and the Windows Runtime present a compelling target for an “Windows Runtime is not a .NET replacement. Rather, many of the incredibly broad range of software developers, and the new WinRT APIs are wrappers around classic .NET or Win32 libraries, columns from Appel and Petzold aim to empower those people— so those underlying frameworks are still available,” Appel says. “Yes,

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    95 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us