News in the Category: JavaScript Subscribe to the rss of this category.

Total posts: 1047 | Sort by Views | Sort by Hits

Symbols in ES6

K. Scott Allen, January 25, 2015
Views: 30 | Hits 2

In a previous post we looked at the for of loop in ES6, but left an open question. What magic allows for of to find an iterator? Alternatively, what makes an object iterable? To answer either que...

Storing database tables in JavaScript's Local Storage

The Code Project Latest Articles, January 21, 2015
Views: 107 | Hits 40

In most apps data is represented in tables such that table rows correspond to objects. The simplest approach for persistent data storage in a JavaScript app is using the localStorage API, which provid...

Front end and back end

QuirksBlog, January 19, 2015
Views: 72 | Hits 17

The difference between back-enders and front-enders is that the first work in only one environment, while the second have to work with myriad of environments that may hold unpleasant surprises.I feel ...

Log the errors in Angular application with JSNLog

The Code Project Latest Articles, January 18, 2015
Views: 72 | Hits 13

Shows how to configure your Angular application with JSNLog, a popular JavaScript logging library...

Iterators in ES6

OdeToCode Latest Articles, January 13, 2015
Views: 566 | Hits 37

The addition of iterators in ES6 opens up a new world of algorithms and abilities for JavaScript. An iterator is an object that allows code to traverse a sequence of objects. The sequence of objects c...

Reading Outlook Emails / Contents using JavaScript

The Code Project Latest Articles, January 12, 2015
Views: 76 | Hits 8

Add email from Microsoft Outlook to SharePoint list using simple macro, JavaScript...

March 23rd in London- JavaScript beyond the basics

Sahil Malik - blah.winsmarts.com, January 12, 2015
Views: 68 | Hits 3

SharePoint Training: more information I will be conducting a full day work...

AngularJS - March 25th in London

Sahil Malik - blah.winsmarts.com, January 12, 2015
Views: 77 | Hits 4

SharePoint Training: more information I will be conducting a full day work...

Top 10 JavaScript Debugging Tricks

Sahil Malik - blah.winsmarts.com, January 12, 2015
Views: 105 | Hits 36

SharePoint Training: more information We spend more time debugging than we...

Top 10 JavaScript tips

Sahil Malik - blah.winsmarts.com, January 12, 2015
Views: 90 | Hits 27

SharePoint Training: more information Tuesday March 24th in London at Devw...

ExtJs - Hello World

The Code Project Latest Articles, January 10, 2015
Views: 67 | Hits 7

ExtJs-Javascript framework for beginners...

Using Gulp in a JavaScript Build Pipeline

JohnPapa.net, January 7, 2015
Views: 109 | Hits 15

When I can remove the friction between you and the keyboard, it’s a beautiful thing! I have more time to write code and not worry about repetitive processes. This is a key reason I love having a...

Chess PGN-Viewer (JavaScript)

The Code Project Latest Articles, January 7, 2015
Views: 57 | Hits 2

Object-oriented approach to Web Application developing using JavaScript...

JavaScript Code Coverage using Karma-Coverage w/ Grunt

Brendan Tompkins, January 6, 2015
Views: 63 | Hits 8

As part of our ongoing effort at my client to setup a testing environment for our JavaScript code I wanted to also setup the ability to do code coverage on our files. To accomplish this I am going to ...

More With Arrow Functions in ES6

K. Scott Allen, January 5, 2015
Views: 77 | Hits 12

In a previous post we took a first look at arrow functions in ES6. This post will demonstrate another feature of arrow functions, as well as some additional scenarios where you might find arrow functi...

Chess PGN-Viewer (JavaScript)

The Code Project Latest Articles, January 4, 2015
Views: 68 | Hits 10

JavaScript animation of the chess portable game notation (PGN) text...

JavaScript Object

The Code Project Latest Articles, December 30, 2014
Views: 69 | Hits 15

Basic understanding about JavaScript object...

Norfolk.js Turns One Year Old

Brendan Tompkins, December 17, 2014
Views: 74 | Hits 5

Norfolk.js just celebrated its first birthday in November! Norfolk.js is Hampton Roads JavaScript developer user group. It was founded in Norfolk, Virginia, by small group developers and has grown to ...

