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
Related
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 want to learn JavaScript. For this recently I had purchased a book named “JavaScript The Good Parts” from OReilly’s. Though this book is pretty old, but I got some good feedback about this book. I want to learn to write plain JavaScript code from scratch and then move to jquery. Is there any suggestion with this vision?
I have another question, just for curiosity --- is it possible to use JavaScript or jquery for developing desktop application inside?
If you search on Google then there are so many tutorial sites like
For JavaScript
http://www.w3schools.com/js/default.asp
http://www.echoecho.com/javascript.htm
http://www.tizag.com/javascriptT/
http://www.tutorialspoint.com/javascript/index.htm
http://www.quackit.com/javascript/tutorial/
For jQuery
http://www.w3schools.com/jquery/default.asp
http://docs.jquery.com/Tutorials
And there are lots of tutorials and PDFs for these, but you can start from the above urls
Or refer answer from here https://stackoverflow.com/tags/javascript/info
JavaScript The Good Parts is a great book for Javascript, I wouldn't recommend it for learning the language. You should come back to it once you understood the concepts of the language.
As #PitaJ already mentioned in the comments you should take a look at the learning section here: https://stackoverflow.com/tags/javascript/info
And yes, it is possible to develop desktop applications. However you will need software that allows you to do that. i.e.: http://appjs.org/ or http://www.tidesdk.org/
Speaking from a quality point of view, software developed like this will probably never reach the level of natively build applications.
You might also find the node.js project interesting.
EDIT: Windows 8 also allows you to build desktop Javascript application. MSDN Javascript Apps for Windows
Try:
1. http://www.w3schools.com/js/default.asp - w3schools' javascript tutorial
2. http://www.w3schools.com/jquery/default.asp - w3schools' jquery tutorial
These will give a idea of both javascript and jquery.
Once you are familiar with jquery, you can also visit: http:// api.jquery.com/
This is the official jquery api "blog".
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!
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
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
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.