Yea, that ain’t Apple


For the longest time since the Apple II dropped decades ago, Apple has been a champion of the ‘closed environment school of thought; i.e. the customisation and tooling options for Apple products — hardware and software, are limited to what Apple ships. This ranges from the special ‘Pentalobe’ needed to open up the casing of a device, down to the systems that can run the various software from Apple, including the macOS.

Don’t get me wrong, I firmly believe that this approach has a lot many merits than we can count on our hands, only one of which…

A while back, I was working on a project that used Angular for the UI and Angular Material for the UI components. And that got me thinking — what if I could allow the user to choose a light or dark theme for the application?

First things first: Create the Application

Skip this part if your app is already created

You know the drill. To create the app, run the ng new command in your Terminal. Before executing the application creation process, the Angular CLI asks you a few questions, the last of which is the stylesheet format to be used. …

Imports in Angular applications can get messy, particularly in ones that have a very nested structure. While a nested project directory structure has many benefits that make it much better than a flat structure, relative and/or absolute import paths in such cases can be agonizingly long. For instance, consider the following project directory.

The Problem

Whenever the topic of top contenders for India’s answer to the Silicon Valley comes up, the unanimous answer is Bengaluru — has been, and will continue to be.

That said, once we get past that sobriquet, not many nations in the world would have as many IT hubs as India does, across the length and breadth of it — Hyderabad, Pune, Gurgaon… Among these though, one that has silently, yet steadily and at times exponentially making a climb to the top of the list is the Queen of the Arabian Sea, Kochi.

Personally, my journey as a web developer started…

Once you get a hold of it, event-driven implementations using RxJS go a long way in making your Angular app dynamic. Even if you’re in your early days of using Angular, it’s highly recommended that you make use of Observables, Subjects, Subscriptions, etc. in your application to get the best out of the app. That said, if not done right, RxJS implementation can come back to you haunt you in the form of performance drops for your applications. And one of the top things even developers who have been into Angular for a while may get wrong is the concept…

For any Angular developer, amateur or expert, looking for cheap(or free)hosting solutions for their projects, Firebase Hosting is one of the best solutions you have access to — it’s free and the deployment process is really easy. In this post, we’ll look at how Angular apps can be deployed into Firebase hosting automatically when you push your code to Github, using Github Actions.

Introductions first. Angular(NOT AngularJS), a UI framework developed and maintained by the good people from Google and written in Typescript, developed by a few more good people from Microsoft(since you’re here, I’m assuming you already knew that)…

Let’s face it — Javascript is a funny language, to say the least. And the internet is filled with articles articulating this. But it’s simple, powerful and ubiquitous, and learning a trick or two wouldn’t go amiss. In this article, we’ll be discussing a tricky bit in Javascript — copying.

Consider two variables a and b. You have a value stored in a, which you wish to copy into b. This can be done as follows

Now you might be wondering what was the point of showing that, for that was obvious. Bear with me. This method holds true…

Anagram, yes. The next Node? Let’s see.

Node.js over the past few years has become ubiquitous as a server-side language and a general Javascript runtime. So when Ryan Dahl presented Deno.js in April 2019, people were surprised. Oh, if his name sounds familiar, he is the guy who created Node.js. He had the following disclaimer in front of the slide deck:

This talk is aimed at experienced enthusiasts. If this isn’t you: Don’t Panic. Ignore this talk — use Node. Node isn’t going anywhere.

With that out of the way, let’s get started.

In 2018, Ryan made a presentation where…

API Sandbox

In the first part of this tutorial, we achieved the following:

  • Project Setup
  • Building the basic functionality of sending requests and receiving responses for GET and POST REST API endpoints
  • Attach custom request body to POST requests

If you still haven't read Part 1, it’s strongly recommended that you do so before proceeding

In this second and final part of the tutorial, we’ll build on our application and add two more functionalities:

  • Attach custom Headers to the API requests
  • Saving and loading past requests so that they may be reused

Attach custom Headers to the API requests

Many times, or in fact more often than not, it’s…

API Sandbox

Postman is one of the most popularly used solutions among developers around the world. While Postman as such is a ‘Collaboration Platform for API Development’, it’s used most commonly for one purpose — testing REST API endpoints. In this tutorial series, we’ll look at how we can develop a similar API interrogation tool purely on Angular. You can see the finished application live in the following link:

The application we have here, ahs the following features:

  • Test GET and POST REST API endpoints.
  • Attach custom request headers.
  • Attach custom fields to the POST request body with support for string, number…

Ashwin Sathian

Software Developer | Blogger | Part-time Nerd

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store