Most Popular
1. THE INFLATION MONSTER is Forecasting RECESSION - Nadeem_Walayat
2.Why APPLE Could CRASH the Stock Market! - Nadeem_Walayat
3.The Stocks Stealth BEAR Market - Nadeem_Walayat
4.Inflation, Commodities and Interest Rates : Paradigm Shifts in Macrotrends - Rambus_Chartology
5.Stock Market in the Eye of the Storm, Visualising AI Tech Stocks Buying Levels - Nadeem_Walayat
6.AI Tech Stocks Earnings BloodBath Buying Opportunity - Nadeem_Walayat
7.PPT HALTS STOCK MARKET CRASH ahead of Fed May Interest Rate Hike Meeting - Nadeem_Walayat
8.50 Small Cap Growth Stocks Analysis to CAPITALISE on the Stock Market Inflation -Nadeem_Walayat
9.WE HAVE NO CHOICE BUT TO INVEST IN STOCKS AND HOUSING MARKET - Nadeem_Walayat
10.Apple and Microsoft Nuts Are About to CRACK and Send Stock Market Sharply Lower - Nadeem_Walayat
Last 7 days
AI Tech Stock PORTFOLIO NAME OF THE GAME - 29th June 22
Rebounding Crude Oil Gets Far Away from the Bearish Side - 29th June 22
UK House Prices - Lets Get Jiggy With UK INTEREST RATES - 28th June 22
GOLD STOCKS ARE WORSE THAN GOLD - 28th June 22
This “Bizarre” Chart is Wrecking the Stock Market - 28th June 22
Recession Question Answered - 28th June 22
Technical Analysis: Why You Should Expect a Popularity Surge - 28th June 22
Have US Bonds Bottomed? - 27th June 22
Gold Junior Miners: A Bearish Push Is Coming to Move Them Lower - 27th June 22
Stock Market Watching Out - 27th June 22
The NEXT BIG EMPIRE WILL BE..... CANZUK - 25th June 22
Who (or What) Is Really in Charge of Bitcoin's Price Swings? - 25th June 22
Crude Oil Price Forecast - Trend Breaks Downward – Rejecting The $120 Level - 25th June 22
Everyone and their Grandma is Expecting a Big Stocks Bear Market Rally - 23rd June 22
The Fed’s Hawkish Bite Left Its Mark on the S&P 500 Stocks - 23rd June 22
No Dodging the Stock Market Bullet - 23rd June 22
How To Set Up A Business To Better Manage In The Free Market - 23rd June 22
Why Are Precious Metals Considered A Good Investment? Find Out Here - 23rd June 22
UK House Prices and the Inflation Mega-trend - 22nd June 22
Sportsbook Betting Reviews: How to Choose a Sportsbook- 22nd June 22
Looking to buy Cannabis Stocks? - 22nd June 22
UK House Prices Momentum Forecast - 21st June 22
The Fed is Incompetent - Beware the Dancing Market Puppet - 21st June 22
US Economy Headed for a Hard Landing - 21st June 22
How to Invest in EU - New Opportunities Uncovered - 21st June 22
How To Protect Your Assets During Inflation - 21st June 22
AI Tech Stocks Current State, Is AMAZON a Dying Tech Giant? - 20th June 22
Gold/Gold miners fundamental checkup - 20th June 22
Personal Finance Tips: How To Get Out Of A Tough Financial Situation - 20th June 22
UK House Prices Relative to GDP Growth - 19th June 22
Will Global Markets Be Pushed Deeper Into Crisis Event By The US Fed? - 19th June 22
Useful Things You Need To Know About Tweezer Top Candlestick Pattern - 19th June 22

Market Oracle FREE Newsletter

How to Protect your Wealth by Investing in AI Tech Stocks

Why GraphQL? The Benefits Explained

Companies / Internet Aug 12, 2019 - 01:05 PM GMT

By: Sumeet_Manhas

Companies

GraphQL is a query language that was created in 2012 by Facebook. It aims to provide people with an alternative solution to the conventional REST API architecture. At its core, GraphQL offers a syntax that describes how data should be asked for, i.e. a Schema. GraphQL operates by creating a single endpoint that has the responsibility of accepting queries, making it database agnostic. This is as opposed to having a reliance on the approach REST API follows, which involves there being different endpoints for each service. In this blog post, we are going to give you a further insight into GraphQL by explaining the advantages.


No over-fetching - There is only one place to begin, and this is with the fact that there is no over-fetching in GraphQL. When it comes to Restful API, a mobile client will tend to over-fetch data when there is an identical API as the web client. However, this does not happen with GraphQL. This is because the mobile client can select a different number of fields, ensuring only the information that is needed is fetched for what is on screen.

Modern trends are embraced - Another benefit associated with GraphQL is that modern trends are embraced when it comes to how applications are built. You could have only one backed application yet multiple clients on smartwatches, phones, and the web who depend on the data. GraphQL can be utilised to connect both worlds while also fulfilling the requirements of each client application without each client needing a dedicated API for each client.

Single source of truth - For GraphQL applications, the GraphQL scheme is the single source of truth. It offers a central location, where you will find all of the available data described. The GraphQL schema tends to be defined on the server-side. However, clients can write (mutation) and read (query) data based on the schema. In essence, the application’s server-side provides all of the details regarding what is available on its side.

There are lots of great tools available - Aside from the points that have already been mentioned, another benefit is that there has become a market for complementary tools. This is something that has developed because of the popularity of GraphQL. You can read about the different GraphQL tools online for a better understanding. Some of the best include Visual GraphQL Editor, GraphCMS, GraphQL Docs, Apollo Launchpad, and GraphQL Voyager.

As you can see, there are a number of different advantages that are associated with GraphQL. This merely scratches the surface as well. Other benefits include GraphQL versioning, the fact the query language is strongly typed, GraphQL introspection, and GraphQL Schema stitching. It perhaps comes as no surprise, therefore, that this is being used by a number of well-known companies. Some examples of these businesses include The New York Times, WordPress, Yelp, Twitter, and Shopify. This is a testament to just how effective this type of query language is.

By Sumeet Manhas

© 2019 Copyright Sumeet Manhas - All Rights Reserved

Disclaimer: The above is a matter of opinion provided for general information purposes only and is not intended as investment advice. Information and analysis above are derived from sources and utilising methods believed to be reliable, but we cannot accept responsibility for any losses you may incur as a result of this analysis. Individuals should consult with their personal financial advisors.


© 2005-2019 http://www.MarketOracle.co.uk - The Market Oracle is a FREE Daily Financial Markets Analysis & Forecasting online publication.


Post Comment

Only logged in users are allowed to post comments. Register/ Log in