I am currently trying to create a reliable basic HTTP infrastructure.
I read a book called "Restful webservices" and he began to work on this area.
I now have a bigger picture of why a resource-oriented architecture is good, but there are still blurry parts that I cannot understand. I will try to explain my thoughts and see if anyone can make me smarter.
This is not to say that everything is an object. A car, a pen, a book, and even abstract things, such as an idea and a concept, can be an object. Because the word object is just a human invention for "something."
Could you also say that every “something” is a resource. Coin, computer, and even debt can be a resource. But the question is to whom. Duty is a resource, but not the guy who owes it, but the guy he deserves. The same thing with human remains. They are resources, but not for us, but for maternal nature, because for this we need a balance - in and out - of the basis of science (programming).
Resources (objects) seem to be nouns. What about adjectives and verbs? In fact, it seems that everything can be described using nouns. For instance.
- Adjective: car red
- Noun: The car is colored red.
- Adjective: I'm tired
- Noun: I have fatigue.
- Verb: I will kill him.
- Noun: I create kill
- Verb: I kiss her
- Noun: I make a kiss
, = = . "-" .
, , , , .
, .
, 4 ( , ) HTTP- - POST, GET, PUT, DELETE - , API, API CRUD-. , - , , , . , , , -.
, "" "". , "" "". GET PUT - , " " " ".
. , . . . , , HTTP Restful API -, , ( uri, ..), POST, GET, PUT, DELETE.
/. :
result = Books.search("Foo");
:
result = Search.create(Books, "Foo");
?
, - API HTTP-?
"" "" ?