How to use Angular 2 with Microservices? [closed]

2

Hello. I just completed my Angular 2 course. And I would like to know if there is any course that teaches to use this tool with Microservices. I know that there are several frameworks that offer this kind of functionality, such as Kubernetes and Spring. But I can not find material that teaches how to use it close to Angular.

Note: The material may be in English.

Thank you in advance.

    
asked by anonymous 17.03.2017 / 19:26

1 answer

0

TL; DR useful courses:

link

link (any of these kubernetes courses that are updated)

link

link (It will teach you to integrate front angular and back java spring, but to back in the microservice style looks for spring-cloud)

Of course, look for key words from my answer, and from the others, on google, and you'll find documentation and lots of material.

About your question

There are several issues with your question. First, microservices refer to an architectural style that structures an application as a set of services coupled. It does not bind you to any technology, it does not bind you to angularity or anything. In fact, one of the ideas of using a Microservice-based architecture is precisely being able to write each service using the technology you want, as long as that heterogeneity makes sense. It is enough that the services communicate in a standard way, know what they receive and send, being in http even, or rabitmq, mqtt, kafka, or whatever.

They will not be frameworks that will make you follow this kind of architecture ... this will only depend on how you build your solution. Frameworks will most likely get in the way of building a microservice-based architecture. There are a number of frameworks that help you build a monolithic architecture, which is rather the opposite of a microservice architecture.

Kubernetes, which you mentioned in your question, has a lot to do with microservices. As stated by Eduardo in the above comment, kubernetes is a tool for management, automation, autoscaling and scheduling of containerized applications. Often, following current trendings, organizations use containerization technologies to isolate and simplify the deploy and maintenance of their microservices. Each service goes in a container, and kubernetes simplifies deploying, autoscaling, and takes a lot of human interventions into production.

Spring-Cloud will help you to maintain some of the design patterns that you expect when implementing an infrastructure that follows microservices and distributed systems. But it will limit you to java / jvm. It is still an interesting technology to study anyway (kubernetes is "less optimized", but ends up being more generic, and more free).

    
23.01.2018 / 04:43