Bomattw3 - Tổng hợp nhiều tin tức đa lĩnh vực tại Việt Nam
  • Home
  • Giáo Dục
  • Học Tiếng Anh
  • Ẩm Thực
  • Kinh Doanh
No Result
View All Result
Tuesday, June 21, 2022
  • Home
  • Giáo Dục
  • Học Tiếng Anh
  • Ẩm Thực
  • Kinh Doanh
No Result
View All Result
Bomattw3 - Tổng hợp nhiều tin tức đa lĩnh vực tại Việt Nam
No Result
View All Result

REST vs GraphQL – What's the best kind of API?

admin by admin
June 21, 2020
in Giải Trí
41
REST vs GraphQL – What's the best kind of API?



Should you build/ use a REST API or a GraphQL API? Can you only use GraphQL with React? Time for a detailed comparison!

Join the full “Node.js – The Complete Guide” course:
Join our Academind Community on Discord for free:
Exclusive discount also available for our “React.js – The Complete Guide” Course:

Check out all our other courses:

———-

Build a REST API from scratch with Node.js:
Build a GraphQL API from scratch with Node.js:

———-

• Go to and subscribe to our newsletter to stay updated and to get exclusive content & discounts
• Follow @maxedapps and @academind_real on Twitter
• Follow @academind_real on Instagram:
• Join our Facebook community on

See you in the videos!

———-

Academind is your source for online education in the areas of web development, frontend web development, backend web development, programming, coding and data science! No matter if you are looking for a tutorial, a course, a crash course, an introduction, an online tutorial or any related video, we try our best to offer you the content you are looking for. Our topics include Angular, React, Vue, Html, CSS, JavaScript, TypeScript, Redux, Nuxt.js, RxJs, Bootstrap, Laravel, Node.js, Progressive Web Apps (PWA), Ionic, React Native, Regular Expressions (RegEx), Stencil, Power BI, Amazon Web Services (AWS), Firebase or other topics, make sure to have a look at this channel or at academind.com to find the learning resource of your choice!

Nguồn: https://bomattw3.com/

Xem thêm bài viết khác: https://bomattw3.com/giai-tri/

Xem thêm Bài Viết:

  • TẠO TỆP BÌNH SAI LƯỚI ĐỘ CAO (DPSURVEY)
  • Top 5 pha combo tướng Raz của GTV XB xem mà thốn tận rốn
  • Case Study GTV SEO Google Map – TẠO LẬP GOOGLE DRIVE & TRELLO
  • ROBLOX PIGGY @ the MALL! Chapter 10 FGTeeV Multiplayer Escape (The Secret is Out)
  • BÉ CHANH CẦM RAZ CÙNG PS MAN TÂM SỰ LÝ DO KHÔNG ĐÁNH GIẢI l BE CHANH GAMING
Previous Post

Mẫu váy đầm nữ 2020 đẹp I Beautiful dress trends 2020

Next Post

Nên Xài Photoshop Phiên Bản Nào? | Thùy Uyên

Next Post
Nên Xài Photoshop Phiên Bản Nào? | Thùy Uyên

Nên Xài Photoshop Phiên Bản Nào? | Thùy Uyên

