All Posts tagged as "javascript"

5 Best JavaScript Editors: Developers Rank the Best Tools Worldwide

JavaScript has continued to grow in importance over the last decade. In fact, according to StackOverflow’s Insights, JavaScript has been the most popular programming language for the past 7 years, edging out popular languages including Python, C# and Java. The State of Javascript survey, which includes responses from over 20,000 developers, reveals that five JavaScript editors stand out accounting 95% of all usage!

Read

HTML, JavaScript and CSS - Quick Tips

Following are some quick tips related to HTML, JavaScript and CSS:

Read

JavaScript arrow functions and the let keyword

JavaScript arrow functions are unnamed functions which are best used as non-method functions. They provide a short hand notation for using functions. An arrow function consists of a list of function parameters followed by an arrow which is followed by an expression to be returned or a code block.

Read

Using JavaScript modules

JavaScript Modules are an implementation of ES6 Modules. They allow a useful way to organize and reuse JavaScript code. JavaScript Modules consist of a set of features that provide module functionality.

Read

ES6 brings new features to JavaScript

The ES6 standard has introduced several changes to JavaScript. These changes include Classes, Proxies, Promises, Modules, Iterators and Generators and more

Read

Using await and async with Promises

The async keyword is used when declaring functions. A function declared with async must return a promise. If a function is declared with async and it does not return a promise, then the JavaScript engine will automatically convert the return value of the function to a promise object.

Read

Using generators, classes and objects in JavaScript

All values in JavaScript are objects except for primitive values which have no methods and properties.

Read

Using JavaScript promises

A Promise is defined as an object representing the eventual completion or failure of an asynchronous operation. When creating a Promise object, we have to pass a function called executor as the constructor parameter. The function should accept two functions as arguments called resolve and reject.

Read

Using Web Components in JavaScript

Web Components is a suit of different technologies that allow creating and using reusable custom HTML elements. Currently it is based on the three main features which are: Custom Elements, Shadow DOM and HTML Templates.

Read

Creating scalable applications with Ionic Framework and Firebase

The Ionic Framework allows developing applications for web browsers, desktops and mobile devices. Ionic Framework applications are written in HTML, CSS and JavaScript. Apps can be generated from a single code base, which can be accessed from web browsers, Android, IOS and Windows based devices.

Read

Adding event listeners using JavaScript

The addEventListener function can be used to listen for events. The function can be called on any HTML DOM object such as HTML elements, HTML document, the window object or objects that support events such as xmlHttpRequest. The following example shows how to attach event listener to the window object:

Read

Creating custom playlists for MediaElementPlayer

MediaElement Player is a HTML/CSS Video/Audio player for the web. It is based on MediaElement.js media framework library. Both player and library are available as open source and free of cost under the MIT license.

Read

Using Prefetch, Preload and Preconnect for speeding page load times

Prefetch, Preload and Preconnect are mechanisms supported by modern web browsers that allow efficient loading of web resources.

Read

Using cookies in Javascript

Cookies allow websites to store information on the user browsers. They are usually used to store website session related information.

Read

Upgrading JWPlayer to version 7

JWPlayer is one of the most widely used video players. It has evolved from a simple video player into a video publishing platform. The latest version 7 of the player is a major upgrade from the last version. Websites that use the old JWPlayer 6 should upgrade to the latest version.

Read

Customizing Redmine layout

The user interface of Redmine can be easily customizing using the redmine_custom_css and redmine_custom_js plugins.

Read