Tags archives: javascript

AngularJS is particularly well-suited for creating rich client-side applications in the browser and, when you add in a little Socket.io into the mix, things get really interesting. In this article we are going to build a real-time collaboration board that uses AngularJS for the client-side application and Socket.io to share state between all connected clients.

Nearly any developer spending even a moderate amount of time in JavaScript has had to, at some point, utilize JSON.stringify (and it’s counterpart, JSON.parse). JSON – JavaScript Object Notation – has become the go-to data-interchange format for many developers – with multiple languages capable of serializing to JSON, not just JavaScript itself. If you’re up late some night, unable to sleep, check out the history of JSON….

This is the second article in our Essential JavaScript series, following on from the last one on script loaders. Testing JavaScript has recently become more and more popular, and as such a number of libraries have sprung up to make your job easier.

My use case: I have a modal which has a controller A. I want to call it from outside this controller. As I found out this is not so trivial because you need to understand how Angular.js Directives [1] work. The Angular.js. docs explain: Controllers should not be used for DOM manipulation (like showing a modal or not) but only for business logic.

Well it’s been far too long since I did a roundup of the awesome JavaScript that has been circulating the Internet lately, and it’s about time I changed that.

I went to NDC 2012 in June, 2012 and as I drove from my brother’s house in San Diego, CA to Los Angeles to catch my flight to Europe, I listened to Javascript Jabber – the one with Steve on, who was there to basically defend Knockout’s existence in the face of a tidal wave of Javascript snottiness.