Skip to content

Instantly share code, notes, and snippets.

View arktisklada's full-sized avatar

Clayton Liggitt arktisklada

  • New York -> San Francisco
View GitHub Profile
@arktisklada
arktisklada / index.html
Last active December 21, 2015 03:28
Backbone.js Blog Sample
<!DOCTYPE html>
<html>
<head>
<title>Backbone.JS-powered Blog</title>
<link href="styles.css" rel="stylesheet" />
</head>
<body>
<!-- This will be our main container -->
@arktisklada
arktisklada / gist:6242086
Last active December 21, 2015 03:28
Backbone.js Notes

Backbone.js Scaffolding

This is an exercise in building a basic Backbone.js blog site. Backbone is a JavaScript MVC, and creates a lightweight single page app with multiple views. Later in the week, we will add a backend database connection and AJAX data between. For now, we can start with a simple single-page app with no backend and all the backbone code in one JS file.

Objectives:

  • Build a backbone app from scratch using the following components
    • Model
      • Collection
      • View
      • Router