The Definitive Guide to AdonisJs
Building Node.js Applications with JavaScript
Seiten
2018
|
1st ed.
Apress (Verlag)
978-1-4842-3389-4 (ISBN)
Apress (Verlag)
978-1-4842-3389-4 (ISBN)
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.
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.
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.
1. Getting started.- 2. Routing.- 3. Views.- 4. Requests.- 5. Responses.- 6. Generators.- 7. Promises.- 8. Controllers and Middleware.- 9. Databases.- 10. Validation and Error Pages.- 11. Sessions and Cookies.- 12. Security.- 13. Front-end Tools.- 14. Web sockets.- 15. Deployment.- 16. Finishing Touches.
Erscheinungsdatum | 07.04.2018 |
---|---|
Zusatzinfo | 26 Illustrations, black and white; XIII, 249 p. 26 illus. |
Verlagsort | Berkley |
Sprache | englisch |
Maße | 178 x 254 mm |
Themenwelt | Mathematik / Informatik ► Informatik ► Web / Internet |
Schlagworte | Adonis.js • Code • definitive • Framework • JavaScript • Mobile • MVC • Node.js • programming • Software • web applications • Web Development |
ISBN-10 | 1-4842-3389-1 / 1484233891 |
ISBN-13 | 978-1-4842-3389-4 / 9781484233894 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
Mehr entdecken
aus dem Bereich
aus dem Bereich
Handbuch für die Praxis
Buch | Hardcover (2023)
O'Reilly (Verlag)
39,90 €