Trailing Commas in JavaScript

Mark Adelsberger HTML5, JavaScript, Problem Solving, Tutorial Leave a Comment

The Scenario You’re working on a JavaScript project, and your project includes the following object definition: You go to add another method to your object. You return to your test page and get mysteriously unexpected behavior. What happened? You’ve probably recognized the mistake in the above code, but then if you write much JavaScript, there’s a good chance you’ve made …

A Little HTML5: Using JSON and File API to View Starred Google Reader Posts

Brice McIver HTML5, JavaScript, Keyhole Creations Leave a Comment

A couple of months ago, Google announced that it was retiring its web feed reader Google Reader. As a long-time user of the service, I was disappointed. But there are a couple of substitutes out there like Feedly, The Old Reader, NetVibes, etc. Google gives you the option of exporting your data from Reader through Google Takeout. This is where my inspiration for a little …

Writing Games With Unity 3D in JavaScript and C# – Part 2

John Boardman .NET, HTML5, JavaScript, Keyhole Creations, Tutorial 3 Comments

Welcome back for Part 2! We covered the following topics in Part 1 of this Unity 3D tutorial: Introduction to Unity Introduction to KeyShot Using multiple cameras to implement a background logo JavaScript and C# Implementations (including how to use nested generics in JavaScript and how to call C# scripts from JavaScript) How to use 3D models with axes that don’t line …

Solution: Visually Inspect Backbone.js View/Templates + Application Logging Support

David Pitt HTML5, JavaScript, Keyhole Creations Leave a Comment

During the development of a fairly large JavaScript-based web application using Backbone.js, it became increasingly difficult manage the numerous View.js and Template.js files. Those familiar with Backbone MVC design approach have probably also encountered this. Best practice for an MVC user interface is to decompose it into many snippets made up of a controlling Backbone View, an HTML template, and a Model/List …

A Look Into AngularJS – The “Super-heroic JavaScript MVW Framework”

Josh McKinzie Angular, JavaScript, Technology Snapshot Leave a Comment

With the growth and strength of HTML5 and the increasing performance in modern browsers, many JavaScript frameworks have been created to help develop rich client applications. These frameworks/libraries have given developers a huge toolkit to build enterprise complexity into client-side applications. Server side frameworks are becoming a thing of the past and being replaced with applications written in Backbone, Ember, …