Technical Insights: Introduction to GraphQL
At Appier, we have been using GraphQL for around a year. GraphQL drives client-server communications for one of our main AI platforms, Aixon. We have benefitted a lot from GraphQL’s characteristics, such as the concept of “object fields” and its resolvers. Its declarative approach to whitelist all inputs and outputs makes it a great tool to build programming interfaces.
This presentation is designed to be an introduction to GraphQL and was originally delivered to other internal product teams in Appier. The talk is specifically designed for Node.JS or Python developers that have never tried GraphQL before. It provides succinct code examples in both programming languages to guide the audience through all the essential topics they should know in order to start building their own GraphQL schema and to run a GraphQL API server.
There are already quite a lot presentations on the internet explaining the high-level concepts of GraphQL. In this talk, I have put more emphasis on the actual source code required to get GraphQL running, providing a more pragmatic perspective to understanding GraphQL.
The talk covers the following topics:
- Fundamental parts of a GraphQL server
- Defining API shape – GraphQL schema
- Resolving object fields
- Mutative APIs
- Making requests to a GraphQL server
- Solving N+1 query problem: dataloader
Editor’s note: Speaker notes are available with Google Slides.
WE ARE HERE TO HELP
YOU MIGHT ALSO LIKE
In-app notifications can be a very effective weapon in the marketer’s arsenal, but they are much misunderstood and misused. Used well, they can improve the customer experience while boosting your app’s profile and providing valuable customer data. However, used badly, they can drive away otherwise loyal customers, hurting your returns. Here we will explore what they are, how they work, and how to use them effectively in order to drive engagement and ROI. What Are In-App Notifications? In-app notifications, also known as in-app messaging, are messages that appear while a customer is using your app. These can present as pop-ups or overlays, and can take up the whole screen or only a portion of it. The content of these notifications can vary. They can be a call to action (CTA) like asking your customer to rate the app, or opt in for push notifications. Or they can promote deals and offers, or other features of the app that the customer might have otherwise missed. What Are the Benefits of In-App Notifications? In-app notifications are all about engagement. By prompting the customer to act with a CTA, marketers can increase their level of engagement. And a more engaged customer
While artificial intelligence (AI) often dominates business and technology headlines these days, the coverage generally centers on the development of the technology. Yet for all the celebration around AI, the main concern for enterprises is still how they can get started with the technology, in order to generate actionable insights from their data. Large technology-oriented organizations tend to build their own in-house data science team, which might not be the best approach for smaller companies with less resource or technical expertise. This is where AI-as-a-Service (AIaaS) could just be your alternative passage to AI-powered business. In-House Data Science Team Is Not for Everyone Although data science is one of the most in-demand professions worldwide, companies are facing a massive talent gap: There are more positions to fill than there are qualified data scientists available to fill them. Quality data scientists require a wide range of skills, which sometimes could vary depending on the nature of data to be analyzed and the scale and scope of work. Apart from finding the right talent with the right expertise, recruiting them usually involves high salary, additional benefits, perks and a host of other incentives, as you might be competing with some of
Author | Charles Ng, Vice President of Enterprise AI, Appier Much continues to be made of artificial intelligence’s (AI) capabilities, and it has proven its value in business in areas such as cost-cutting and efficiency. Singapore is undoubtedly a hub for AI in Asia Pacific (APAC), particularly in Southeast Asia (SEA), and in 2019 we will continue to see steady progression towards AI adoption in Singapore. According to a survey conducted by Appier and Forrester in September 2018, 50 percent of businesses in telecom, insurance, finance, IT and retail in Singapore have adopted AI solutions somewhere in the organization. Thirty-one percent of those who have not yet adopted AI plan to do so by mid-2019. Businesses in Singapore are interested in applying AI to improve existing solutions and processes, rather than using AI to drive innovation (which is the case in places such as Taiwan, South Korea and Indonesia). Business leaders continue to understand that AI is a critical part of transforming and staying competitive, though many will face challenges as they find that AI adoption and implementation is harder than they have been led to believe. Critical research into business processes and problems- and the right AI solutions for