Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Full-Stack Web Development with Vue.js and Node

You're reading from   Full-Stack Web Development with Vue.js and Node Build scalable and powerful web apps with modern web stack: MongoDB, Vue, Node.js, and Express

Arrow left icon
Product type Paperback
Published in May 2018
Publisher Packt
ISBN-13 9781788831147
Length 366 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
 Sharma Sharma
Author Profile Icon Sharma
Sharma
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Title Page
Copyright and Credits
PacktPub.com
Contributors
Preface
1. Introducing MEVN FREE CHAPTER 2. Building an Express Application 3. Introducing MongoDB 4. Introducing REST APIs 5. Building the Real Application 6. Building Authentication with passport.js 7. Building OAuth Strategies with passport.js 8. Introducing Vuex 9. Testing an MEVN Application 10. Going Live 1. Other Books You May Enjoy Index

SPA versus MPA


SPA and MPA serve different purposes. You may want to use one over the other, depending on your needs. Before you start your application, ensure that you are clear about the kind of application that you want to build.

Pros of using MPAs

MPAs are the best approach if you want to make your application SEO friendly. Google can crawl different pages of your application by searching the keywords that you assign on each page, which is not possible in an SPA since it has only a single page.

Cons of using MPAs

There are a few cons of using MPAs:

  • The development work for an MPA is much greater than for an SPA because the frontend and backend are tightly coupled.
  • MPAs have tightly coupled frontend and backend, which makes it harder to separate the work between frontend and backend developers.

Pros of using SPAs 

SPAs provides a lot of benefits:

  • Reduced server response time: SPAs fetch all the data needed on the first load of the website. With such an application, the server does not need to...
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 £13.99/month. Cancel anytime
Visually different images