Blog

Apr 13

ES6 Symbols: Drumroll Please!

By on April 13, 2016 6:58 am

ES6 Logo

Symbols are a new, unique, primitive type introduced in ECMAScript 6 (ES6). They were added to the language in order to solve the problem of extending the functionality of Object while maintaining backwards-compatibility with code written in earlier versions of JavaScript. With their addition comes the ability for developers to affect the behavior of the language in new and interesting ways. This article will introduce the concept of a symbol, explain their purpose, and show a couple of the most common ways symbols can be used today.

Mar 28

Intern test suite and CI updates

By on March 28, 2016 2:17 pm

Intern Logo

We’ve recently made a number of updates to Intern, providing additional flexibility and integration for writing and running tests. Seth Holladay and sitecues by Ai Squared generously sponsored some of these efforts!

Continuous integration

Intern has long supported continuous integration, officially supporting travis-ci, Jenkins, and TeamCity. Intern provides a very flexible reporter system, making it easy to add new output formats. We have received requests recently to support Bamboo and Codeship.

Jan 13

Simplified Dijit Functional Testing

By on January 13, 2016 10:03 am

dgrid

One of the nice features of testing with Intern and Leadfoot is the ease of authoring functional tests to mimic end-user behavior. The API for retrieving relevant DOM nodes is relatively straightforward, usually with a single line of code needed to get a reference to the relevant node.

When we started writing tests for Dijit, we realized that it was often a fair amount of boilerplate to get references to specific widget instances, attach points within those widgets, and property values of widgets. One of the advantages of Intern is you can integrate this boilerplate into a helper. So, we set out to create a simple Intern helper utility to make these operations as efficient to author as normal functional tests.

Dec 11

JSConf Last Call

By on December 11, 2015 1:59 pm

Last weekend at the Omni resort on Amelia Island, FL, the last JSConf US took place. The Williams family is no longer able to run this conference, so with much sadness it will not be continuing in its current form. The JavaScript community legacy they have left behind is nothing short of astounding. With currently 30 listed events worldwide in the JSConf family, and more in the planning stages, the idea of building compassionate, creative communities of experts has truly caught on like a wildfire in the JavaScript community.

Dec 10

HalfStack Conference Recap

By on December 10, 2015 10:22 am

HalfStack

Picture this: 100+ developers and their phones and laptops making crashing noises playing a live-created clone of Flappy Bird. Now picture the same devices working together to create a live MIDI concert, followed by a challenging and fun JavaScript pub quiz.

All of this happened at HalfStack, a one-day JavaScript conference organized by the London Ajax User Group. For over five years, London Ajax has organized monthly meetup events, followed by more discussion time in the pub. In the spirit of London culture, the conference was hosted in a Shoreditch area pub at Corbet Place Bar & Lounge (in the former Truman Brewery).

Dec 9

Chrome Dev Summit 2015 Recap

By on December 9, 2015 12:00 pm

I recently attended the Chrome Dev Summit conference in Mountain View, CA, which centered around developing websites for Chrome and the mobile web. The conference was designed to provide attendees the opportunity to talk with the developers working on Chrome. We were able to provide feedback, as well as better share the true need of web developers. Overall, the conference was wonderful, giving me a great opportunity to learn more from both the talks, as well as speaking with the Chrome team.

The sessions touched on three main topics: service workers, RAIL, and progressive web applications. New features are constantly being developed by various working groups. The conference speakers and developers work directly on experimental features, and they were enthusiastic when explaining their area of expertise. The well chosen topics, combined with the excitement of the speakers, made for a productive conference that proved to be well worth the time.

Nov 6

Death of Object.observe()

By on November 6, 2015 9:47 am

flight

Adam Klien, software engineer at Google, announced on ESDiscuss that they were withdrawing the proposal to implement Object.observe and plan to remove it from V8 by the end of the year.

While I was never sold on the approach of this API, I assumed long ago it was the API that would be used for data binding to plain old JavaScript objects. I am also surprised because I was discussing the state of Web Components with a member of TC39 just a few weeks ago. While I listed all the parts of Web Components that are in V8/Blink but not elsewhere, including Object.observe, they assured me the other browsers would eventually implement the rest of Web Components. I also missed that Polymer 1.0 abandoned Object.observe.

Nov 3

FullStack Conference Recap

By on November 3, 2015 8:10 am

I had the opportunity to speak and attend FullStack 2015 organised by Skills Matter and hosted at their CodeNode location in central London. It was a great experience and it’s clear that JavaScript is everywhere and permeating every aspect of technology today! It was no surprise that ES6/ES2015 and TypeScript were popping up in every conversation. Even at a full-stack conference, the front-end seemed to get a lot of focus, most likely because everyone is challenged with improving the web experience.

Oct 27

October jQuery Foundation board meeting

By on October 27, 2015 7:56 am

In mid-October, I attended my first jQuery Foundation boarding meeting. In case you missed the news, we announced in early September that the Dojo Foundation and jQuery Foundation are merging. The primary goal of this open source foundation union is to encourage greater collaboration between open source web projects, and also provide a home for other open source JavaScript and web projects. Our board of eleven members got together in New York City and met for about eight hours to cover a number of topics. It was great to meet a number of people from the board in person for the first time. It was also great to reaffirm how much we have in common, and to learn more about how we can help!

Oct 20

TypeScript Decorators

By on October 20, 2015 7:33 am

TypeScript

One of the main benefits of working in TypeScript is that it lets developers use modern standards within their source code today. Tools like destructuring, rest and spread operations, and classes make it easier to define structures and work with data.

TypeScript also provides support for ES2016 Decorators, giving developers an important tool for defining frameworks and reusable structural patterns. Today we will explain what decorators are, how they can be used to improve your projects, and how to start using them in
TypeScript