summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_layouts/default.html2
-rw-r--r--_posts/2011-01-29-what-is-a-model.md2
-rw-r--r--_posts/2011-02-01-why-would-you-use-backbone.md8
-rw-r--r--examples/nodejs-mongodb-mongoose-restify/templates/layout.html5
4 files changed, 8 insertions, 9 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 0a41ffa..9992d40 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -61,7 +61,7 @@
Building a RESTful API?<br />
<a href="http://apiengine.io">ApiEngine.io</a> - Coming soon
</span><a class="btn btn-warning " href="http://feeds.feedburner.com/BackboneTutorials">subscribe</a>
- <a class="btn btn-success " href="http://leanpub.com/backbonetutorials">download free - (.pdf, .MOBI, .ePUB)</a>
+ <a class="btn btn-success " href="http://leanpub.com/backbonetutorials">download ebook - (.pdf, .MOBI, .ePUB)</a>
<a href="http://gum.co/backbone-beginner-screencast" class="btn btn-primary">Watch Video Tutorial</a><script type="text/javascript" src="https://gumroad.com/js/gumroad.js"></script>
diff --git a/_posts/2011-01-29-what-is-a-model.md b/_posts/2011-01-29-what-is-a-model.md
index c917980..560fa57 100644
--- a/_posts/2011-01-29-what-is-a-model.md
+++ b/_posts/2011-01-29-what-is-a-model.md
@@ -165,7 +165,7 @@ Our model definition shall thus look like;
### Creating a new model
-If we wish to create a new user on the server then we will instantiate a new UserModel and call `save`. If the `id` attribute of the model is `null`, Backbone.js will send send of POST request to the server to the urlRoot.
+If we wish to create a new user on the server then we will instantiate a new UserModel and call `save`. If the `id` attribute of the model is `null`, Backbone.js will send of POST request to the server to the urlRoot.
{% highlight javascript %}
var UserModel = Backbone.Model.extend({
diff --git a/_posts/2011-02-01-why-would-you-use-backbone.md b/_posts/2011-02-01-why-would-you-use-backbone.md
index 4604da7..9489f29 100644
--- a/_posts/2011-02-01-why-would-you-use-backbone.md
+++ b/_posts/2011-02-01-why-would-you-use-backbone.md
@@ -7,18 +7,18 @@ posturl: http://backbonetutorials.com/what-would-you-use-backbone
# Why do you need Backbone.js?
-Building single-page web apps or complicated user interfaces will get extremely difficult by simply using [jQuery](http://jquery.com) or [MooTools](http://mootools.net). The problem is standard JavaScript libraries are great at what they do - and without realizing it you can build an entire application without any formal structure. You will with ease turn your application into a nested pile of jQuery callbacks, all tied to concrete DOM elements.
+Building single-page web apps or complicated user interfaces will get extremely difficult by simply using [jQuery](http://jquery.com) or [MooTools](http://mootools.net). The problem is standard JavaScript libraries are great at what they do - and without realizing it you can build an entire application without any formal structure. You will with ease turn your application into a nested pile of jQuery callbacks, all tied to concrete DOM elements.
-I shouldn't need to explain why building something without any structure is a bad idea. Of course you can always invent your own way of structuring your application but you miss out on the benefits of the open source community.
+I shouldn't need to explain why building something without any structure is a bad idea. Of course you can always invent your own way of structuring your application but you miss out on the benefits of the open source community.
## Why single page applications are the future
-Backbone.js enforces that communication to the server should be done entirely through a RESTful API. The web is currently trending such that all data/content will be exposed through an API. This is because the browser is no longer the only client, we now have mobile devices, tablet devices, Google Goggles and electronic fridges etc.
+Backbone.js enforces that communication to the server should be done entirely through a RESTful API. The web is currently trending such that all data/content will be exposed through an API. This is because the browser is no longer the only client, we now have mobile devices, tablet devices, Google Goggles and electronic fridges etc.
## So how does Backbone.js help?
-Backbone is an incredibly small library for the amount of functionality and structure it gives you. It is essentially MVC for the client and allows you to make your code modula r. If you read through some of the beginner tutorials the benefits will soon become self evident and due to Backbone.js light nature you can incrementally include it in any current or future projects.
+Backbone is an incredibly small library for the amount of functionality and structure it gives you. It is essentially MVC for the client and allows you to make your code modular. If you read through some of the beginner tutorials the benefits will soon become self evident and due to Backbone.js light nature you can incrementally include it in any current or future projects.
## Other frameworks
diff --git a/examples/nodejs-mongodb-mongoose-restify/templates/layout.html b/examples/nodejs-mongodb-mongoose-restify/templates/layout.html
index aeb9632..d3e6f7d 100644
--- a/examples/nodejs-mongodb-mongoose-restify/templates/layout.html
+++ b/examples/nodejs-mongodb-mongoose-restify/templates/layout.html
@@ -1,8 +1,7 @@
<div class="header">
<h1>Node.js, MongoDb, Mongoose, Restify</h1>
- <p>This example is built on top of <a href="http://backboneboilerplate.com">backboneboilerplate.com</a>. If you have trouble please send me a direct email (thomasalwyndavis@gmail.com) and I will help you sort it out and update the example accordingly.</p>
- <h3>Guestbook Example</h3>
- <p>Hello my lovely guest, please leave a message in my guestbook!</p>
+ <strong>My example server is currently down, sorry guys will try get it up and running asap</strong>
+
</div>
<div style="clear: both;"></div>
<div class="page">Loading</div>