Javascript

  • submit to reddit

Weekly Poll: Sans JVM?

A few weeks ago, we asked which programming language you'd use if Java weren't an option. JVM languages, especially Scala and Groovy, were the overwhelming...

6 replies - 9193 views - 11/02/12 by Bill Armstrong in Articles

Hexagonal architecture in JavaScript

The goal: unit testing JavaScript code, in isolation from frameworks, the server side and the DOM.To pursue this goal, the code under development must contain...

0 replies - 5422 views - 04/18/12 by Giorgio Sironi in Articles

The Decorator pattern, or its cousin, in JavaScript

The Decorator pattern is a way to reduce multiple levels of inheritance that clash with each other; for example, if you want to create objects which address...

0 replies - 3534 views - 02/09/12 by Giorgio Sironi in Articles

jQuery plugins with jsTestDriver

In this article we're going to develop an example of jQuery plugin with the aid of jsTestDriver, a little framework for writing automated tests.jQuery...

1 replies - 4815 views - 12/15/11 by Giorgio Sironi in Articles

Testing and specifying JavaScript code with Jasmine

Jasmine is a BDD framework for JavaScript (or CoffeeScript) code, which helps you specify and test your classes and functions as the same time.Jasmine is not...

0 replies - 3976 views - 12/07/11 by Giorgio Sironi in Articles

CoffeeScript: a TDD example

CoffeeScript is a language building an abstraction over JavaScript (as the similar name suggests.) It is an abstraction over the syntax of JavaScript, not over...

0 replies - 7036 views - 08/09/11 by Giorgio Sironi in Articles

Initial Test Points for Getting Your Environment Under Control

Starting a job with a running system and real users is a nice “problem” to have but it presents some unique challenges as well. Especially if server...

0 replies - 3004 views - 07/28/11 by Daniel Ackerson in News

Phantom JS: an alternative to Selenium

PhantomJS is an headless browser based on an embedded webkit, suitable for testing of web applications involving JavaScript usage where simpler tools do not...

0 replies - 18098 views - 07/21/11 by Giorgio Sironi in Articles

Unit testing JavaScript code when Ajax gets in the way

The previous part of this article is here, but it's not required for understanding the current topic.Unit testing is one of the best tools I have in my box to...

1 replies - 4555 views - 07/14/11 by Giorgio Sironi in Articles

Daily Dose: Java 7 Webcast to Unveil Latest Innovations

Tomorrow at 9:00 am PT, Oracle will be hosting multi-city events and live webcasts for the Java community  detailing the newest innovations for Java 7. The...

0 replies - 17309 views - 07/06/11 by Ross Jernigan in Daily Dose

Testing JavaScript when the DOM gets in the way

It's one thing to exercise a simple function or even an object graph in a controlled environment; it's another to assert the DOM is manipulated correctly:...

2 replies - 3683 views - 07/05/11 by Giorgio Sironi in Articles

Daily Dose: jQuery Mobile Beta 1 Released

This week has started off with a lot of great releases! First of all, the first beta version of jQuery Mobile, the HTML5 library for building mobile web sites...

0 replies - 14831 views - 06/21/11 by Ross Jernigan in Daily Dose

Daily Dose: U.S. IT Employment Back to Pre-Recession Levels

Good news for IT folks from the U.S. Bureau of Labor Statistics, IT employment has finally regained what it lost in the recession. During the recession, nearly...

0 replies - 21584 views - 05/23/11 by Ross Jernigan in Daily Dose

Classical inheritance in JavaScript

If you have written a bit of JavaScript, you certainly have heard the word prototype. Prototype is not only a JavaScript library, but also a key concept of...

0 replies - 5558 views - 05/03/11 by Giorgio Sironi in Articles

Exploring TDD in JavaScript with a small kata

A code kata is an exercise where you focus on your technique instead of on the final product of your mind and fingers. But a kata can also be used as a...

0 replies - 6889 views - 04/21/11 by Giorgio Sironi in Articles