Home » JavaScript » Page 19

JavaScript

Angular.js Step by Step Beginner Tutorial

Hello readers, in this basic example, developers will learn what AngularJS is and how to start writing the code using the AngularJS framework.                       Table Of Contents 1. Introduction 1.1 What is AngularJS? 1.2 Why should we use AngularJS? 2. Angular.js Step-by-Step Beginner Example 2.1 Tools Used 2.2 Project Structure ...

Read More »

React and Angular do not fit everywhere

Last few years have been fascinating with several front-end frameworks coming up. I am not going to compare them; neither am I going to talk about The Good or The Bad on them. The buzz words, the new technologies are so shiny that almost everyone I speak to today wants to work on the new stuff. And they also tend ...

Read More »

Leaflet: Fit polyline in view

I’ve been playing with the Leaflet.js library over the Christmas holidays to visualise running routes drawn onto the map using a Polyline and I wanted to zoom the map the right amount to see all the points. Pre requisites We have the following HTML to define the div that will contain the map. <div id="container"> <div id="map" style="width: 100%; height: ...

Read More »

Creating Simple Component in Vuejs

Introduction In this article, we will look at creating a very simple component in Vuejs. Let me pick the example from my previous post and create a component for showing the loading message. Vuejs Component There are two ways to create Vuejs component Single file component (.vue file) – this contains the component HTML template, Javascript and CSS in a ...

Read More »

Creating Bootpag Like Pagination Component Using Vuejs

Introduction In this article, I will try to create a pagination Vuejs component similar to the one supported by jQuery Bootpag plugin. Component State The component should track the following: Current Page Callback to be executed page click Max visible page numbers Start and end of the range of page numbers visible Component Event Handlers The component handles 3 events: ...

Read More »

Secure Your Node.js Website with OpenID Connect

“I love writing authentication and authorization code.” ~ No Web Developer Ever. Tired of building the same login screens over and over? Try the Okta API for hosted authentication, authorization, and multi-factor auth. User authentication in Node can be confusing. It’s confusing for lots of people, including really talented Node developers, so you’re not alone. Authentication practices change frequently and ...

Read More »

Dockerizing Node.js Applications

Containers are one of the best ways to deploy Node.js applications these days. In this post, you will learn how you can containerize your Node.js applications using Docker. First, we will create a simple web application in Node.js, then we’ll build the Docker image and run it. You’ll also learn a few tips and tricks to make development easier and ...

Read More »

Angular 5.0 New things

Angular team has released Angular 5.0 on 1st Nov 2017. They focused on most new features and bug fixes. This release continues our focus on making Angular smaller, faster, and easier to use. Following things are New: Angular CLI 1.5 and Angular 5.0.0 Now we are in CLI 1.5, if you install CLI 5.0, automatically you will get the angular ...

Read More »