Permalink

50

JavaScript Style Guides And Beautifiers

Today we're going to explore JavaScript style guides, specifically: their importance, style guides worth reviewing and tools that can assist in automated code beautification or style enforcement.

What exactly is a style guide?

Before we begin, let us remind ourselves exactly what a code style guide is:

A style guide or style manual is Continue Reading →

Permalink

5

Discussing JavaScript Design Patterns On JavaScript Jabber

I was lucky enough to be on the JavaScript Jabber podcast this week, discussing JavaScript Design Patterns. It was a fun hour and we talked through a number of architectural patterns, TodoMVC and one or two other topics. If you'd like to check it out, you can play the podcast here, download it or subscribe to it via iTunes.

Thanks to everyone that's already listened and got in touch on Twitter – I'm glad you enjoyed it!

Permalink

12

Building Backbone.js Apps With Ruby, Sinatra, MongoDB and Haml

Introduction

In this post we're going to explore writing Backbone.js applications with a Ruby back-end. To assist with this, we're going to use Sinatra – a DSL (domain specific language) for rapidly creating web applications in Ruby. Similar to the section in Backbone Fundamentals on writing an application with Node.js, our server-side language (Ruby) will be used to power an API whilst Backbone.js will be the client consuming it.

Continue Reading →