Skip to content
This repository has been archived by the owner on Jul 12, 2020. It is now read-only.

Commit

Permalink
Clean-up, adding cover to index, building new binaries for formats, a…
Browse files Browse the repository at this point in the history
…dding instructions to readme for build.
  • Loading branch information
addyosmani committed Dec 9, 2012
1 parent 6d3f9a4 commit 23e5b16
Show file tree
Hide file tree
Showing 7 changed files with 190 additions and 170 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Developing Backbone.js Applications

## About

This is the home of ‘Developing Backbone.js Applications’, an (in-progress) book about the
Backbone.js framework for structuring JavaScript applications. It is released under a
Creative Commons Attribution-Noncommercial- No Derivative Works 3.0 United States License and is currently available for early purchase via O'Reilly if you would like to support the project.

We appreciate any and all efforts to help improve the book. If you would like to submit pull requests, please feel free to apply them against `index.md`. These can be previewed by running the build script via bash, which will also generate updated versions of the other formats we support.

## Building

You can build the book using `make` or `make -f Makefile`. This will output the HTML, ePub, PDF and RTF versions of the book.
Binary file modified backbone-fundamentals.epub
Binary file not shown.
170 changes: 89 additions & 81 deletions backbone-fundamentals.rtf

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions build/share.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@
<p>&nbsp;<br></p>
</div>

<p><img src="img/oreilly.jpg"/></p>

<a href="http://shop.oreilly.com/product/0636920025344/ReviewSubmit.do?sortby=publicationDate?pageId=0636920025344.IP"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://addyosmani.github.com/backbone-fundamentals/img/helpful.png" alt="Was this helpful? We'd love you to write a review."></a>
Binary file added img/oreilly.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
170 changes: 89 additions & 81 deletions index.html

Large diffs are not rendered by default.

10 changes: 2 additions & 8 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,13 @@ My extended thanks go out to [Jeremy Ashkenas](https://github.com/jashkenas) for

I hope you find this book helpful!

**Notes:**

* Items added or updated in the last month are marked with a * in the outline.
* Once you're familiar with Backbone.js, you might be interested in checking out [Aura](https://github.com/addyosmani/aura).


# Introduction

When writing a Web application from scratch, it’s easy to feel like we can get by simply by relying on a DOM manipulation library (like jQuery) and a handful of utility plugins. The problem with this is that it doesn’t take long to get lost in a nested pile of jQuery callbacks and DOM elements without any real structure in place for our applications.

In short, we’re stuck with spaghetti code. Fortunately there are modern JavaScript frameworks that can assist with bringing structure and organization to our projects, improving how easily maintainable they are in the long-run.

### What Is MVC, Or Rather MV*?
### What Is MVC?

These modern frameworks provide developers an easy path to organizing their code using variations of a pattern known as MVC (Model-View-Controller). MVC separates the concerns in an application down into three parts:

Expand All @@ -35,7 +29,7 @@ JavaScript ‘MVC’ frameworks that can help us structure our code don’t alwa

For this reason we refer to such frameworks as following the MV* pattern, that is, you’re likely to have a View and a Model, but more likely to have something else also included.

### What exactly is Backbone.js?
### What is Backbone.js?

![](img/backbonejsorg.png)

Expand Down

0 comments on commit 23e5b16

Please sign in to comment.