Comments 41

  1. C. A. Weber says:
    2 years ago

    What about json:api?

    Reply
  2. Ot Boss says:
    2 years ago

    Rest APIs can do everything that graphql does. Rest APIs can be programmed to accept the fields to be responded as parameters. Graphql adds more overhead and rest APIs are more extensible. No significant incentive to use graphql.

    Reply
  3. Rodrigo Graça says:
    2 years ago

    Why do you say the biggest advantage is that it send less data to the frontend when REST APIs can do the same, when you are building them you send what has to be sent and nothing more.

    Reply
  4. Georgios Mylonas says:
    2 years ago

    Thanks man! Fantastic work!

    Reply
  5. #askDigitalArchitect says:
    2 years ago

    Another fantastic content from MAX 🙂 Thank you.

    Reply
  6. Dan Thory says:
    2 years ago

    Great explanation, thanks Max!

    Reply
  7. Andrew Yang says:
    2 years ago

    Hello Max! Could you add a bonus section of GraphQL in your React Complete Guide course in Udemy? It would be wonderful! Thanks!

    Reply
  8. Wennie Tang says:
    2 years ago

    Max is always the best!

    Reply
  9. yaron levi says:
    2 years ago

    We can use FaunaDB which support GraphQL natively.

    Reply
  10. Alex Carvajal says:
    2 years ago

    I'm taking your React course on Udemy right now, it's so great seeing you on so many platforms teaching and passing on your knowledge! I always find your tutorials helpful, easy to follow, and you convey concepts very succinctly.

    Reply
  11. Fateme Mirjalili says:
    2 years ago

    Great video! Your videos are really helpful. thank you!

    Reply
  12. Xoul Goodman says:
    2 years ago

    I wanna give this video more than one thumb

    Reply
  13. Илья Смирнов says:
    2 years ago

    Thanks for video!
    Actually you can retrieve fields of object you want using JSON REST API
    https://jsonapi.org/format/#fetching-sparse-fieldsets
    REST api also has spec for pagination, filtering and other things

    The problem of one endpoint is that you cannot differentiate queries in balancers because they do not log the body of http requests

    Reply
  14. KE McAdams says:
    2 years ago

    im running this example and everything looks good in eb however im getting a 500 error – .eba-2mppykm8.us-west-2.elasticbeanstalk.com/:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)

    Reply
  15. Jalindrine Lastname says:
    2 years ago

    At 5:32 — I'd probably stay away from saying GET requests don't have a body. Some good info at StackOverflow about this. This comment from 2015 notes that RFCs 7230-7237 removed the phrase "the message-body SHOULD be ignored when handling the request" from the HTTP spec: https://stackoverflow.com/questions/978061/#comment68112820_983458 . So initially not using the body from a GET request was a [strong] recommendation ("should"), but now even that recommendation has been removed.

    As a practical example, ElasticSearch depends on GETs with bodies (https://stackoverflow.com/questions/978061/http-get-with-request-body#20349624).

    If you need to do something covered by the verb GET and need a body to do it (perhaps there's a query that's routinely too long for a querystring), I believe we're getting much closer to that being standard practice.

    Reply
  16. Ten Minute Tokyo 2 says:
    2 years ago

    No APIs.

    Reply
  17. Marc Peace says:
    2 years ago

    There are a lot of things which are obvious in this explanation. Please in the future, go straight to the essential things.

    Reply
  18. Atanas Kovachev says:
    2 years ago

    I had a job interview before 2 weeks ago. And I was asked if i know what a GraphQL is, well i didn't knew cause so far i've used only Rest APIs and never had to dive in into the GraphQL, but now thanks to this 17 minutes video, I can understand the concepts behind the GraphQL and for what is used for. And I would like to thank you! All of your videos are very well structured and explained in a way that everyone can understand. I own almost all of your courses on Udemy and I learn a lot from you. Your courses are very well focused and cover lots of topics that most of the instructors are considering as "not important enough". So keep up the good work!

    Reply
  19. Desong Yu says:
    2 years ago

    Another great video Max! Excellent work.

    Reply
  20. Huy Nhựt says:
    2 years ago

    You say graphql is only work with POST method, maybe this is wrong. I see "GraphQL HTTP server should handle the HTTP GET and POST methods" in document of graphql. And can you create a video tutorial for uploading images with Graphql that has the same progress as Axios?

    Reply
  21. Tobias Feil says:
    2 years ago

    Schön erklärt, danke!

    Reply
  22. Gabe Coelho says:
    2 years ago

    Great explanation! I've never written an API in GraphQL but now I'm inclined to do so to try it out. Thank you!

    Reply
  23. Sergio Díaz Nila says:
    2 years ago

    lets be honest most people will choose the most popular "proven" type for a new project even if it doesn't fit the problem because "we already know a lot about X….." so then they will twist X to fit any future requirements.

    building bad and horrible REST APIs is easier but if you want to use HATEOAS then you need help is not as easy as you claim to be.

    Reply
  24. Rizwan anwar says:
    2 years ago

    Really helpful. Thanks!

    Reply
  25. simon dehaut says:
    2 years ago

    I suggest a drinking game on "API"

    Reply
  26. Martin van Rensburg says:
    2 years ago

    Hi there everyone! We here at Prisma are looking for a GraphQL Advocate to join our team in Berlin. I was hoping that someone in the GraphQL community, who is super enthusiastic about spreading the word about GraphQL, would be keen on joining us? Or perhaps you know someone who would?

    If you do, give me a shout at rensburg@prisma.io. Would love to hear from you.

    Reply
  27. Hello World says:
    2 years ago

    I wonder where the down vote come from?

    Reply
  28. Konstantinos Karagiannis says:
    2 years ago

    Excellent explanation!

    Reply
  29. Emanuel Vargas says:
    2 years ago

    I think what you said in 6:17 might be wrong. Graphql does support GET method, it's not the most common but saying "Graphql only works with POST" is way off. So in case you want a graphql response to get cached you will have to use GET, since caching is not supported for POST method. Other then that I think the tutorial was pretty clear and helpful.

    Reply
  30. Daniel Hallé says:
    2 years ago

    I hope you will build a serie on graphQL with Prisma2! I propose vue.js as frontend if you do 🙂

    Reply
  31. Mykel Chang says:
    2 years ago

    Interesting video but it does not answer the question.

    Reply
  32. Tyler McWilliam says:
    2 years ago

    Hey it's the guy from udemy

    Reply
  33. Mike Bell says:
    2 years ago

    This was very useful. Now I understand where and when I would want to use GraphQL over REST. Thanks Max!

    Reply
  34. ayaz mahmood says:
    2 years ago

    Thanks Sir.

    Reply
  35. Dharmaraj Muthukrishnan says:
    2 years ago

    Thank you for the tutorial sir. But i still couldn't understand whats the advantage of graphql.. It is not solving a problem

    Reply
  36. Misha says:
    2 years ago

    Do you think graphql was made to solve the problems of http/1.1 and with h/2 it has become redundant? Fundamentally, I feel seperation of anything is better than bulk executions

    Reply
  37. Misha says:
    2 years ago

    SOAP

    Reply
  38. suraj sudhera says:
    2 years ago

    wait so you are saying the only benefit of GraphQL is that you can specific which field do you want ? But that can also be achieved using rest apis ofcourse we need to add more logic in the backend but it totally possible only with few lines of code. So are you saying GraphQL is nothing but hype ?

    Reply
  39. Chlorophant says:
    2 years ago

    404k subs atm, 1 mill not found

    Reply
  40. Fernando Zorrilla says:
    2 years ago

    From a newbie stand point of view, GraphQL seems an evolution of XML Web service using Json and added some spice in the result. I know is not like the but it's looks like it. Great explanation, very clear and understandable.

    Reply
  41. Marc Gràcia says:
    2 years ago

    With REST endpoint,function and attributes are parsed without needing to read the full body of the request. It can be done very fast and with no buffering. Then just stream the body to the correct handler.
    GraphQL needs to read the full JSON body before deciding what to do, and which endpoints to send. which means huge buffering issues and a very complicated handling.
    And all this for just a standard way to pass attributes?
    Would be much better to just agree on a default http attribute spec for REST and call it a day.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Tin Hot

[02] Sách nói Tìm lại chính mình -Chương 01 Phần Não Xã Hội Khiến Ta Trở Thành Người Ta Nghĩ Full HD

[02] Sách nói Tìm lại chính mình -Chương 01 Phần Não Xã Hội Khiến Ta Trở Thành Người Ta Nghĩ Full HD

June 12, 2020
[04].Sách nói Tìm lại chính mình P1 Chương3 Mối Quan Hệ Giữa Niềm Tin Và Ký Ức

[04].Sách nói Tìm lại chính mình P1 Chương3 Mối Quan Hệ Giữa Niềm Tin Và Ký Ức

June 17, 2020
[A SÍNG  REVIEW] –  5 cuốn sách tự học tiếng Hàn hữu ích

[A SÍNG REVIEW] – 5 cuốn sách tự học tiếng Hàn hữu ích

June 27, 2020
[Elight] – #6 Động từ trong tiếng Anh: phân loại, cách dùng động từ  – Ngữ pháp tiếng Anh cơ bản

[Elight] – #6 Động từ trong tiếng Anh: phân loại, cách dùng động từ – Ngữ pháp tiếng Anh cơ bản

June 15, 2020
[Elight] #5 Tính từ trong tiếng anh: định nghĩa, chức năng, trật tự – Ngữ pháp tiếng Anh cơ bản

[Elight] #5 Tính từ trong tiếng anh: định nghĩa, chức năng, trật tự – Ngữ pháp tiếng Anh cơ bản

June 26, 2020
[FFS] Học toán theo Phương pháp Montessori

[FFS] Học toán theo Phương pháp Montessori

June 26, 2020
  • Chính Sách Bảo Mật
  • Liên Hệ

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Giáo Dục
  • Học Tiếng Anh
  • Ẩm Thực
  • Kinh Doanh

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.