22,99 €
inkl. MwSt.

Versandfertig in über 4 Wochen
  • Broschiertes Buch

For most .NET programmers, Node.js represents a radically different way to build scalable, high-traffic web sites and applications. Now, there's a practical, straight-to-the-point introduction to Node.js specifically for experienced Microsoft developers. Drawing on his immense experience with both Microsoft and JavaScript technologies, David Gaynes guides you through the entire Node.js website development process, from start to finish. Using Visual Studio examples, Gaynes covers everything from setting up servers and authorization through delivering rich CSS pages packed with graphics and…mehr

Produktbeschreibung
For most .NET programmers, Node.js represents a radically different way to build scalable, high-traffic web sites and applications. Now, there's a practical, straight-to-the-point introduction to Node.js specifically for experienced Microsoft developers. Drawing on his immense experience with both Microsoft and JavaScript technologies, David Gaynes guides you through the entire Node.js website development process, from start to finish. Using Visual Studio examples, Gaynes covers everything from setting up servers and authorization through delivering rich CSS pages packed with graphics and data-driven content.

Gaynes begins by showing you how to quickly set up Node.js and each of these complementary tools: Express (Ease of Use); Body-Parser (Form values); EJS (Views); CodeMon (Code Changes / Run Updates); Bower (UI); Bootstrap (styling), Passport (Auth); Memory-Cache (persistence); and databases (MSSQL and MySQL). Next, using clear examples, he explains Node.js's async model, coding approach, and request/response paradigm; site structure, data management, security, and more. He concludes with a full chapter of solutions to common errors Microsoft developers make when they first adopt Node.js.

Node.js for .NET Developers will help you apply all hard-won .NET skills to Node.js -- building web solutions that are more responsive, perform better, and cost less.

Product Description
Build scalable, high-traffic websites and web applications with Node.js
For many .NET programmers, Node.js represents a new way to build high-traffic websites and applications. Now there’s a practical, concise introduction to Node.js specifically for Microsoft developers. David Gaynes guides you through the entire Node.js development process. Using Microsoft Visual Studio examples, he addresses everything from setting up servers and authorization through delivering rich CSS pages packed with graphics and data-driven content. Gaynes clearly explains Node.js’s async model, coding approach, request/response paradigm, site structure, data management, security, and more. This quick guide will help you apply your hard-won .NET skills to Node.js.

Expert guidance showing you how to:

Choose, organize, and configure the tools you need to build Node.js solutions in Visual Studio

Apply JavaScript coding practices that help you avoid problems in Node.js

Work with callback functions and the Node.js asynchronous programming model

Set up a Node.js project and use what you know about MVVM and MVC patterns

Control the entire Node.js request/response life cycle

Establish site structure, routes, and access to static resources

Manage data through caching, forms, IO techniques, and file uploads

Integrate data from Microsoft SQL Server and other databases

Use Passport to integrate simple, flexible authentication

Introduction vii
Chapter 1: Setup 1
Chapter 2: JavaScript and asynchronous code 11
Working with JavaScript 12
Object-Oriented JavaScript 17
Chapter 3: Coding Node.js 21
Using the MVVM pattern 21
Writing the code 23
Chapter 4: Rendering with Node.js 31
Before you start 31
Using real data 35
Adding images and styling 37
Chapter 5: Working with site data in Node.js 39
Data from URLs 39
Data from users 42
Chapter 6: Working with external data in Node.js 47
Chapter 7: Working with file data in Node.js 57
Chapter 8: External authentication in Node.js 63
Chapter 9: Putting it all together in Node.js 71
Sockets 76
Conclusion 77
Index 79
Autorenporträt
David Gaynes has nearly 20 years of experience as a developer, architect, and consultant working across the full software development life cycle. He has spent more than a dozen years working with Microsoft and .NET technologies for clients of all sizes. His clients have ranged from the Chicago Public Schools and the Children's Hospital in Seattle to diverse organizations in healthcare, insurance, finance, and gambling.