Siêu thị PDFTải ngay đi em, trời tối mất

Thư viện tri thức trực tuyến

Kho tài liệu với 50,000+ tài liệu học thuật

© 2023 Siêu thị PDF - Kho tài liệu học thuật hàng đầu Việt Nam

Tài liệu Getting Started with Metro Apps pptx
PREMIUM
Số trang
51
Kích thước
3.8 MB
Định dạng
PDF
Lượt xem
1953

Tài liệu Getting Started with Metro Apps pptx

Nội dung xem thử

Mô tả chi tiết

Getting Started with Metro Apps

Ben Dewey

Beijing Cambridge Farnham Köln Sebastopol Tokyo

Getting Started with Metro Apps

by Ben Dewey

Revision History for the :

2012-04-12 Early release revision 1

See http://oreilly.com/catalog/errata.csp?isbn=9781449320553 for release details.

ISBN: 978-1-449-32055-3

1334266293

Table of Contents

Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v

1. Windows 8: A Quick Tour . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

A User Interface for Touch 1

Start Screen 2

Start Bar 3

Windows Programming Reimagined 5

A New Native API, the Windows Runtime 5

Language Support 5

Hosted Application Model 7

Single File Deployment 7

Windows Store 7

Inside Metro-style Apps 8

Application Bar 8

Semantic Zoom 9

Animation 9

Outside Your App 10

Tiles 11

Pickers 11

Charms 11

Sensors and Devices 12

Summary 12

2. Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Where is the Hello World app? 13

Bing Search API 13

Getting Started: The BingSimpleSearch App 15

Bing ImageSearchResponse Model 18

Calling the Bing Search API 19

Handling the Response 19

Wrapping up the UI 20

iii

Running the Bing Simple Search app 21

Summary 21

3. Application Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

How Will the Bing Image Search App Change Going Forward? 23

Goals 23

Usability 23

Non-functional 24

Development Process Goals 25

Design of the User Interface 26

Application Diagram 28

Model-View-ViewModel (MVVM) 29

Who Comes First the View or the ViewModel (the ViewModelLocator) 29

Commands 30

Inversion of Control (IoC) Container 31

Navigation 33

NavigationService 34

MessageHub 35

Sending a Message 36

Alternatives to the MessageHub 37

Application Storage and Tombstoning 37

Settings 39

Error Handling 40

Summary 40

iv | Table of Contents

Tải ngay đi em, còn do dự, trời tối mất!