A
A
Alexey2017-09-18 12:43:25
JavaScript
Alexey, 2017-09-18 12:43:25

How to implement interaction between Angular and Java?

Hello. I have read that Angular is only used for single pagers.
Questions:
1. Is it true?
2. I'm a back-end developer and want to learn "trendy" UI frameworks. One of them is Angular 4, for this I want to make some project which is clearly more than one page. Back-end will be in Java, DBMS - postgresql. Is it possible to arrange interaction between Angular4 and my backend via REST API? If Angular4 is not suitable for this task - how to organize interaction? What frameworks can be used?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
Cr2ed, 2017-09-18
@Majestik12

>> Is it possible to communicate between Angular4 and my backend via REST API?
Angular allows you to interact through a REST API. Now almost any fashion framework can do this out of the box.
>> I've read that Angular is only used for one-pagers
. This does not mean that you will have a single page. Angular calls depending on the current path in the browser to display the content you need.

Z
Zakharov Alexander, 2017-09-18
@AlexZaharow

>> I've read that Angular is only used for one-pagers
. Well, that's how you do it. It means that you can make a one-page site, because. all operations can be done through ajax, but you can also make as many pages as you want.
>> I'm a back-end developer and want to learn "trendy" UI frameworks. One of them is Angular 4
I also want to learn angular4, but somehow my hands do not reach. First you need to learn typescript. )))
As for subj, all interaction with the backend is carried out by the black box method through ajax. How you use it - php_curl, jquery, angular, C# webrequest - doesn't matter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question