When it comes to modern web development I’m more of an observer than a contributor, so my opinion might not carry a lot of weight. However for me all these abstractions seems to get closer and closer to querying a database using SQL directly. A carefully designed database schema would be able to support all of these use cases in a way that (at least for me) seems a lot simpler than wrapping it in new abstractions. In…
Why Graphiti?
11–20 of 47 posts
Re: Why Graphiti?
#12When it comes to modern web development I’m more of an observer than a contributor, so my opinion might not carry a lot of weight. However for me all these abstractions seems to get closer and closer to querying a database using SQL directly. A carefully designed database schema would be able to support all of these use cases in a way that (at least for me) seems a lot simpler than wrapping it in new abstractions. In…
I completely agree! I really don't understand why we don't simply ship SQL queries around, maybe a very simple subset of SQL so that it either works on most vendors or that it can be easily manipulated and adapt to different storage backend. Can somebody enlight me?
Re: Why Graphiti?
#13When it comes to modern web development I’m more of an observer than a contributor, so my opinion might not carry a lot of weight. However for me all these abstractions seems to get closer and closer to querying a database using SQL directly. A carefully designed database schema would be able to support all of these use cases in a way that (at least for me) seems a lot simpler than wrapping it in new abstractions. In…
I completely agree! I really don't understand why we don't simply ship SQL queries around, maybe a very simple subset of SQL so that it either works on most vendors or that it can be easily manipulated and adapt to different storage backend. Can somebody enlight me?
Re: Why Graphiti?
#14Earlier quoted context omitted.
I completely agree! I really don't understand why we don't simply ship SQL queries around, maybe a very simple subset of SQL so that it either works on most vendors or that it can be easily manipulated and adapt to different storage backend. Can somebody enlight me?
it is unlikely that all the data sources you will be querying now are directly available in an SQL database.
SQL should be only the syntax used to communicate with the backend, the real implementation would be in whatever make sense.
Re: Why Graphiti?
#15Earlier quoted context omitted.
> move away from what we know and love I didn't get the memo where we decided that we love JSON.
Especially when there are almost consensual better alternatives https://hjson.org
Re: Why Graphiti?
#16Earlier quoted context omitted.
I completely agree! I really don't understand why we don't simply ship SQL queries around, maybe a very simple subset of SQL so that it either works on most vendors or that it can be easily manipulated and adapt to different storage backend. Can somebody enlight me?
Exposing that much of your internal implementation details could be very problematic.
You would not expose the internal implementation, you would simply accept SQL queries, maybe against a separate view of your SQL database, or maybe against a custom backend.
SQL shuould be the query languange, not the implementation.
Re: Why Graphiti?
#17Earlier quoted context omitted.
Exposing that much of your internal implementation details could be very problematic.
Sorry, I realize my first message wasn't as clear as I wanted. You would not expose the internal implementation, you would simply accept SQL queries, maybe against a separate view of your SQL database, or maybe against a custom backend. SQL shuould be the query languange, not the implementation.
Re: Why Graphiti?
#18When it comes to modern web development I’m more of an observer than a contributor, so my opinion might not carry a lot of weight. However for me all these abstractions seems to get closer and closer to querying a database using SQL directly. A carefully designed database schema would be able to support all of these use cases in a way that (at least for me) seems a lot simpler than wrapping it in new abstractions. In…
Re: Why Graphiti?
#19Re: Why Graphiti?
#20For me, GraphQL really shines when going beyond CRUD. In my experience, many client applications aren't just querying and filtering, they're acting as a gateway for complex server processes and need to present a lot of data at once. These advantages aren't going to come through in simple CRUD examples.
GraphQL, in its current state, has some frustrating limitations, but I still think the future looks more like it than REST.