Tải bản đầy đủ (.pdf) (7 trang)

a0059 oreilly getting started with metro style apps jul 201 morebook vn 4947

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (4.74 MB, 7 trang )



Download from Wow! eBook <www.wowebook.com>

Getting Started with Metro Style
Apps

Ben Dewey

Beijing • Cambridge • Farnham • Köln • Sebastopol • Tokyo


Getting Started with Metro Style Apps
by Ben Dewey
Copyright © 2012 Ben Dewey. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions
are also available for most titles (). For more information, contact our
corporate/institutional sales department: 800-998-9938 or

Editor: Rachel Roumeliotis
Production Editor: Melanie Yarbrough
Proofreader: Melanie Yarbrough

Cover Designer: Karen Montgomery
Interior Designer: David Futato
Illustrator: Robert Romano

Revision History for the First Edition:
2012-07-23


First release
See for release details.

Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of
O’Reilly Media, Inc. Getting Started with Metro Style Apps, the cover image of an American Crocodile,
and related trade dress are trademarks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a
trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and authors assume
no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.

ISBN: 978-1-449-32055-3
[LSI]
1342718033


Table of Contents

Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
1. Windows 8: A Quick Tour . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
A User Interface for Touch
Start Screen
Start Bar
Windows Programming Reimagined
A New Native APIJ: The Windows Runtime
Language Support
Hosted Application Model
Single File Deployment
Windows Store

Inside Metro Style Apps
Application Bar
Semantic Zoom
Animation
Outside Your App
Tiles
Pickers
Charms
Sensors and Devices
Summary

1
2
3
4
5
6
7
8
8
8
8
9
10
11
11
12
12
12
13


2. Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Where Is the Hello World app?
Bing Search API
Getting Started: The BingSimpleSearch App
Bing Search API Service class
Calling the Bing Search API
Wrapping Up the UI
Running the BingSimpleSearch App

15
15
18
21
22
22
23

iii


Download from Wow! eBook <www.wowebook.com>

About the Author
Ben Dewey is employed at Tallan as a Senior Software Developer where he consults
on many projects around New York City, focusing on Architecture, Silverlight,
ASP.NET, and jQuery. He also works to develop Server Oriented Applications using
WCF. Ben strives to create SOLID applications of the highest craftsmanship while
paying special attention to clean User Experiences (UX). Ben is currently a committer
on the Apache Stonehenge project, and is actively involved in numerous community

events, from speaking at local user groups and helping to organize the ALT.NET
Meetup in NYC.


Download from Wow! eBook <www.wowebook.com>



×