L
L
LNK2018-07-08 15:55:40
API
LNK, 2018-07-08 15:55:40

What is the name of this type of API and is it convenient to use Laravel when developing it?

Greetings.
What is the name of the API type, like VK? The Vk API methods have the form wall.get, wall.post, messages.delete, ..., which can be accessed using GET or POST requests. Is it a RESTful API?
I want to develop an API similar in appearance to the Vk API. What is the best and most convenient way to write it - in pure, vanilla php, or using Laravel? As I understand it, Laravel is intended more for developing sites, will it be possible to write an API "beautifully" and "correctly" on it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Romashkan, 2018-07-08
@NikHaker

1. Api VK is not rest
2. Rest is what is described in Roy Fielding's dissertation and in his reports, blog. The rest is from the evil one (and from schoolchildren)
3. REST is a clear architectural constraints needed to ensure maximum scalability, and successfully ensured that the web has grown to unrealistic proportions. the browser is quite a rest client
4. Implementing your own rest client is some kind of perversion, just like trying to organize the work of spa / mobile apps through rest, and almost none of those who call their api rest does this
5. If you climbed here, you don't need rest, rpc is enough for you

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question