,Begin
to Code
Building
apps and
games in
the cloud
Rob Miles
,BEGIN TO CODE: BUILDING APPS AND GAMES IN THE CLOUD Editor-in-Chief
Published with the authorization of Microsoft Corporation by: Brett Bartow
Pearson Education, Inc.
Executive Editor
Copyright © 2023 by Pearson Education, Inc. Loretta Yates
All rights reserved. This publication is protected by copyright, and Development Editor
permission must be obtained from the publisher prior to any pro- Rick Kughen
hibited reproduction, storage in a retrieval system, or transmission
Managing Editor
in any form or by any means, electronic, mechanical, photocopy-
Sandra Schroeder
ing, recording, or likewise. For information regarding permissions,
request forms, and the appropriate contacts within the Pearson Edu- Senior Project Editor
cation Global Rights & Permissions Department, please visit www. Tracey Croom
pearson.com/permissions.
Project Editor
No patent liability is assumed with respect to the use of the informa- Charlotte Kughen
tion contained herein. Although every precaution has been taken
Copy Editor
in the preparation of this book, the publisher and author assume no
Rick Kughen
responsibility for errors or omissions. Nor is any liability assumed for
damages resulting from the use of the information contained herein. Indexer
Cheryl Lenser
ISBN-13: 978-0-13-806540-9
ISBN-10: 0-13-806540-3 Proofreader
Charlotte Kughen
Library of Congress Control Number: 2023935868
Technical Editor
ScoutAutomatedPrintCode
John Ray
TRADEMARKS
Editorial Assistant
Microsoft and the trademarks listed at http://www.microsoft.com on
Cindy Teeters
the “Trademarks” webpage are trademarks of the Microsoft group of
companies. All other marks are property of their respective owners. Cover Designer
Twist Creative, Seattle
WARNING AND DISCLAIMER
Every effort has been made to make this book as complete and as Compositor
accurate as possible, but no warranty or fitness is implied. The infor- Bronkella Publishing, LLC
mation provided is on an “as is” basis. The author, the publisher, and
Graphics
Microsoft Corporation shall have neither liability nor responsibility
TJ Graham Art
to any person or entity with respect to any loss or damages arising
from the information contained in this book or from the use of the Credits
programs accompanying it. Cover: 32 pixels/Shutterstock, Chapter
04, Screenshot of OpenJS website:
SPECIAL SALES
OpenJS Foundation
For information about buying this title in bulk quantities, or for
special sales opportunities (which may include electronic versions; Chapters 7 and 11: Screenshots of Mon-
custom cover designs; and content particular to your business, train- goDB UI: MongoDB, Inc.
ing goals, marketing focus, or branding interests), please contact our Chapter 11: Screenshots of JWT.io UI:
corporate sales department at or (800) Okta, Inc.
382-3419. Chapter 12: Screenshots of Raspberry
For government sales inquiries, please contact Pi UI: Raspberry Pi Ltd; screenshots
. of HiveMQ website: HiveMQ GmbH;
screenshots of Connected Little Boxes
For questions about sales outside the U.S., please contact website: Connected Humber CIC
.
, To Mary
iii
to Code
Building
apps and
games in
the cloud
Rob Miles
,BEGIN TO CODE: BUILDING APPS AND GAMES IN THE CLOUD Editor-in-Chief
Published with the authorization of Microsoft Corporation by: Brett Bartow
Pearson Education, Inc.
Executive Editor
Copyright © 2023 by Pearson Education, Inc. Loretta Yates
All rights reserved. This publication is protected by copyright, and Development Editor
permission must be obtained from the publisher prior to any pro- Rick Kughen
hibited reproduction, storage in a retrieval system, or transmission
Managing Editor
in any form or by any means, electronic, mechanical, photocopy-
Sandra Schroeder
ing, recording, or likewise. For information regarding permissions,
request forms, and the appropriate contacts within the Pearson Edu- Senior Project Editor
cation Global Rights & Permissions Department, please visit www. Tracey Croom
pearson.com/permissions.
Project Editor
No patent liability is assumed with respect to the use of the informa- Charlotte Kughen
tion contained herein. Although every precaution has been taken
Copy Editor
in the preparation of this book, the publisher and author assume no
Rick Kughen
responsibility for errors or omissions. Nor is any liability assumed for
damages resulting from the use of the information contained herein. Indexer
Cheryl Lenser
ISBN-13: 978-0-13-806540-9
ISBN-10: 0-13-806540-3 Proofreader
Charlotte Kughen
Library of Congress Control Number: 2023935868
Technical Editor
ScoutAutomatedPrintCode
John Ray
TRADEMARKS
Editorial Assistant
Microsoft and the trademarks listed at http://www.microsoft.com on
Cindy Teeters
the “Trademarks” webpage are trademarks of the Microsoft group of
companies. All other marks are property of their respective owners. Cover Designer
Twist Creative, Seattle
WARNING AND DISCLAIMER
Every effort has been made to make this book as complete and as Compositor
accurate as possible, but no warranty or fitness is implied. The infor- Bronkella Publishing, LLC
mation provided is on an “as is” basis. The author, the publisher, and
Graphics
Microsoft Corporation shall have neither liability nor responsibility
TJ Graham Art
to any person or entity with respect to any loss or damages arising
from the information contained in this book or from the use of the Credits
programs accompanying it. Cover: 32 pixels/Shutterstock, Chapter
04, Screenshot of OpenJS website:
SPECIAL SALES
OpenJS Foundation
For information about buying this title in bulk quantities, or for
special sales opportunities (which may include electronic versions; Chapters 7 and 11: Screenshots of Mon-
custom cover designs; and content particular to your business, train- goDB UI: MongoDB, Inc.
ing goals, marketing focus, or branding interests), please contact our Chapter 11: Screenshots of JWT.io UI:
corporate sales department at or (800) Okta, Inc.
382-3419. Chapter 12: Screenshots of Raspberry
For government sales inquiries, please contact Pi UI: Raspberry Pi Ltd; screenshots
. of HiveMQ website: HiveMQ GmbH;
screenshots of Connected Little Boxes
For questions about sales outside the U.S., please contact website: Connected Humber CIC
.
, To Mary
iii