Book description
"The book is great! It's clear and easy to read, with loads of examples that showed my students what to do."
-- Larry Snyder, Emeritus Professor, University of Washington, Department of Computer Science and Engineering
"Having the TouchDevelop book available made our events so much easier. Students could figure things out for themselves with help from the book."
-- Jennifer Marsman, Microsoft Principal Developer Evangelist
Mobiledevices such as smartphones and tablets are set to become the main computersthat virtually all people will own and carry with them at all times. And yet,mobile devices are not yet used for all computing tasks. A project at MicrosoftResearch was created to answer a simple question: "It is possible to createinteresting apps directly on a smartphone or tablet, without using a separatePC or a keyboard?" The result is TouchDevelop, a programming environment thatruns on all modern mobile devices such as Windows Phone, iPhone, iPad, Androidphones and tablets, and also on PCs and Macs.
This book walks you through all of the screens of the TouchDevelop app, and itpoints out similarities and differences of the TouchDevelop language comparedto other programming languages. For users, the book can serve as a handyreference next to the phone. The book systematically addresses all programminglanguage constructs, starting from the very basic constructs such as variablesand loops. The book also explores many of the phone sensors and data sourceswhich make creating apps for mobile devices so rewarding.
If you are new to programming with TouchDevelop, or if you have not yet workedon touchscreen devices, we suggest that you read the book starting from Chapter1. If you are already familiar with the basic paradigm of the TouchDevelopprogramming environment, then feel free to jump ahead to the later chaptersthat address particular topic areas.
This book is written from theperspective of a person developing their code using a web browser. TheTouchDevelop Web App runs in many modern browsers on many different devicesincluding smartphones and tablets, Macs, PC. All screenshots and navigationinstructions refer to the TouchDevelop Web App running in a browser. ForWindows Phone, there is a dedicated TouchDevelop app in the Windows Phone Storewhich gives access to many more sensors and data sources. Starting with theTouchDevelop app v3.0 for Windows Phone 8, the phone app will share the samelook and navigation structure and all features of the Web App.
What you'll learn
The little tricks to programming on your mobile devices and for a mobile device
The scripting language and cloud-based ecosystem
Using cameras, video and audio, and other sensors such as a microphone, accelerometer, compass, and gyroscope
Access to the web, authorized access to web services
How to write simple games using a built-in physics engine
Who this book is for
This programming language was written for people who wish tobe able to create apps from their phone. This scenario is particularlyappealing to enthusiastic end-users who own mobile devices and students, whoare the target audience of this book.
Table of contents
- Title Page
- Contents
- Preface
- List of figures
- List of tables
- Chapter 1: Introduction to TouchDevelop
- Chapter 2: The Scripting Language
- Chapter 3: The Wall – using the screen
- Chapter 4: The Web
- Chapter 5: Audio
- Chapter 6: Camera, Graphics and Video
- Chapter 7: Sensors
- Chapter 8: Interactions
- Chapter 9: Game Board
- Chapter 10: UI with Boxes and Pages
- Chapter 11: Authenticating Web Services
- Appendix A: Editing TouchDevelop Scripts
- Appendix B: TouchDevelop Services
-
Appendix C: TouchDevelop Datatypes
- C.1 Appointment
- C.2 Appointment Collection
- C.3 Board
- C.4 Boolean
- C.5 Camera
- C.6 Color
- C.7 Contact
- C.8 Contact Collection
- C.9 DateTime
- C.10 Form Builder
- C.11 Json Builder
- C.12 Json Object
- C.13 Link
- C.14 Link Collection
- C.15 Location
- C.16 Location Collection
- C.17 Map
- C.18 Matrix
- C.19 Message
- C.20 Message Collection
- C.21 Motion
- C.22 Number
- C.23 Number Collection
- C.24 Number Map
- C.25 OAuth Response
- C.26 Page
- C.27 Page Button
- C.28 Page Collection
- C.29 Picture
- C.30 Picture Album
- C.31 Picture Albums
- C.32 Pictures
- C.33 Place
- C.34 Place Collection
- C.35 Playlist
- C.36 Playlists
- C.37 Song
- C.38 Songs
- C.39 Song Album
- C.40 Song Albums
- C.41 Songs
- C.42 Sound
- C.43 Sprite
- C.44 Sprite Set
- C.45 String
- C.46 String Collection
- C.47 String Map
- C.48 TextBox
- C.49 Vector3
- C.50 Web Request
- C.51 Web Response
- C.52 Xml Object
- Appendix D: Platform Capabilities
- Appendix E: TouchDevelop Editor on a Windows Phone
- Index
Product information
- Title: TouchDevelop: Programming on the Go, Third Edition
- Author(s):
- Release date: June 2013
- Publisher(s): Apress
- ISBN: 9781430261360
You might also like
book
Programming in Go: Creating Applications for the 21st Century
Your Hands-On Guide to Go, the Revolutionary New Language Designed for Concurrency, Multicore Hardware, and Programmer …
book
Learning C# 7 By Developing Games with Unity 2017 - Third Edition
Develop your first interactive 2D and 3D platformer game by learning the fundamentals of C# About …
book
Go: Building Web Applications
Build real-world, production-ready solutions by harnessing the powerful features of Go About This Book An easy-to-follow …
book
Go Systems Programming
Learning the new system’s programming language for all Unix-type systems About This Book Learn how to …