A Universal Gauge for Your Web Dashboard

The Code Project Latest Articles, December 16, 2014
Views: 104 | Hits 27

JavaScript plugin gaugeSVG to generate widely configurable SVG gauge for a web dashboard...

Mixing $http Promises and $q Promises for cached Data

Rick Strahls WebLog, December 11, 2014
Views: 78 | Hits 8

If you use $http Promises in your Angular services you may find that from time to time you need to return some data conditionally either based on an HTTP call, or from data that is cached. In pseudo c...

Using Grunt/Karma/Jasmine-Ajax inside your Jasmine Tests

Brendan Tompkins, December 10, 2014
Views: 73 | Hits 6

My current client is trying to add JavaScript specs to its code base and we have decided to implement a Grunt/Karma/Jasmine solution. Like many (if not most) JavaScript code bases our code will make r...

The OMGs of Javascript - Part # 1

The Code Project Latest Articles, December 10, 2014
Views: 179 | Hits 52

This is part#1 of a series of not "so-obvious" stuff in Javascript... beginner to expert!...

Classes in JavaScript

The Code Project Latest Articles, December 8, 2014
Views: 98 | Hits 19

Introduction to objects and classes in javascript...

Getting Started with Google Cloud Monitoring

The Code Project Latest Articles, December 5, 2014
Views: 67 | Hits 12

This document demonstrates a client-side approach to retrieving monitoring data using the Google JavaScript client library to help you get started with the basics of using the Google Cloud Monitoring ...

Use XMLHttpRequest to Call ASP.NET Web API

DotNetBips.com Latest Articles, December 2, 2014
Views: 109 | Hits 10

Most of the times developers use jQuery $.ajax() to call ASP.NET Web API from the client side script. At times, however, you may need to plain JavaScript to invoke the Web API. Luckily, calling a Web ...

Use XMLHttpRequest to Call ASP.NET Web API

Bipin Joshi.com :: Thoughts on .NET, Life, Yoga and more, December 2, 2014
Views: 118 | Hits 107

Most of the times developers use jQuery $.ajax() to call ASP.NET Web API from the client side script. At times, however, you may need to plain JavaScript to invoke the Web API. Luckily, calling a Web ...

Some asynchronous JavaScript weirdness

More Whidbey stuff, November 30, 2014
Views: 243 | Hits 41

I feel a little silly about the time it took me to find that bug, but it’s a fairly typical one, so it’s worth sharing. While writing a test case for an asynchronous operation, execution o...

WebAPI REST Routing For AngularJS and ExtJS

peterkellner.net, November 26, 2014
Views: 86 | Hits 20

As most of my readers know, Ive done a lot of work with the JavaScript libraries made by Sencha (ExtJS and SenchaTouch).  The typical JSON sent down to the requesting web application looks like the fo...

Class Inheritance in ECMAScript 6

K. Scott Allen, November 25, 2014
Views: 61 | Hits 7

Continuing from a previous post Over the years, there have been various approaches to building class hierarchies in JavaScript. All these approaches worked by stitching together constructor functions ...

Book Review : JavaScript Promises Essentials

The Code Project Latest Articles, November 24, 2014
Views: 101 | Hits 12

IntroductionToday I am going toReview a Bookwhich has been published byPackt Publishing.The Book isJavaScript Promises Essentials.The Authorof this book isRami Sarieddine.Table of Contents *What you w...

Single Page Application using AngularJS and Web API and Responsive using Bootstrap.

The Code Project Latest Articles, November 21, 2014
Views: 139 | Hits 35

This article describe the AngularJS JavaScript framework and shows how to use it to develop a Single Page Application....

AtScript

JohnPapa.net, November 20, 2014
Views: 27 | Hits

We had the pleasure of meeting with the father of AngularJS, Miko Hevery, to discuss the AtScript (extensions to JavaScript) on this week’s episode of Adventures in Angular. Join us and Miko for...

AtScript

JohnPapa.net, November 20, 2014
Views: 129 | Hits 6

We had the pleasure of meeting with the father of AngularJS, Miko Heverly, to discuss the AtScript (extensions to JavaScript) on this week’s episode of Adventures in Angular. Join us and Miko fo...

