Комментарии:
Thank you for the excellent video. But why use PUT for a search instead of using GET?
Ответитьthe high hats of the rap music in the background are very distracting
Ответитьwhere is soap?
Ответитьexcellent
ОтветитьExcellent, Thank you!
ОтветитьThere are no such a “problems” in Rest CRUDs. It is not a protocol, but an agreement, a pattern
ОтветитьWhat happens to SOAP web services? Many enterprises use it a lot.
ОтветитьImportant aspect of RPC that was not mentioned: in general RPC leads to coupling of client and server, that is, implementation of server actions is reflection of what client (or particular implementation of client) needs. This limits flexibility and reusability. It is great for creating APIs that are going to be used closely with a particular product, but that limits potential future exposition of the API to other usages, like launching a public API for the product. Since the server API was designed around product needs (usually more high level actions and lacking granularity), moving to a different use case or opening up the API might be difficult to untangle.
ОтветитьGRAPHql is always POST.
ОтветитьWhy is for search in your REST example the PUT method being used and not the GET method?
ОтветитьSwagger and tRPC are worth a mention
ОтветитьThere's nothing stopping you from customizing the REST Api to get smaller payloads by using query params to tell the server what fields you want.
/api/user/1?q=name,age for example would return name and age only.
cool!
Ответитьdeactivate, rest, PATCH /users/user-1 , status: 'deactivated'
there's no need for actions
really appreciate this. As others have noted...too many go straight to the bits and bytes and skip the practical considerations. Great video. Two thumbs up.
ОтветитьTry to reduce noise of background music, when it's on high nodes you are barely audible, TBH it's not adding any value.
Ответить"with rest and rpc the api often returns fields that the client doesn't use" -- this is true, however, modern rpc frameworks like grpc do have things like FieldMask which solves this problem.
ОтветитьThanks!
Ответитьnice and clean
ОтветитьGreat video, easy to understand and with a lot of useful information.
Ответитьbas na bhau
kiti ata .rest paryant mahit hot ata jara jast hotay
Great video
ОтветитьNot enough info on RPC. The pros/cons of rest api and rpc depends on how you implement the apis in the backend. You could have a rest api that does more actions too (search, retrieve, update and return updated resource for example)
ОтветитьThanks very much, that's really helpful.
ОтветитьThat was a neat video about them . I really enjoyed you explanation . Thanks
ОтветитьNice session that provides overview of the various types of API. Separate videos detailing each of the types along with examples would be really helpful!
ОтветитьThanks for such a good series. Its quite hard to find such series. Mostly are based on coding only and dont cover the theoretical part.
Ответитьyo sir, why aren't you posting now a days. please post series like this. thankyou
ОтветитьThank you for creating this video. I was a bit confused about the use case for both RPC and GraphQL but now I understand the tradeoffs well enough to know when it's worth using one over the other. One thing I would've liked though, which maybe useful for future videos, is to have an example use case for each, that goes into detail for a simple application, which would illustrate tradeoffs potentially better.
ОтветитьCan two of these be combined in a single application?
ОтветитьBest IT explanation video watched ever! Clear and Precise! Love it!
ОтветитьGreat explanation. Thank you so much.
Ответитьthanks!
ОтветитьVery helpfull Thanks.
ОтветитьThank you for this series. Learnt a lot of important stuff that is not so easily available.
Suggestion: please add some examples of each case, maybe you can use a tool like postman
rest api : good for exposing crud operations
rpc : good for exposing several actions
Graphql: Good when need data filtering on client side.(Flexibility)
Great information & explanation. Thank you .
ОтветитьJust what I was looking for!
ОтветитьThanks for explaining in simple and easy way.
ОтветитьThe way you explain is just simply golden. Subscribed and Liked.
ОтветитьVery helpfull video, thank you!
Ответитьgreat
ОтветитьBrooo you are awesome 🤘🤘🤘, I am grateful to discover this channel
Ответить