How to use Angular 2 with Microservices?

Asked

Viewed 593 times

2

Hello. I have just completed my Angular 2 course. And I would like to know if there is any course that teaches using this tool with Microservices. I know that there are several frameworks that offer this type of functionality, such as Kubernetes and Spring. But I can’t find any material to teach you how to use that next to Angular.

Note: The material may be in English.

Ever since I thank.

  • Kubernetes is not a development framework. It is an Infrastructure platform. It is a platform for automatic deploying, scaling, and management of containerized applications. With Kubernetes, you can create and run written applications in any language, and even applications don’t necessarily have to be web. For more information, there is the website of Kubernetes

1 answer

0

TL;DR useful courses:

https://www.udemy.com/microservices-with-spring-cloud/

https://www.udemy.com/courses/search/? q=Kubernetes (any of these Norwegian courses that are up to date)

https://br.udacity.com/course/scalable-microservices-with-kubernetes--ud615

https://www.udemy.com/angular-4-java-developers/ (It will teach you how to integrate angular front and back java spring, but to back up Microservices looks for spring-cloud)

And of course, look for keywords of this answer of mine, and the others, on Google, and you will find documentation and a lot of material.

About your question

There are several problems with your question. First, Microservices refers to an architectural style that structures an application as a set of poorly coupled services. It doesn’t tie you to any technology, it doesn’t tie you to anything. In fact, one of the ideas of using a microservice-based architecture is precisely to be able to write each of the services using the technology you want, as long as this 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.

It won’t be frameworks that make you follow this kind of architecture... it will only depend on how you assemble your solution. Frameworks will in fact most likely get in the way of building an architecture based on Microservices. There are several frameworks that help you build a monolithic architecture, which is kind of the opposite of an Microservices architecture.

Kubernetes, which you mentioned in your question, has a lot to do with Microservices. As stated by Eduardo in the comment above, Kubernetes is a tool for management, automation, self-scaling and Scheduling containerized applications. Often following current trendings, organizations use containerization technologies to isolate and simplify the deployment and maintenance of their Microservices. Each service goes in a container, and Kubernetes simplifies deployment, self-scaling, and takes away much of the human interventions in production.

Spring-Cloud will help you already maintain some design standards that are expected 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).

Browser other questions tagged

You are not signed in. Login or sign up in order to post.