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

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

作者: Christopher Pitt
出版社: Apress
出版在: 2018-03-15
ISBN-13: 9781484233894
ISBN-10: 1484233891
裝訂格式: Paperback
總頁數: 249 頁





內容描述


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 LearnSet up Node.js and AdonisJs, so that you can start building your application Create and use views and template codeImplement cooperative multitasking, in JavaScriptRepresent eventual values with AdonisJs promisesOrganize and isolate your code in controllers and decorate them with middleware, to do things like authenticationBuild queries, using the Lucid DSL, and package these database entities up into model classesValidate form data and respond with the appropriate error messagesRespond to general framework errors with custom error pagesLearn the deeper parts of sessions and cookiesUpdate the state of the user interface with WebSocketsHost AdonisJs applications in a modern hosting environmentWho This Book Is ForReaders should have a functional understanding of JavaScript.




相關書籍

Pro MERN Stack: Full Stack Web App Development with Mongo, Express, React, and Node

作者 Vasan Subramanian

2018-03-15

What To Do When Machines Do Everything: How to Get Ahead in a World of AI, Algorithms, Bots, and Big Data

作者 Malcolm Frank Paul Roehrig Ben Pring

2018-03-15

Angular Development with TypeScript 2E

作者 Yakov Fain Anton Moiseev

2018-03-15