home libri books Fumetti ebook dvd top ten sconti 0 Carrello


Torna Indietro

pitt christopher - the definitive guide to adonisjs

The Definitive Guide to AdonisJs Building Node.js Applications with JavaScript




Disponibilità: Normalmente disponibile in 15 giorni
A causa di problematiche nell'approvvigionamento legate alla Brexit sono possibili ritardi nelle consegne.


PREZZO
32,98 €
NICEPRICE
31,33 €
SCONTO
5%



Questo prodotto usufruisce delle SPEDIZIONI GRATIS
selezionando l'opzione Corriere Veloce in fase di ordine.


Pagabile anche con Carta della cultura giovani e del merito, 18App Bonus Cultura e Carta del Docente


Facebook Twitter Aggiungi commento


Spese Gratis

Dettagli

Genere:Libro
Lingua: Inglese
Editore:

Apress

Pubblicazione: 03/2018
Edizione: 1st ed.





Trama

Learn everything you need to master the AdonisJs framework, including topics such as interacting with a database, rendering templates, writing asynchronous code, and hosting sites with SSL. Along the way, you’ll see how to build a commerce application, which lists products and allows shoppers to register and purchase those products. The site will feature a product catalog, a shopping cart, user registration and login, and profile management.

The Definitive Guide to AdonisJs also covers how to create a front-end build chain, so that you can use a modern front-end framework, such as React. You’ll discover how to connect your front end to the server, so that data and transactions can be shared between the two. Finally, you’ll see how to secure and deploy the application to a virtual private server, including how to apply for and install an SSL certificate and start accepting payments.

After reading and using this book, you’ll know all you need about AdonisJs. You’ll have the tools to turn that side-project you’ve been thinking about into a real money-making product. It is written by a web expert and reviewed by the AdonisJs project lead. This is the complete start-to-finish guide you’ve been waiting for.  

 What You'll Learn

  • Set up Node.js and AdonisJs, so that you can start building your application 
  • Create and use views and template code
  • Implement cooperative multitasking, in JavaScript
  • Represent eventual values with AdonisJs promises
  • Organize and isolate your code in controllers and decorate them with middleware, to do things like authentication
  • Build queries, using the Lucid DSL, and package these database entities up into model classes
  • Validate form data and respond with the appropriate error messages
  • Respond to general framework errors with custom error pages
  • Learn the deeper parts of sessions and cookies
  • Update the state of the user interface with WebSockets
  • Host AdonisJs applications in a modern hosting environment

Who This Book Is For

Readers should have a functional understanding of JavaScript.






Sommario

1. Getting started (1 week to write)
Learn how to get NodeJS and AdonisJS set up, so that you can start building your
application. Get familiar with the folder structure, and start customizing it.
2. Routing (1 week)
Learn how to connect the browser to your JS code, by defining different routes. These routes
can target different HTTP request methods and headers. Create routes for registration, login,
and profile management.
3. Templates (1 week)
Learn about how to create and use views and template code. Define templates for
registration and login. Render these individual views when different URLs are entered in the
browser.
4. Requests (1 week)
Learn about the different parts of an HTTP request, and how they are represented within
AdonisJS. Pass form data from the registration and login screens, to the controllers that will
allow users to register and lo
g in.5. Responses (1½ weeks)
Learn about the different kinds of response data and headers, and how they are represented
within AdonisJS. Create API routes, which produce JSON data, and redirects which move
from one route to another.
6. Generators (½ week)
Learn about what generators (language syntax) are, and how they came to be. See how they
can be used to implement cooperative multitasking, in JavaScript.
7. Promises (½ week)
Learn about what promises (language syntax) are, and how they can be used to represent
eventual values. See how they can be used, in conjunction with generators, to create syntax
which is simple but asynchronous.
8. Controllers and Middleware (2 weeks)
Learn about how to organize and isolate your code in controllers. See how they can be
decorated, with middleware, to do things like authentication.
9. Databases (3 weeks)
Learn about how to interact with databases; to read and write data. Build queries, using the
Lucid DSL, and package these database entities up into model classes.
10. Validation and Error Pages (1 week)
Learn how to validate form data, and respond with the appropriate error messages. Learn
how to respond to general framework/application errors, with custom error pages.
11. Sessions and Cookies (1 week)
Learn the deeper parts of sessions (not already covered in the middleware chapter), and how
to use cookies. Maintain a user session (and cart) between pages of the application.
12. Security (1½ weeks)
Learn about how to make cross-origin requests, protect against cross-site scripting attacks,
encrypt and hash data securely.
13. Front-end (1½ weeks)
Learn how to create a front-end build-chain: to preprocess and optimize JavaScript and CSS
code. Set up Rea
ctJS, for isolated front-end components, and use SASS to style the
application.
14. Web sockets (1 week)
Learn how to update the state of the user interface, with web sockets. Connect these to
isolated ReactJS components, for rapid and stable data updates.
15. Deployment (1½ weeks)
Learn how to host AdonisJS application, in modern hosting environments. Forward requests,
from popular web servers, to AdonisJS applications. Create SSL certificates and fault-tolerant
daemon management.
16. Adding Polish (Finishing the Application) (1 week)
See all the bits of work required to finish the application. Each section highlights the required learning – pointing out each chapter that
should be read and understood before completing the work for it.




Autore

Christopher Pitt is a developer and writer, working at SilverStripe. He usually works on application architecture, though sometimes you’ll find him building compilers or robots.  He is also the author of several web development books and is a contributor on various open source projects like AdonisJs.










Altre Informazioni

ISBN:

9781484233894

Condizione: Nuovo
Dimensioni: 254 x 178 mm Ø 515 gr
Formato: Brossura
Illustration Notes:XIII, 249 p. 26 illus.
Pagine Arabe: 249
Pagine Romane: xiii


Dicono di noi