Node.js for .NET Developers - Gaynes, David.pdf

(3717 KB) Pobierz
Node.js for .NET Developers
David Gaynes
PUBLISHED BY
Microsoft Press
A division of Microsoft Corporation
One Microsoft Way
Redmond, Washington 98052-6399
Copyright © 2015 by David Gaynes. All rights reserved.
No part of the contents of this book may be reproduced or transmitted in any form or by any means without the written
permission of the publisher.
Library of Congress Control Number: 2015930568
ISBN: 978-0-7356-6298-8
Printed and bound in the United States of America.
First Printing
Microsoft Press books are available through booksellers and distributors worldwide. If you need support related to this book,
email Microsoft Press Book Support at
mspinput@microsoft.com.
Please tell us what you think of this book at
http://aka.ms/tellpress.
This book is provided “as-is” and expresses the author’s views and opinions. The views, opinions and information expressed
in this book, including URL and other Internet website references, may change without notice.
Some examples depicted herein are provided for illustration only and are fictitious. No real association or connection is
intended or should be inferred.
Microsoft and the trademarks listed at
http://www.microsoft.com
on the “Trademarks” webpage are trademarks of the
Microsoft group of companies. All other marks are property of their respective owners.
Acquisitions and Developmental Editor:
Devon Musgrave
Project Editor:
Devon Musgrave
Editorial Production:
Waypoint Press (www.waypointpress.com)
Technical Reviewer:
Marc Young
Copyeditor:
Roger LeBlanc
Indexer:
Cristina Yeager
Cover:
Twist Creative • Seattle
Contents at a Glance
CHAPTER
CHAPTER
CHAPTER
CHAPTER
CHAPTER
CHAPTER
CHAPTER
CHAPTER
CHAPTER
1 Setup
2 JavaScript and asynchronous code
3 Coding Node.js
4 Rendering with Node.js
5 Working with site data in Node.js
6 Working with external data in Node.js
7 Working with file data in Node.js
8 External authentication in Node.js
9 Putting it all together in Node.js
Table of Contents
Introduction
Chapter 1 Setup
Chapter 2 JavaScript and asynchronous code
Working with JavaScript
Object-Oriented JavaScript
Chapter 3 Coding Node.js
Using the MVVM pattern
Writing the code
Chapter 4 Rendering with Node.js
Before you start
Using real data
Adding images and styling
Chapter 5 Working with site data in Node.js
Data from URLs
Data from users
Chapter 6 Working with external data in Node.js
Chapter 7 Working with file data in Node.js
Chapter 8 External authentication in Node.js
Chapter 9 Putting it all together in Node.js
Sockets
Conclusion
Index
What do you think of this book? We want to hear from you!
Microsoft is interested in hearing your feedback so we can continually improve our books and learning resources for
you. To participate in a brief online survey, please visit:
microsoft.com/learning/booksurvey
Zgłoś jeśli naruszono regulamin