Ulteriori informazioni
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
Sommario
Preface
Chapter 1: Getting Node Set Up
Chapter 2: Serving Simple Content
Chapter 3: Interaction with the Client
Chapter 4: Server-Side Templates
Chapter 5: Data Sources and Flow Control
Chapter 6: Model-View-Controller and Sharing Code
Postscript
Info autore
Garann returned to frontend development three years ago after spending several years working on backends. She started the Austin All-Girl Hack Night and teaches women to code as an instructor for Girl Develop It Austin. When she's not writing JavaScript, she's often operating some sort of power tool as she remodels her 111-year-old house.
Riassunto
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.