▶Book Description
Hands-On Full Stack Web Development with Aurelia begins with a review of basic JavaScript concepts and the structure of an Aurelia application generated with the Aurelia-CLI tool. You will learn how to create interesting and intuitive application using the Aurelia-Materialize plugin, which implements the material design approach. Once you fully configure a FIFA World Cup 2018 app, you'll start creating the initial components through TDD practices and then develop backend services to process and store all the user data.
This book lets you explore the NoSQL model and implement it using one of the most popular NoSQL databases, MongoDB, with some exciting libraries to make the experience effortless. You'll also be able to add some advanced behavior to your components, from managing the lifecycle properly to using dynamic binding, field validations, and the custom service layer.
You will integrate your application with Google OAuth Service and learn best practices to secure your applications. Furthermore, you'll write UI Testing scripts to create high-quality Aurelia Apps and explore the most used tools to run end-to-end tests. In the concluding chapters, you'll be able to deploy your application to the Cloud and Docker containers.
By the end of this book, you will have learned how to create rich applications using best practices and modern approaches.
▶What You Will Learn
⦁ Employ best practices and modern approaches to create frontend applications
⦁ Learn about modern CSS preprocessors and improve the readability of your application
⦁ Use the Aurelia framework to create navigable web applications
⦁ Write your own tests, making your application secure and fault-tolerant
⦁ Create solid RESTful APIs using the microservice architecture
⦁ Understand the NoSQL paradigm and get the best performance from your database
⦁ Integrate third-party libraries such as Gmail for Single Sign On
⦁ Write UI testing scripts and integration tests to build extensible apps
▶Key Features
⦁ Learn the advanced features of Aurelia to build responsive web applications
⦁ Write clean, modular, and testable code that will be easy to maintain and evolve
⦁ Harness the power of JavaScript on the client and server side to build full-stack applications
▶Who This Book Is For
Hands-On Full Stack Web Development with Aurelia is for you if you are a web or full-stack JavaScript developer who has experience with traditional stacks such as LAMP, MEAN, or MERN and wish to explore the power of Aurelia and new stack with modern web technologies.
▶What this book covers
⦁ Chapter 1, Introducing Aurelia, explains why JavaScript is a very good code language and how it is changing over time, the common syntax used (ES6), and a brief exploration about other modern frameworks, such as Angular and React, and why Aurelia is the best choice.
⦁ Chapter 2, Styling the User Interface, introduces you to the modern web development tools, very useful and in demand nowadays. You will learn how to make your stylesheets more friendly and readable and create automated task to execute commands to process your files. Also, you will see the current tendency in web design through the most used CSS libraries in the world.
⦁ Chapter 3, Testing and Debugging focuses on how to test your Aurelia applications to avoid potential bugs and deliver high-quality apps.
⦁ Chapter 4, Creating Components and Templates, states that it's time to start abstracting our business components and create isolated pieces that are highly reusable and easy to maintain to build your application. You will learn how to manage events and lifecycles of each part of your application, giving you total control over them.
⦁ Chapter 5, Creating Our RESTful API, deals with how to implement the backend for your example application using Node.js. Also, you will learn how to design strong APIs.
⦁ Chapter 6, Storing Our Data in MongoDB, teaches you how to integrate your Node.js backend application to MongoDB to store your application's information.
⦁ Chapter 7, Advanced Features on Aurelia, shows you more advanced features regarding data binding and other very common scenarios in your day to day work.
⦁ Chapter 8, Security, explains how to implement Authentication/Authorization and Single-Sign-On in AureliaJS using a common third-party service called Auth0.
⦁ Chapter 9, Running E2E Tests, is the most important part in the development lifecycle. It's time to test whether all your code work and meet your business requirements, but not as isolated pieces. You will also test whether the functionality of all your components works well together.
⦁ Chapter 10, Deployment, describes how to deploy your Aurelia applications in your onpremise servers using Docker and NGINX; also, it shows you how to deploy the application to Heroku and Amazon Web Services.