I have a question about three-tier architecture.
I have a app using Spring Boot and Angular. I wonder if :
- Presentation layer = angular
- Application layer = spring boot
Or if there are TWO three-tier architecture : angular is one and spring boot is one too.
I know Angular is not technically three-tier architecture since it's not made to interact with database which is why I would say it is only presentation layer. But I haven't read anything confirming it.
The architecture of a Spring MVC + Angular single page web app
Form-intensive enterprise class applications are ideally suited for being built as single page web apps. The main idea compared to other more traditional server-side architectures is to build the server as a set of stateless reusable REST services, and from an MVC perspective to take the controller out of the backend and move it into the browser:
The client is MVC-capable and contains all the presentation logic which is separated in a view layer, a controller layer, and a frontend services layer. After the initial application startup, only JSON data goes over the wire between client and server.
source: https://blog.angular-university.io/developing-a-modern-java-8-web-app-with-spring-mvc-and-angularjs/