Can we make commas optional in JavaScript literals?

More Whidbey stuff, November 17, 2014
Views: 57 | Hits

Sometimes, small improvements can go a long way to making a language more enjoyable. One thing that I seem to feel acutely for some reason is noise. Noise is those parts of the language that with comp...

Constructor Functions and Controllers in AngularJS

K. Scott Allen, November 12, 2014
Views: 67 | Hits 5

There are a few points in AngularJS: The Bad Parts Id be happy to debate, but lets focus on Bad Idea #4, talking about controller constructor functions: Thats right, these constructors never create n...

Features of ES6 Part 10: Behind The Class

K. Scott Allen, November 11, 2014
Views: 80 | Hits 3

?In a previous post we looked at the new class keyword in JavaScript. Weve always had the ability to create objects in JavaScript, and give these objects data to hold and methods to call. In fact, we...

AngleSharp and JavaScript

The Code Project Latest Articles, November 7, 2014
Views: 110 | Hits 11

Connecting an existing JavaScript engine to AngleSharp to perform DOM operations and provide a working headless browser....

Node pitfalls 2: lingering responses

More Whidbey stuff, November 4, 2014
Views: 80 | Hits 5

One of the main appeals of Node is how it encourages asynchronous code. You may very well write synchronous code in Node, but if you do, youre not going to reap the benefits, and you should probably u...

Javascript, jQuery: Random Number Generator, Random Quote Generator, Random Image Loader

The Code Project Latest Articles, October 29, 2014
Views: 150 | Hits 4

Javascript provides Math.floor and Math.random methods that can be used together to return random numbers....

Implementation of NaturalSort Order using jqGrid and asp.net

The Code Project Latest Articles, October 27, 2014
Views: 103 | Hits 2

Around one year ago, I have requirement to make sorting in naturalSort order for one of my web projects (Javascript and jQuery based). Here, I am sharing how I solved the problem...

AngularJs and Promises with the $http Service

Rick Strahls WebLog, October 25, 2014
Views: 118 | Hits 16

When using the $http service with Angular Ive often wondered why the $http service opts to use a custom Promise instance that has extension methods for .success() and .error(). rather than relying on ...

Decouple javascript function call to multiple callbacks without changing nor caller neither callee

The Code Project Latest Articles, October 22, 2014
Views: 154 | Hits 16

A bit of street magic with javascript closures and jquery callbacks...

Make Me a Promise

The Code Project Latest Articles, October 20, 2014
Views: 118 | Hits 14

If you haven’t worked with JavaScript in over a decade, you might be surprised at the advances that have been made in this language. At one time, JavaScript was used mainly for swapping “o...

Namespaces in Javascript

The Code Project Latest Articles, October 16, 2014
Views: 127 | Hits 13

Understanding concept of Namspaces in Javascript...

Non-Properties of floating point numbers

Rico Marianis Performance Tidbits, October 16, 2014
Views: 132 | Hits 4

I recently received a customer question that boiled down to the oft-encountered binary floating point inexact representation issue.  They were rather troubled that basic identities normal to numb...

Tip to Detect Key Press through JavaScript and jQuery

The Code Project Latest Articles, October 15, 2014
Views: 101 | Hits 11

Detect type of key press through JavaScript and jQuery...

Features of ES6 Part 9: Classes

K. Scott Allen, October 14, 2014
Views: 102 | Hits 5

Historically, many developers learn JavaScript after learning languages like C++, Java, C#, Ruby, or Python. All of these languages have a class keyword, and in many of these languages, the class keyw...

JavaScript patterns simplified

The Code Project Latest Articles, October 12, 2014
Views: 229 | Hits 20

Presents 4 JavaScript patterns...

Chrome Extension - How to use commands and background scripts

The Code Project Latest Articles, October 7, 2014
Views: 336 | Hits 4

This article how to create a chrome extension via a background javascript page and commands...

Testing Node.js code that requires JSON files

More Whidbey stuff, October 7, 2014
Views: 353 | Hits 3

A preferred way of creating a JavaScript object from a JSON file is to use the require function. Require will take care of the file’s encoding, and will cache the results so reading the same fil...