Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

The Polyglot Developer is Live on Twitch

I am pleased to announce that The Polyglot Developer is now a part of Twitch when it comes to streaming developer content live!

So what can you expect when it comes to the Twitch channel?

Think webinar, but without all the marketing nonsense that typically comes with them. Twitch streams are live, not at all formal, and an opportunity for the community to engage with the presenter as things happen on the stream. In other words, instead of leaving a comment on a blog post or YouTube video, you can ask questions and provide feedback as things happen, not only to the presenter, but to other members within The Polyglot Developer community.

So how do you get involved and what does this mean for the other education channels?

Read More

TPDP Episode #34: Containers, Virtual Machines, and Orchestration, Part 2

I’m pleased to announce that the second part of the Containers, Virtual Machines, and Orchestration podcast episode, featuring Marek Sadowski from IBM, has been published!

Marek and I had run out of time in the first episode which focused on container and virtual machine strategies, so we didn’t get to dive deep into Kubernetes and similar orchestration services like Red Hat OpenShift. However, in this episode we pick up where we left off and talk about exactly that, Kubernetes (K8s) and OpenShift, and how they differ or how one might be more beneficial than the other.

If you’re new to the container orchestration world and are sure how to make sense of all the terminology, strategies, and best practices, this episode of the podcast is something you should take time to listen to.

Read More

Querying a GraphQL API in a React Web Application

GraphQL is becoming all the rage, what with being able to query an API like you can query a database. There are two aspects when it comes to GraphQL development, the first being around creating GraphQL APIs and the other around creating applications that can query those APIs.

If you’ve been keeping up, you’re probably already familiar with my courses, Web Services for the Go Developer, and Web Services for the JavaScript Developer. In these courses we saw how to create a GraphQL API. Looking at things in the other direction, you might remember my tutorials, Query a GraphQL API on Android and iOS with NativeScript and Angular, and Query A GraphQL API with Vue.js and Axios, which demonstrated how to query a GraphQL in an Angular or Vue.js application.

This time around we’re going to explore another popular framework. We’re going to see how to query a GraphQL API from within a React application using a variation of methods.

Read More

Interacting with a GraphQL API with Golang

You might remember that I’ve done quite a bit of content when it comes to developing GraphQL APIs with the Go programming language (Golang). Heck, I’ve even written a book and published a course on the subject. However, in everything I’ve done thus far, I haven’t demonstrated how to interact with a GraphQL using Golang.

Sure, a lot of the time you’ll be using something like React, Angular, or Vue to interact with your web service, but that doesn’t mean you’ll never need to query a GraphQL API from Go or execute a mutation.

In this tutorial we’re going to see some quick examples on how to make HTTP requests with GraphQL queries using Golang.

Read More

TPDP Episode #33: Containers, Virtual Machines, and Orchestration, Part 1

I’m pleased to announce that Containers, Virtual Machines, and Orchestration has been published to all of the popular podcast networks. This is the 33rd episode of the show and the first two-part episode to make an appearance.

This episode features Marek Sadowski from IBM and dives into the DevOps space, focusing particularly on deployment strategies such as virtual machines and containers, and how to orchestrate potentially massive amounts of them in an efficient and automated fashion.

If you’re not quite comfortable with Docker, virtual machines, Kubernetes (K8s), and similar, this is an episode you should listen to, since all are very relevant and necessary skills for developers.

Read More

Scale, Crop, and Zoom Images in a React Web Application

If you’ve been keeping up with the blog, you might remember a few tutorials I wrote around the Cropper.js library for JavaScript applications. In these tutorials I demonstrated how to manipulate images in Angular as well as Vue.js web applications. While the tutorials were more or less the same, the framework was different, which resulted in some differences in the code used.

So what if we were building a React application and needed to manipulate images prior to uploading them to a server?

In this tutorial we’re going to see how to use Cropper.js to crop images within a React web application. While we won’t be uploading these images to a remote server for storage, such as a task can be easily accomplished with a bit of imagination.

Read More

Make HTTP Requests with Axios or Fetch in a React Web Application

In most client facing applications there’s a need to consume data from remote web services, also referred to as APIs. This is because there is a separation of backend and frontend logic in modern applications, not specific to the web. With JavaScript, there are quite a few options when it comes to making HTTP requests, some of which I explored in my previous tutorial titled, Execute HTTP Requests in JavaScript Applications.

What if we wanted to execute HTTP requests using a popular framework like React?

In this tutorial, we’re going to look at what it takes to make HTTP requests and consume data from remote web services using React and simple JavaScript.

Read More