G
G
grabbee2017-04-12 21:04:27
JavaScript
grabbee, 2017-04-12 21:04:27

How to properly interact with the API through JS?

In the backbone I met an interesting way of "modeling". Now I'm trying VUE - there is nothing about requests in it. Tried AXIOS - there only requests to send/receive. Searched, found nothing.
How all the same it is correct to communicate with the server from JS? Possibly of the Ekbon type

model.get
model.set
model.save
model.destroy

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2017-04-12
@Sanasol

It doesn't work that way in today's world.
https://github.com/vuejs/vuex
vuex.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question