Blog
Categories
- Apr 17 2013
Random Number Generation in JavaScript
Paul Irish recently gave a talk at Bocoup with a dire warning: “The Mobile Web is in Trouble.” The general theme of the talk, somewhat apparent from the title, revolved around developers moving to native apps for performance, capabilities and discoverability. Near the end of the talk he offered a challenge–developers working on the Open […]
Continue ReadingRandom Number Generation in JavaScript - Feb 18 2013
Tearing Grunt Apart
Introducing Grunt v0.4 For the last nine months, I’ve been working with Ben and our team of fantastic contributors to modularize the Grunt codebase. Today, we’re happy to announce that Grunt v0.4 has been published to npm. Hold on to your hats, a lot has changed! Architectural Improvements The primary focus of this version can […]
Continue ReadingTearing Grunt Apart- Tagged in:
- open source,
- performance,
- tools and workflow
- Jan 14 2013
Realtime Node.js App: Building a Server
This post is the third in a three-part series describing our investigations into scalability for a second screen application we built for PBS. You can read the series introduction here. Being familiar with the stress testing procedure is all well-and-good, but that knowledge won’t really help you unless you have a server to test. In […]
Continue ReadingRealtime Node.js App: Building a Server - Jan 03 2013
Realtime Node.js App: Stress Testing Procedure
This post is the second in a three-part series describing our investigations into scalability for a second screen application we built for PBS. You can read the introduction here. This guide assumes you have a production server up and running. If you need help getting there, check out the final post in the series for […]
Continue ReadingRealtime Node.js App: Stress Testing Procedure - Dec 18 2012
Realtime Node.js App: A Stress Testing Story
This post is the first in a three-part series describing our investigations into scalability for a second screen application we built with PBS. You can read more about the project in the series introduction here. Some Background We built the Map Center second-screen application in Node.js with the help of a number of open-source libraries. […]
Continue ReadingRealtime Node.js App: A Stress Testing Story - Aug 24 2012
JavaScript: Databinding with Object.observe
Everything you think you know about data binding — and every trick MVC libraries are using to pull it off — is about to be flipped on its head. At the last ECMA/TC39 Face to Face, Rafael Weinstein presented the latest revision of the Object.observe spec, a work in progress that he and several other […]
Continue ReadingJavaScript: Databinding with Object.observe- Tagged in:
- performance,
- web standards
- Jul 09 2012
New Training: Writing Testable JavaScript
The things we’re asking JavaScript to do are getting more and more complex by the day, and that means that manual testing — the good old “click around and make sure nothing’s broken” — is becoming less and less effective. If you’ve run into this in your work, you probably know that you ought to […]
Continue ReadingNew Training: Writing Testable JavaScript- Tagged in:
- performance,
- testing,
- training
- Jun 07 2012
Communicating Between Views in Client-Side Apps
I got to hear some great presentations and have some great conversations at last week’s inaugural Backbone Conf, and one thing that came up over and over again was how to effectively communicate between views in client-side applications. There are lots of patterns for doing this — and we love talking patterns at Bocoup — […]
Continue ReadingCommunicating Between Views in Client-Side Apps- Tagged in:
- client side,
- performance,
- web applications
- Jun 05 2012
Third-Party JavaScript Development: The Future!
I’ve just returned from the future, and I have a lot to share with you. World news, sports scores, market changes, all that stuff can wait. First, we need to talk about third-party JavaScript. There’s a great deal of browser technology on the way that will affect the way you write code. Here, I’ll focus […]
Continue ReadingThird-Party JavaScript Development: The Future! - Apr 17 2012
Third-Party JavaScript Development: CSS Defensive Techniques
(In a previous article, I introduced a convenient method for shipping stylesheets with your third-party JavaScript application.) When styling content in your third-party JavaScript application, you have a unique challenge to overcome: interference. The publisher may have used any number of techniques to define styles, and many of them threaten to modify the appearance of […]
Continue ReadingThird-Party JavaScript Development: CSS Defensive Techniques