Unknown GraphQL Tutorial in Hindi | GraphQL Applications Concepts in Hindi | My Project HD
X

GraphQL Tutorial in Hindi | GraphQL Applications Concepts in Hindi

GraphQL Tutorial in Hindi | GraphQL Applications Concepts in Hindi


यह chapter विभिन्न GraphQL components और उनके एक दूसरे के साथ communicate करने के तरीके पर discusses करता है। entire application components को distinguished के रूप में पहचाना जा सकता है -


  • Server-side Components
  • Client-side Components

Server-Side Components

GraphQL Server Side पर core component बनाता है और GraphQL client applications से आने वाले Question को parse करने की अनुमति देता है। Apollo Server GraphQL specification का सबसे अधिक इस्तेमाल किया जाने वाला implementation है। Other server programming components में निम्नलिखित शामिल हैं -


1. Schema

एक GraphQL Schema किसी भी GraphQL server implementation के center में होता है और इससे connect होने वाले Client के लिए उपलब्ध functionality को describe करता है।

2. Query

एक GraphQL Query Database या legacy API's से Data retrieve करने के लिए Client Application Request है।

3. Resolver

Resolver GraphQL Operation को Data में बदलने के लिए instructions प्रदान करते हैं। वे Resolver function को define करके Query को Data से हल करते हैं।



Client-side Components

1. GraphiQL

GraphQL queries और mutations के editing और testing के लिए Browser आधारित interface।

2. ApolloClient

GraphQL Client Application बनाने के लिए सबसे अच्छा Tool। सभी javascript front-end के साथ अच्छी तरह से Integrates होता है।