Home » JavaScript (page 5)


8 Steps to Migrating from JavaScript to TypeScript

Solve App Problems 10x Faster with AppDynamics – Monitor production apps at code-level depth with minimal overhead. Start a FREE Trial! Recently, we’ve been moving our Browser RUM agent from JavaScript to TypeScript. Though it’s been a challenge, we enjoyed seeing how the change will benefit us and it’s been fun learning a new language in the process. Let me ...

Read More »

Quick Start: End-to-End Testing With Protractor

As AngularJS applications become more complex, manual testing becomes unreliable and repetitive. Unit Testing is a great start for testing the code, but eventually End-to-End testing is needed for better coverage. A great tool to use for this is Protractor, which is an end-to-end test framework for AngularJS applications. In this blog, we’ll introduce the benefits of Protractor and give ...

Read More »

AngularJs 2 Series: Build Your Own Component

Introduction AngularJs 2 is a popular JavaScript framework to create Single Page Application (SPA). In a Single Page Application, upon client making the request the data fetched from the server or locally is rendered in the browser instantly without the page refresh. Only the area or part of the DOM, that needs to display the data, is changed. AngularJs 2 ...

Read More »

Writing a very simple JS editor

There are nice web editors out there which are ready to be used: you just download them and plug them in your page. I have used myself both CodeMirror and ACE in the past. For example I wrote a plugin for CodeMirror to support PlantUML. However there is an issue with these editors: they are difficult to extend and difficult ...

Read More »

Handlebars – A More Dynamic Way

Handlebars.js is a popular templating engine extension to the Mustache template language. While this post is not intended as an introduction to Handlebars, make sure to visit the Handlebars’ website here for that introduction. In this post, we’ll take a more philosophical role. We will explore how Handlebars is a dynamic template creation tool and what benefits logic-less templates afford us. ...

Read More »

An Introduction To Underscore.js

Recently I starting working in the Backbone.js framework which has dependency on the Underscore.js framework. Underscore is a JavaScript utility library with many useful functions to handle common programming use cases. I decided it would be a good idea to spend some time discovering what all the framework has to offer those within and outside of Backbone. In this blog, ...

Read More »

Angular.js Todo App Example

These days, Todo Apps are considered much like the former “Hello World!”, which means that a considerable part of the programming community uses Todo apps as a mean to get started with using a particular technology, especially in front end. This is one of the reasons why the number of Todo apps available on the internet by now is reaching very ...

Read More »

Sanitize: Good for Beer, Good for Data

Did someone say beer?! When I’m not working, there’s a real good chance I’m thinking about beer. I know you’re saying to yourself, “Duh, me too.” Well I’m not just thinking about what I’ve got in the fridge or what’s on tap down the road (though I am interested in that too), I am also thinking about brewing my own, ...

Read More »

Why Use Angular.js

You don’t have to have been in the programming world to have heard before about AngularJS. While it’s a relatively new technology, there are already multiple documents, books and articles exploring its features and ways of usage, its benefits and disadvantages, and more importantly it is currently being widely used to develop a wide variety of web applications and more. ...

Read More »

Want to take your WEB dev skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • PHP Programming Cookbook
  • jQuery Programming Cookbook
  • Bootstrap Programming Cookbook
  • Building WEB Apps with Node.js
  • CSS Programming Cookbook
  • HTML5 Programming Cookbook
  • AngularJS Programming Cookbook