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 p...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Beijing :
O'Reilly
[2012]
|
Edición: | First edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628035206719 |
Tabla de Contenidos:
- 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