No video

Designing Quality APIs (Cloud Next '18)

  Рет қаралды 75,612

Google Cloud Tech

Google Cloud Tech

Күн бұрын

Пікірлер: 18
@DanDascalescu-dandv
@DanDascalescu-dandv Жыл бұрын
Highlights: * 16:49 - include the path in the id * 20:15 - use a URL instead of the id * 27:30 - best practices / implementation bias * 29:06 - indexed collection bias
@SiddharthKulkarniN
@SiddharthKulkarniN 4 жыл бұрын
Start at 5:00
@DanDascalescu-dandv
@DanDascalescu-dandv Жыл бұрын
At 4:27 actually but yeah
@krtirtho
@krtirtho 4 жыл бұрын
Would have liked more if GraphQL APIs were also discussed along side REST & RPC. Moreover, nice explanation... Thanks
@bhaveshtiwari5783
@bhaveshtiwari5783 3 жыл бұрын
I think it is more valuable for front frontend and this talk is more about backend
@LogicPhalanx
@LogicPhalanx 2 жыл бұрын
I think you can consider GraphQL to be an entity-oriented API.
@IgorDonin
@IgorDonin 2 жыл бұрын
I wouldn't say it's entity-oriented but for sure it would need a shared model. But for me it looks more like RPC. You have a fixed endpoint - like /graphql - and then you have a lot of autonomy as long as you know the data model.
@bocckoka
@bocckoka 2 жыл бұрын
entity oriented and procedure oriented maps to OO and functional it seems
@jahmanichauvet360
@jahmanichauvet360 4 жыл бұрын
This was a good place for me to start
@lhxperimental
@lhxperimental 6 жыл бұрын
I use JAX-RS to automatically Marshal and unmarsahl JSON into Java objects. Having a string like "/pet/12345" as ID instead of just 12345 would mean the parses won't work. or I will have to create an additional property in every entity to hold the string value and then extract the integer ID in post processing. Same for the other direction. Plus I probably have to name the string version of ID as id and the native integer id as int_Id or _id. So the string hack takes up the proper name "id" and the actual integer ID gets a second class name. The clean flow from database to JSON using generic code is also disturbed. Any suggestions?
@mihu86
@mihu86 4 жыл бұрын
Your JAX-RS implementation has to have a marshaller which does the convertion and it's usually well configurable. Suppose Jersey with Jackson. Then you can configure the marshaller to use only your getters/setters (actually this is the default for Jackson). So even if you have a "long" id (as a private field) you just have to provide a String getter for it. Or you can use custom serializers. But by the way you may rethink your design altogether based on the statement at 13:16 - decoupling your rest domain from your data access layer. (And this can even be somewhat automated with e.g. Spring Data REST - despite that at first sight it seems that it just exposes your persistent entities: www.infoq.com/presentations/ddd-rest/#anch142195 )
@mcnianliu
@mcnianliu 2 жыл бұрын
This is mind blower. Actually helps a lot of stuff I am working on. Does anyone happen to have those slides?
@parthibansrinivasan9182
@parthibansrinivasan9182 6 жыл бұрын
Love this talk by Martin Nally
@almostrandomnickname
@almostrandomnickname 2 жыл бұрын
Thanks very good talk !
@antonpirhonen9698
@antonpirhonen9698 4 жыл бұрын
Good and clear talk! 👍
@gatsdev
@gatsdev 4 жыл бұрын
I like this one
@RamiiYoussef
@RamiiYoussef Жыл бұрын
Very bad ideas, i'm shocked you are in google cloud.
@yashwanthnerella4031
@yashwanthnerella4031 2 жыл бұрын
Good but boring and slow!
Better API Design with OpenAPI (Cloud Next '18)
38:51
Google Cloud Tech
Рет қаралды 29 М.
What is an API and how do you design it? 🗒️✅
15:26
Gaurav Sen
Рет қаралды 725 М.
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 4,9 МЛН
CHOCKY MILK.. 🤣 #shorts
00:20
Savage Vlogs
Рет қаралды 29 МЛН
а ты любишь париться?
00:41
KATYA KLON LIFE
Рет қаралды 3,1 МЛН
API Management Best Practices (Cloud Next '18)
27:30
Google Cloud Tech
Рет қаралды 21 М.
How to Design Great APIs - Parse Developer Day 2013
32:54
Meta Developers
Рет қаралды 82 М.
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,5 МЛН
How To Design A Good API and Why it Matters
1:00:19
Google TechTalks
Рет қаралды 439 М.
How This New Battery is Changing the Game
12:07
Undecided with Matt Ferrell
Рет қаралды 209 М.
API vs. SDK: What's the difference?
9:21
IBM Technology
Рет қаралды 1,4 МЛН
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 4,9 МЛН