Backbone.js tutorials and learning resources [closed] - javascript

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Are there any other backbone.js tutorials or learning resources for beginners than Introduction or Hello backbone.js?

I forgot the Backbone tutorials!
Read the annotated sample application
There is also this tutorial by Addy Osmani
The dailyJS has something to say too.
And Quora has a lot of information
And a very basic series for learning backbone js

Brief introduction to backbone.js
http://net.tutsplus.com/tutorials/javascript-ajax/getting-started-with-backbone-js/

I also found this interisting tutorial for testing Backbone.js
http://tinnedfruit.com/2011/03/03/testing-backbone-apps-with-jasmine-sinon.html

I will added this one : Aaron it's really helped me out!!

I think this is a decent tutorial. It goes over a simple (hello world kind of simple) example. It also has links to documentation and demo apps.
http://www.plexical.com/blog/2010/11/18/backbone-js-tutorial/

I know this question is already marked as answered, but just to add to the knowledge here for anyone coming across this question:
I found this walk-through of implementing Backbone.js useful:
http://andyet.net/blog/2010/oct/29/building-a-single-page-app-with-backbonejs-undersc/

I know 2 Backbone.js resource collections you might be interested in:
Derick Bailey's Backbone Resources
Backbone.js Wiki Link Collection

Peepcode has two paid screencasts on backbone
https://peepcode.com/products/backbone-js
https://peepcode.com/products/backbone-ii

Related

Getting started with backbone.js [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm working on my project and i used alot of js and jquery in that project and now it's alot messy over here.
I was suggested to move over to some js framework so i started working on backbone.js. I need your guyz help on how i can learn it fast enough as afterwards i've to shift my code in this framework too. I'm beginner in this framework so any suggestion for tutorials or books i can speedily go through and learn it ? Also backbone.js is my only option because i've to use it in further projects as well.
Regards
I think you should start by reading the Backbone.js book by Addy Osmani. If you are familiar with the MVC design pattern then you may start directly from The Internals to get yourself started quickly. Now, after getting a feel of what is possible with Backbone.js, you should try to understand the code of the very simple todo app which has its source code in Github. Try to understand every part of the code - I found it very insightful as I was only beginning javascript and the concepts were new. Some parts of the todo app is explained in the book mentioned above, but some other parts you have to figure out on your own. You will need the help of official documentation. Figure out how to code nested models and views.
Once you have done this, get your hands dirty by starting coding an application. This will give rise to many questions. Now, you have to take help of the documentation, stackoverflow and the #documentcloud, #javascript and #jquery IRC channels when you get stuck.
Most importantly - have fun!

AngularJS or Backbone for beginner [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm choosing a javascript framework for my Chrome extension programming (localStorage, lots of ajax calls, filtering, json manipulation). Do you recommend AngularJS or Backbone? I started with JS a few months ago (I have PHP and Java background) and the main problem for me is to have a good and clean structure of my web app.
What I like about AngularJS? The two way binding and the concept itself.
What I like about Backbone? It's really simple for beginner. And there are a lot of resources.
Full disclosure: I work on AngularJS, and obviously have a bit of a bias. ;)
If you're looking for an opinionated application structure, I would definitely stick with AngularJS. Backbone provides many helpful utilities, but there are many choices that you have to make about how you want to connect things. From my experience writing medium/large apps with Backbone.js, I've found that I have to put in more effort to keep things organized compared to AngularJS, which has much clearer separation of concerns.
The best choice is to code little projects in these two libraries.
Why not test and see the code from Todo MVC project from Addy Osmani and after that, make your choice ?

Good tutorials on refactoring Javascript into a JavaScript MVC frameworks? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm looking for tutorial(s) on how to refactor JavaScript application into a JavaScript application using one of the existing JS MVC frameworks. Anyone got any?
Yes, I recommend the Backbone-Boilerplate located at GitHub.
This is beneficial because, not only do you get the Backbone MVC, but also require.js AMD, and underscore.js templates. The authors have been consistently active, and the code is impressive to work with.
Here are the associated tutorials:
Introduction
AMD Module setup
Boilerplate
Overview
Router Explanation
These were the tutorials I used to get it up and running. Also included is Node.js and Grunt build system. They are very much worth the effort if you are not familiar with them. I just saw today that a jQuery project is incorporating the Grunt build system. This is a good setup.
UPDATE: Apologies if you were already aware of the boilerplate. I realize it does not directly relate to refactoring. This looks like a good post on refactoring MVC.
Documentation may be sparse as it would be specific to how your codebase is architected. The key notion would be Data maps to Model, GUI maps to View, Collections contain multiple models, and the Router is used to route events.
Hope that helps.
All the best!
Nash

Any backbone.js books available? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I've been very excited with backbone.js recently, but all I can find was minimal tutorials on the web. Have been searching for a backbone.js book, but since it just recently came out, wasn't able to find any. Was hoping you guys know currently in production, perhaps a beta available somewhere?
I do not think Backbone is big enough to require a complete book on it. It is only 4 base JS classes. I would suggest you look for books on MVC and design patterns related to it. This is really the base. Maybe some guides on restful web apps and HTML.
The best book is to read the annoted source here: http://documentcloud.github.com/backbone/docs/backbone.html
As Julien said it might be too small to have its own book, but JavaScript Web Applications by Alex MacCaw might be useful. It has a chapter on Backbone as well as other frameworks and covers a lot of general topics that are likely to be relevant to anyone working with Backbone.
Its available as a beta ebook now.
There is a prerelease eBook called Backbone JS on Rails by some people who are well-known within the Rails community. I haven't purchased access to it yet, but the Table of Contents looks good.
Recently released "Developing Backbone.js Applications: Building Better JavaScript Applications" by Addy Osmani.
Here's a screencast that might be helpful, it comes with a pdf that's a bit like a book.
https://peepcode.com/products/backbone-js

node.js Examples [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Are there any useful examples of node.js (such as a guestbook or chat room)?
Read about what I did to make it here: http://www.travisglines.com/web-coding/lets-make-a-twitter-clone-in-node-js
Check out the source code here: https://github.com/tglines/nodrr
There are some useful introductory videos on node at the Node.js Camp website that helped me get my head round things. Particularly the Introduction to Node video by Ryan Dahl (creator of Node.js) where he codes a basic chat server on the spot. Also the videos about Tim Caswell's game client are pretty impressive.
http://camp.nodejs.org/videos/
You may also want to look at the socket.io example on Tim Caswell's 'How To Node' blog if you're interested in a simple chat server.
You didn't say how proficient you were in Javascript but Tim has written a couple of interesting articles that explains some Javascript fundamentals using object graphs. Helps explain some novel concepts such as the prototype chain and closures.
http://howtonode.org
Here is a chat along with its source code.
Here is a list of a bunch of applications created using node.js that already exist. Perhaps this would be a nice place to start --
https://github.com/joyent/node/wiki/Projects,-Applications,-and-Companies-Using-Node
DailyJS has a tutorial series about building an app with node.js: http://dailyjs.com/tags.html#lmawa
Pedro Teixeira walks his viewers through creating several parts of a web application at Node Tuts. The code to go with his screencasts can be found on his Github page. They mostly deal with Express and Mongoose, but there are plenty of other subjects and code samples there.

Categories