API

Getting started with GraphQL

Reading Time: 2 minutes The world is a stage where all of us are artists. Constant learning is the foundation of success. So, here we are going to learn about a query language introduced by Facebook back in 2015, which is GraphQL. In this blog, we will cover the basics of GraphQL. Overview GraphQL is a query language(that’s what QL stands for) for your API and a server-side runtime Continue Reading

Is GraphQL better than REST?

Reading Time: 4 minutes In this blog, we will be going to explain a brief difference between GraphQL and REST APIs, Why GraphQL comes into the picture, and give some benefits over REST APIs. So without any further delay let us begin with an understanding of brief about GraphQL and REST APIs. GraphQL is a new API standard that provides a more efficient, powerful, and flexible alternative to REST. Continue Reading

Accelerate performance with Gatling:3.3.0-Warmup

Reading Time: 5 minutes Hello, welcome to the first blog of our Gatling series. Objective is to see how we can accelerate the performance of the product with a tool like Gatling and how to easily integrate with our code base to run the test on different environments. This series is totally based on my personal experience so I have tried to cover all the possible scenarios that I Continue Reading

Take a deep dive into Kafka – Producer API

Reading Time: 4 minutes I am going to start a series of blogs on Kafka API. This blog is a part of the series. In the series of blogs In this blog, we are going to learn about Producer-API. If you are new to Kafka then I will recommend you to first get some basic idea about Kafka Quickstart from kafka-quickstart . There are many reasons an application might Continue Reading

Fault Handling in Apigee

Reading Time: 4 minutes Hi all, In my previous blogs on APIGEE we: Went through the basic introduction of Apigee. Went through the main policies and how to apply them on our proxies. Saw how to extract out a header, extract a list of values out of a header. If you like you can go through those once again here: Basics of Apigee. click here Playing with Policies. click here Extract the Continue Reading

ScalaFP: Mystery Of Scala Higher Kinded Type.

Reading Time: 3 minutes Scala type system holds a lot of mysteries. Sometimes these mysteries confuse us but mostly they provide us with a powerful feature. Today we will be discussing one of them called Higher Kinded Type Or Second Order Type. Before moving to higher kinded type lets brush up our basics first. Higher Order Function: So, functional programming follows an artistic rule called “functions are the first Continue Reading

apigee

Apigee 101: Constructing your own Proxy

Reading Time: 5 minutes In this blog, we will discuss what Apigee is and how we can create our own proxies. But before we get an understanding of Apigee, let’s discuss API first. What is an API? API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other. Each time you use an app like Facebook, send an Continue Reading

Concurrency API

Guide to Java 8 Concurrency API using Executors

Reading Time: 3 minutes Working with the Thread class in Java can be very tedious and error-prone. Due to this reason, Concurrency API was introduced back in 2004 with the release of Java 5 and then enhanced with every new Java release.The API is located in package java.util.concurrent. It contains a set of classes that make it easier to develop concurrent (multithreaded) applications in Java.  The executor services are one of the most Continue Reading

GraphQL – The Better REST

Reading Time: 5 minutes Over the past few years, the REST has become a de-facto architecture for the web services, which emphasize to communicate through the textual data. The user is given a URI of the resource and user can perform various operations (GET, POST, DELETE etc) defined on that address, as simple as that. There are several architectural points that reflect upon the ideology of the REST. These points Continue Reading

APIGEE-EDGE: Playing With The Policies(Part1).

Reading Time: 7 minutes   Hi all, In one of my previous blogs, I discussed Apigee, what it is and why is it required? We also discussed the various features and benefits of having Apigee. We saw how to deploy a proxy through the code rather than the Apigee UI deployment feature and many more. So if you like you can go through the basics of Apigee here Getting started Continue Reading

Creating GraphQl API with Sangria

Reading Time: 2 minutes Sangria is a library that processes the graphQL queries coming to the server and pass on the object to business layer of the application, which mostly further queries database to get information which sangria passes on as response to the query. GraphQL is a query language for the servers with which only one route can be used to give response to any query, which are Continue Reading

Interacting with Services & API: Angular 2

Reading Time: 2 minutes In this post we are going to create an Angular 2 application from scratch, the target of this post is to explain the process to create a service and use an API to get the data from that, where we will also see, how to handle the response of the API, preview the response on the view and handle the exceptions if any found in Continue Reading

Obtaining Geolocation in Play using IP Address

Reading Time: < 1 minute In this blog , I will explain how to obtain Geolocation in Play Scala application from IP address of user . You can easily fetch user’s current location or near by location by his IP address . 1) You will require API key to be able to use this feature. To get API key , just go to IPInfoDB . 2) Get user’s IP address var Continue Reading