Home » JavaScript (page 2)

JavaScript

Developing Web Components in Scala.js

Introduction Scala.js is a compiler that allows producing JavaScript from Scala. It focuses on simplicity and the elimination of borders between the source and the destination language so that developers can write JavaScript-like code while benefiting from all the features of Scala. Scala.js seems to be quickly evolving, and is almost near the 1.0 release, which is the first production ...

Read More »

AngularJS Project Structure Example

Hello readers, I have been programming for 6 years now and have used a fair share of languages and frameworks. In this tutorial, we will learn about the recommended way of structuring the angular web-applications. 1. Introduction Project planning is important for all the AngularJs applications. Having a well-defined and easy-to-traverse project structure can be very beneficial and helps effective ...

Read More »

Six Hat Thinking on Angular Vs React

The idea of this article is compare and contract Angular and React, so that we can find the suitable one for our need. 1. Introduction There are so much of information found on internet to ensure that we will get into analysis paralysis when trying to make a decision on Angular or React for the next Web Application.  So, I ...

Read More »

AngularJS orderBy Multiple Fields Example

Hello readers, in this tutorial, we will learn how to implement and use the orderBy filter in the angular web applications. 1. Introduction Angular is a JavaScript MVC or Model-View-Controller framework developed by Google that lets developers build well structured, easily testable, and maintainable front-end applications. But before we start creating a real application using the angular library, let us ...

Read More »

AngularJS ng-click Directive Example

Hello readers, in this tutorial, we will learn how to implement and use the ng-click directive in the angular web applications. For this tutorial, we’ll have a button that will display an output message when it is clicked. 1. Introduction Angular is a JavaScript MVC or Model-View-Controller framework developed by Google that lets developers build well structured, easily testable, and ...

Read More »

Serverless is the new Build Server: Google CloudBuild (Container Builder) via NodeJS

Google’s CloudBuild (a.k.a. “Container Builder”) is an on-demand, container-based build service offered under the Google Cloud Platform (GCP). For you and me, it is a nice alternative to maintaining and paying for our own build server, and a clever addition to anyone’s CI stack. CloudBuild allows you to start from a source (e.g. a Google Cloud Source repo, a GCS ...

Read More »

JavaScript runtime environment

Have you just started learning JavaScript? Or maybe you already have some language experience but want to understand JavaScript runtime in more details? Whatever reason brought you here, there are a few elements of JavaScript runtime that you should get to know. In this article, I’m going to show you how the JavaScript runtime environment works under the hood. You’ll ...

Read More »

JavaScript: Porting from react-css-modules to babel-plugin-react-css-modules (with Less)

I recently found a bug in react-css-modules that prevented me from upgrading react-mobx which prevented us from upgrading to React 16. Then, I found out that react-css-modules is “no longer actively maintained”. Hence, whether I wanted to or not, I was kind of forced into moving from react-css-modules to babel-plugin-react-css-modules. Doing the port is mostly straightforward. Once I switched libraries, the rest of the ...

Read More »