D
D
Dilik Pulatov2017-07-17 12:53:13
Vue.js
Dilik Pulatov, 2017-07-17 12:53:13

JavaScript framework (VueJs) how does it work with the server?

Hello!
I just started to teach js framework (Vue)
I'm still a beginner...advise js framework how it works with the server? that is, for example, I wanted to make my admin panel in vu ... the structure of working with the server and the database, how to implement it? through ajax I get all the data (authorization data, a list of category posts, etc.)? or in another way?
and work with the form (sending a post or get requests to the specified address when submitting) also advise some better option
for the wound thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alysenko, 2017-07-17
@dilikpulatov

yes, through ajax. On the server, you write the logic for working with the database, and you give only data (json) to the client, there you already manage this data using vuejs, for example, "v-for" to display a list, etc., documentation to help.

A
Artem0071, 2017-07-17
@Artem0071

Here is a handy thing for working with the server

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question