وبلاگ بلیان

Node for Front-End Developers

معرفی کتاب «Node for Front-End Developers» نوشتهٔ Means, Garann، منتشرشده توسط نشر O'Reilly Media در سال 2012. این کتاب در فرمت epub، زبان انگلیسی ارائه شده است. «Node for Front-End Developers» در دستهٔ بدون دسته‌بندی قرار دارد.

If you know how to use JavaScript in the browser, you already have the skills you need to put JavaScript to work on back-end servers with Node. This hands-on book shows you how to use this popular JavaScript platform to create simple server applications, communicate with the client, build dynamic pages, work with data, and tackle other tasks. Although Node has a complete library of developer-contributed modules to automate server-side development, this book will show you how to program with Node on your own, so you truly understand the platform. Discover firsthand how well Node works as a web server, and how easy it is to learn and use. Set up Node and learn how to build scaffolding for a web application Work with Node natively to see how it functions as a web server Understand how Node receives client data from GET and POST requests Use the Socket.IO module to facilitate realtime client-server communication Choose from among several Node templates to create dynamic pages Learn how to connect to a database, and store data in files Implement the Model-View-Controller pattern, and share Node modules with server and client If you know how to use JavaScript in the browser, you already have the skills you need to put JavaScript to work on back-end servers with Node. This hands-on book shows you how to use this popular JavaScript platform to create simple server applications, communicate with the client, build dynamic pages, work with data, and tackle other tasks. Although Node has a complete library of developer-contributed modules to automate server-side development, this book will show you how to program with Node on your own, so you truly understand the platform. Discover firsthand how well Node works as a web s. Read more... Abstract: Node gives JavaScript developers incredible server-side power, but transitioning from front-end development to the server is difficult. This guide walks developers through the mental shift, demonstrating how techniques from the browser translate to work on the server, and helping them bring tools from the client side back to the server. Read more... Table of Contents; Preface; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Chapter 1. Getting Node Set Up; Node and NPM; REPL; File Organization; Chapter 2. Serving Simple Content; Writing a Response Manually; Serving a Static Page; Serving Client-Side Assets; Adding In Middleware; Chapter 3. Interaction with the Client; Receiving Data from the Querystring; Routing and Receiving Data from a Path; Receiving Data from a POST; Responding to Asynchronous Requests; Real-Time Communication; Chapter 4. Server-Side Templates; Creating a Dynamic Page. Partial TemplatesParsing Other File Types; Creating Files on the Fly; Chapter 5. Data Sources and Flow Control; Connecting to a Database; Storing Data in Files; Callbacks and Messaging; Chapter 6. Model-View-Controller and Sharing Code; Implementing the MVC Pattern; Out-of-the-Box MVC; Sharing Modules Between the Client and Server; Postscript. Content: Table of Contents Preface Conventions Used in This Book Using Code Examples Safari® Books Online How to Contact Us Chapter 1. Getting Node Set Up Node and NPM REPL File Organization Chapter 2. Serving Simple Content Writing a Response Manually Serving a Static Page Serving Client-Side Assets Adding In Middleware Chapter 3. Interaction with the Client Receiving Data from the Querystring Routing and Receiving Data from a Path Receiving Data from a POST Responding to Asynchronous Requests Real-Time Communication Chapter 4. Server-Side Templates Creating a Dynamic Page. Partial TemplatesParsing Other File Types Creating Files on the Fly Chapter 5. Data Sources and Flow Control Connecting to a Database Storing Data in Files Callbacks and Messaging Chapter 6. Model-View-Controller and Sharing Code Implementing the MVC Pattern Out-of-the-Box MVC Sharing Modules Between the Client and Server Postscript.
دانلود کتاب Node for Front-End Developers