What is GraphQL anyway?

GraphQL becomes really popular in these days, what's GraphQL anyway, is it something similiar with SQL, is it just replacement of SQL?

For current usage, Graphql is not gonna replace SQL, because most of todays application  using GraphQl in fact still need a database to get data, and database system like MySQL, not changing, and it is pretty dangerous if you expose GraphQl to directly connecting to your database, it is mainly becuase GraphQL can be queriend front frontend application.

GraphQl is just a spesification, people can doing whatever they want with a spesification but mostly in current most uses, is how you can query a data from front end application that has spesific limitation by the server side of your application.

It can be use to get your data, it can be use to delete a data, it can be use to updating your data, pretty much everything we need for an application.

GraphQL is a query language for APIs and a run time for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools.


Comments

Popular posts from this blog

Flixify Video Streaming Platform

ERROR 1348 Column Password Is Not Updatable When Updating MySQL Root Password

Push Notification Cordova, FCM And PHP