Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Applications with Spring 5 and Vue.js 2

You're reading from   Building Applications with Spring 5 and Vue.js 2 Build a modern, full-stack web application using Spring Boot and Vuex

Arrow left icon
Product type Paperback
Published in Oct 2018
Publisher Packt
ISBN-13 9781788836968
Length 590 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
James J. Ye James J. Ye
Author Profile Icon James J. Ye
James J. Ye
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Modern Web Application Development - This Is a New Era FREE CHAPTER 2. Vue.js 2 - It Works in the Way You Expected 3. Spring 5 - The Right Stack for the Job at Hand 4. TaskAgile - A Trello-like Task Management Tool 5. Data Modeling - Designing the Foundation of the Application 6. Code Design - Designing for Stability and Extensibility 7. RESTful API Design - Building Language Between Frontend and Backend 8. Creating the Application Scaffold - Taking off Like a Rocket 9. Forms and Validation - Starting with the Register Page 10. Spring Security - Making Our Application Secure 11. State Management and i18n - Building a Home Page 12. Flexbox Layout and Real-Time Updates with WebSocket - Creating Boards 13. File Processing and Scalability - Playing with Cards 14. Health Checking, System Monitoring - Getting Ready for Production 15. Deploying to the Cloud with Jenkins - Ship It Continuously 16. Other Books You May Enjoy

What this book covers

Chapter 1, Modern Web Application Development - This Is a New Era, introduces JavaScript from a Java developer's perspective by highlighting the parts that confuse Java developers the most. It also introduces the basics of ES6.

Chapter 2, Vue.js 2 - It Works in the Way You Expected, introduces all aspects of Vue.js 2, from its fundamental concepts to its internal reactivity system.

Chapter 3, Spring 5 - The Right Stack for the Job at Hand, introduces the major features of Spring Framework 5, including Inversion of Control (IoC) and dependency injection, Spring MVC, Spring JDBC, JPA, Spring AOP, transaction management, and Spring Boot.

Chapter 4, TaskAgile - A Trello-like Task Management Tool, introduces requirement management in an Agile project, user story writing, and wireframe creation. It also discusses the Agile methodology and the skill sets a full-stack developer should have.

Chapter 5, Data Modeling - Designing the Foundation of the Application, introduces data modeling, the goal of data modeling, and the three stages of data modeling: from conceptual data modeling to logical data modeling, and then to physical data modeling.

Chapter 6, Code Design - Designing for Stability and Extensibility, introduces Agile code design, design principles, and design patterns. It also discusses the code design of TaskAgile applications.

Chapter 7, RESTful API Design - Building Language Between Frontend and Backend, introduces RESTful API characteristics, RESTful API design procedure, the implementation of Spring MVC, API consumption, and API testing.

Chapter 8, Creating the Application Scaffold - Taking off Like a Rocket, introduces how to create an application scaffold with Spring Initializr and vue-cli, as well as how to put these two ends together.

Chapter 9, Forms and Validation - Starting with the Register Page, is a step-by-step tutorial on how to create the register page of a TaskAgile application, from the frontend to the backend, including unit tests at both ends.

Chapter 10, Spring Security - Making Our Application Secure, is a step-by-step tutorial on how to create the login page of a TaskAgile application, from the frontend to the backend, including end-to-end testing of the register page and the login page.

Chapter 11, State Management and i18n - Building a Home Page, is a step-by-step tutorial on how to create the home page of a TaskAgile application, covering the use of Vuex and the implementation of i18n.

Chapter 12, Flexbox Layout and Real-Time Updates with WebSocket - Creating Boards, is a step-by-step tutorial on how to create a boards-based UI by using Flexbox, as well as how to implement real-time updates with WebSocket.

Chapter 13, File Processing and Scalability - Playing with Cards, is a tutorial on the implementation of cards on the boards page. It focuses on file processing and the use of the message queue. 

Chapter 14, Health Checking, System Monitoring - Getting Ready for Production, focuses on the use of Spring Profile and Spring Boot Actuator to prepare for application release.

Chapter 15, Deploying to the Cloud with Jenkins - Ship It Continuously, introduces continuous delivery, the creation of API integration tests, and the use of Jenkins and Docker to ship an application.

Download the example code files

You can download the example code files for this book from your account at www.packt.com. If you purchased this book elsewhere, you can visit www.packt.com/support and register to have the files emailed directly to you.

You can download the code files by following these steps:

  1. Log in or register at www.packt.com.
  2. Select the SUPPORT tab.
  3. Click on Code Downloads & Errata.
  4. Enter the name of the book in the Search box and follow the onscreen instructions.

Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:

  • WinRAR/7-Zip for Windows
  • Zipeg/iZip/UnRarX for Mac
  • 7-Zip/PeaZip for Linux

The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Building-Applications-with-Spring-5-and-Vue.js-2. In case there's an update to the code, it will be updated on the existing GitHub repository.

We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!

Download the color images

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "We will need to refactor BoardPage to make both routes work."

A block of code is set as follows:

 // Close a card
if (to.name === 'board' && from.name === 'card') {
this.closeCardWindow()
this.openedCard = {}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

 watch: {
'$route' (to, from) {
// Switch from one board to another
if (to.name === from.name && to.name === 'board')

Any command-line input or output is written as follows:

$ mvn install

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "You can click the Attachment button to upload files."

Warnings or important notes appear like this.
Tips and tricks appear like this.
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image