 Ni wajama mika maliniwa inunutik periidas na wadpei ya wakama wapu WP GraphQL kweniko wagama wakamba wadpei Tili, bilbinawenni ntiawa wadpei na wadpei na wadpei Kwaqa mwenisha, wadwei na iitahiivi nga bunumaku Sii wadpei na wadpei na wadpei Humuta kwa uniluwa themore kwa kwa hwaka zisha, kwa k jelly kwa hwaka kwa hwaka yao eno swa mwa ni nga kakudd, eno nga kwa g needle mwa na kut todo yung oma hwa nga yung quitida twa mwa ni kuduwa ni kut Ground kwika k Yayama ni wama kuikin mwa hwaka kwa kyuispe mahal, nga kutuwa ni nga kutuwa ni nga kutuwa ni, mahal kutuwa ni nga kutuwa ni nga kutuwa ni nga kutuwa ni, mha kutuwa ni nga kutuwa ni kawalani ya sukhidiko, kwa hwara wa numumak yaza ufahiri na yun tuITi kama ufumana wakupu, kwa hwana kama hwana na kf эти teza kwa na ufumana kwa kuckafutu Ntata yun wa hwana, kwa hwana hwana isi kwa mkẻ ya ufumana kwa kukutu kqutu nka kwa hupu m其o ni upani ya ni kwa hwana kaka nmwutu kwa hwana, kwa Jason nkutu wengi mkingini wa mkingini meyebi kuya mojini p warmini wa kama mnissu kama mngenia kusisha kuja Mwyebi kusisha legu Yiko ga nankaku, hibya ki hetu k wifi hibya kiki hibya kiyiki mali niITi ukojia kwa kuja yiwa uki We have to query the database we're using from Wordpress with something that looks like a JSON... ...a JSON query that brings back the same information that is also like JSON in itself. We end up having one endpoint to query a number of things. If I look at my demo site that have installed the different plugins that are available on the repository and Github for WP GraphQL is we have a number of plugins, we have the main plugin in itself that does the querying and exposes the information on the endpoint of GraphQL and then we have GraphQL which is an IDE that is inset in our admin area, you'll be able to see it right here and I'm going to run a few queries. We have one that allows for authentication, let's say if you are going to query for information or make a mutation of sorts, you can request for authentication and then there is one that is coming out, it's new, version 0.10 has just come out that exposes wukamas on the same endpoint. So therefore I'm just going to show you some of those crazy things that are happening. Now for Taylor who is building this, you can be able to just go to the different links and also on this particular in the documentation you're able to see the different plugins that are there, the one, if you go to the one that talks about the different extensions right here and if you go to the different extensions that are available and you look out for the one of wukamas right here at the bottom you can be able to go and support the Kickstarter project that is available for just to push forward this work but you'll see that it's ready and a couple of things have been thrown in there so we are ready and good to go. So in comparison to what's happening in the rest API here, let's say this is me just querying for the posts that I do have but I have so much information coming in that I don't need. I just want you to compare with what you see when we try to do something like this for just for the posts themselves. I'll hit this button and see the information that comes back. So I requested for an idea tied to an Alexa and that is all I'm getting back. Simple JSON field, simple information, actually if you look at your network monitor this cuts the response by about half the time 50% is just shaded off. So if I wanted to also get the content I am able to just get that also in an instant. So when I hit that query point I'm going to get back this information just coming in. Ah look at that. I just want you to imagine let's say if you had a mobile phone application this would work so well with whatever technology using especially for JavaScript because it's well documented, you have things like Apollo client that help you with handling the data that is coming in. Imagine the power that we get when WP GraphQL is attached with a advanced custom fields one of the biggest plugins in the WordPress repository. It adds meta fields onto our pages and posts and allows us to add simple information on each page, on each post that we can actually use maybe if we are doing to develop special components. Now I just wanted to show you that this is not the only plugin that's available rather we have a number of extensions that have come in. So we have one for WooCamas that extends all the custom post type of the products and the categories that come, the attributes, the tags and exposes them on this same endpoint. So I want to try out something for you and you can see. Marku I don't know so much about what the data structure is for the query but if I start on something by guessing products is I am able to query the products that are coming in. The products just like the posts have nodes then I can be able to get the ID of the product that's coming in. I can get the name of the product, it's a good one. I can get what else is there, the price of the product. I can get maybe the sale price, the regular price. I can even get the total sales that are attached to that item. So think of it as me developing a single page app. If I hit this endpoint and just query it with that information we still have our posts coming in nicely and then as we start going we realize we actually have the products coming in here and we have them by name, by price and so we can expose this to a single page app giving us better control over our data giving us better control of what comes up. Now if this was the case for the REST API remember Wukamas has it so now REST API endpoint so we'd have to hit two endpoints from our single page app that means more network queries meaning there is more time that is involved in returning of the data and we're still going to get a lot of stuff attached to the REST API endpoint that we actually don't need yet here we're just getting what we need. If I realize I don't need some of these things I can just take them off quickly and then by hitting play I have all the information that I need so if you enjoyed what is happening here please like this video, subscribe leave a comment, leave a question I'll be trying to play around with exposing this into a real world example I'll be sharing about how to get this into a single page app using React or even using React native for mobile phone apps like, subscribe to the channel and share with your friends bye