DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Asad Anik
Asad Anik

Posted on

Understanding The Backend MVC & SPA Architecture

Backend is the backbone of an Application. You can say it should be any application like Android, iOS, Web, iOT, Robotics, Desktop, Games e.t.c Apps. Backend will definitely controls your application from back. Which people will never seen into inspect elements or else.

This is the system which can controls your application. You can create API or standalone Backend for specific Web or Mobile or you can developing or designing your own games backend too.

Actually backend will manage your applications data or states. And the backend can also communicate with Database.

Now we have some application development architectures like,

  1. MVC Architecture ( Model View Controller ).
  2. SPA Architecture ( Single Page Application ).

Also there is most popular Backend architecture besides of applications architecture we have like,

  1. Monolithic Architecture.
  2. Microservice Architecture.

MVC ( Model View Controller ) Architecture

Image description

This is the Backend’s most used and successful and traditional architecture. PHP also used this architecture on their framework call Laravel. But we can implements into any other language, frameworks like Express (Node.js), DJango (Python), Nest.js etc.

SPA ( Single Page Application ) Architecture

Image description

Single Page Application is most powerful and cross independent Backend architecture. Developed to focusing on not only developing web application. But also focused on any others application developments like: Mobile Application, Desktop Application, iOT Device, Web Application, Games, and more. Because this Backend should returns API (Application Programming Interface), that’s why any others application of Frontend should must understand this API and it knows how to communicate and deal with this.

Top comments (0)

All DEV content is created by the community!

Hey, if you're landing here for the first time, you should know that this website is a global community of folks who blog about their experiences to help folks like you out.

Sign up now if you're curious. It's free!