9 ms·
Backbone.js Fundamentals
- zkirill 15y agoGoogle should really add Backbone.js to Libraries API.
- pooriaazimi 15y agoThe online version[1] was submitted 10 days ago[2] (by someone else) but it didn't get any attention. So I submitted a link to the epub version. It seems like a very good tutorial and I hope someone finds it useful. [1]: http://addyosmani.github.com/backbone-fundamentals http://addyosmani.github.com/backbone-fundamentals [2]: http://news.ycombinator.com/item?id=3784854 http://news.ycombinator.com/item?id=3784854
- pooriaazimi 15y agoAlso, I'm watching a terrific presentation from the book's author right now: Large-scale JavaScript Application Architecture Developers creating JavaScript applications these days usually use a combination of MVC, modules, widgets and plugins for their architecture. They also use a DOM manipulation library like jQuery. Whilst this works great for apps that are built at a smaller-scale, what happens when your project really starts to grow? In this talk, I present an effective set of design patterns for large-scale JavaScript (and jQuery) application architecture that have previously been used at both AOL and Yahoo amongst others. You'll learn how to keep your application logic truly decoupled, build modules that can exist on their own or be dropped into other projects and future-proof your code in case you need to switch to a different DOM library in the future. http://speakerdeck.com/u/addyosmani/p/large-scale-javascript-application-architecture http://speakerdeck.com/u/addyosmani/p/large-scale-javascript...
- ehutch79 15y agoIs there video of this? I find slides often miss out on things their author says on stage.
- pooriaazimi 15y agoI don't think so. But this particular presentation (130 slides!) has tons of text on each slide that kinda works like a presenter...
- vitorbal 15y agothere IS a video for this, although it appears to be a slightly different version: http://asyncjs.com/largescale/ http://asyncjs.com/largescale/
- deleted 15y ago[deleted]
- deleted 15y ago[deleted]
- oscardelben 15y ago> You're over the rate limit. Serve this file from your own servers. Contact support@github.com if you have questions. If you get that error just get it from the main repo https://github.com/addyosmani/backbone-fundamentals/ https://github.com/addyosmani/backbone-fundamentals/
- tibbon 15y agoAnd if you still hit an error, just git clone it :)
- chops 15y agoEasy mode quick clone: git clone https://github.com/addyosmani/backbone-fundamentals.git
- udp 15y agoI didn't know there was a rate limit. Does this affect GitHub Pages, too?
- cygal 15y agoIt checks for the referer to avoid inline linking[0], so this won't affect GitHub Pages. [0]: http://en.wikipedia.org/wiki/Inline_linking http://en.wikipedia.org/wiki/Inline_linking
- taylorbuley 15y ago.tar.gz: https://github.com/addyosmani/backbone-fundamentals/tarball/master https://github.com/addyosmani/backbone-fundamentals/tarball/... .zip: https://github.com/addyosmani/backbone-fundamentals/zipball/master https://github.com/addyosmani/backbone-fundamentals/zipball/...
- taylorbuley 15y agoZip: https://github.com/addyosmani/backbone-fundamentals/zipball/master https://github.com/addyosmani/backbone-fundamentals/zipball/...
- deleted 15y ago[deleted]
- danbee 15y agoiBooks shows me an error on the 2nd page: "This page contains the following errors: error on line 649 at column 295: Opening and ending tag mismatch: cpde line 0 and p Below is a rendering of the page up to the first error."
- obtu 15y agoHere is epubcheck if that helps anyone: https://code.google.com/p/epubcheck/ https://code.google.com/p/epubcheck/ Seems to be a typo in index.md, and a bug in Pandoc which lets non-well-formed xml tags pass through unquoted.
- ldvldv 15y agoIs there a PDF version somewhere?
- bockris 15y agoI found an online epub -> PDF converter. It didn't come out that great but it lets me browse the contents until I can load the epub on my tablet.
- pooriaazimi 15y ago(it's really not an answer, but just in case you haven't seen it already, here's an online version which is actually prettier than the epub one: http://addyosmani.github.com/backbone-fundamentals http://addyosmani.github.com/backbone-fundamentals )
- draggnar 15y agoCalibre is an open source e-book management software that you can use to read an .epub or convert to .pdf http://calibre-ebook.com/ http://calibre-ebook.com/
- mike-cardwell 15y agoI was thinking of learning Backbone soon until I read about Meteor yesterday. Is there any point in learning Backbone, or should I just go the Meteor route?
- webista 15y agoBackbone is almost at the top of the javascript toolkit levels. Let's put it in perspective: - backbone - jquery - meteor <- the low level of the high level :) You use meteor as a foundation to build your application as backbone is more or less your application itself. Think "CoreFoundation" vs "AppKit" kind of difference. by jguimont
- knowtheory 15y agoYour question strikes me as an odd one. Meteor just came out. I'm not sure that there are any folks who have built any substantial systems using Meteor yet (aside from it's authors) who would be able to give you a firm recommendation. That said, Meteor and Backbone do different things. Meteor is an attempt to solve (obviate, really) the mismatch between client/server development. To what extent it does this in a reasonable fashion is yet to be fully explored (although it does look awesome!) Backbone is a client-side JS application toolkit. It's purpose is to bundle up the things that are common to every JS application, and provide a solid API to hook your application code to, and to hook your app to your RESTful server API. That said, Backbone offers more than just a convention for how your JS app talks to your API. You will note that Backbone is included in the default set of installable Meteor packages.
- douglasisshiny 15y agoI'm a newbie, although I feel somewhat informed on these subjects (although not skilled in coding). Anyway, I like the idea of using javascript everywhere. I plan on building smaller apps that are only client side. But I wonder if there is a cohesive method yet of using javascript everywhere. Obviously meteor was big news yesterday, but it's quite immature. The YUI Mojito project also recently made news and is more stable/robust. While the tightly integrated approach used in YUI sounds convenient, I get the impression that there isn't much excitement behind YUI -- certainly not like backbone.js, node.js, et al. So is there a collection of libraries that can play together well to make for an all javascript environment (i.e., backbone (plus underscore, jQuery) on the client, node + socket.io on the server)?
- pooriaazimi 15y agoAs an aside, Peepcode has a 3 part video tutorial on Backbone.js, which is exceptionally great (more than 3 hours, but it's really condensed and it took me 2 days to completely digest it). Each episode is $12; a little expensive at first sight, but really worths it. https://peepcode.com/products/backbone-js https://peepcode.com/products/backbone-js https://peepcode.com/products/backbone-ii https://peepcode.com/products/backbone-ii https://peepcode.com/products/backbone-iii https://peepcode.com/products/backbone-iii
- chris_wot 15y agoIt says that the account is over it's rate limit. Can someone from Github sort this out?
- jashkenas 15y agoA side question, which seems worth asking as long as this is floating at the top of HN ... We try to rotate in fresh projects into the list of Backbone apps on the homepage: http://backbonejs.org/#examples http://backbonejs.org/#examples ... but there are often many more interesting things out there in the wild than we're necessarily aware of -- for example: Rdio, the new GoogleArtProject.com, and Pitchfork.com. Are you currently working on a fun Backbone app, or have you seen one recently that we might not have heard about?
- sgrove 15y agohttp://kandan.me http://kandan.me is a backbone app, as well as a few others we've developed at Bushido so far.
- nonrecursive 15y agohttp://openhercules.com http://openhercules.com is a backbone app
- jbigelow76 15y agoOff topic but I love your explanation of the openhercules name. Edit: just played with the sample list and the keyboard interaction is pretty impressive too. Nice work.
- bdunn 15y agohttp://planscope.io http://planscope.io is Backbone with a ton of customization
- 0x5a177 15y agoI'm working on http://www.textdropapp.com http://www.textdropapp.com
- dmvaldman 15y agoyep, backbone has been a huge timesaver. 13 model/collection types, 24 views and counting. leave timestamped comments on any video http://www.quipvideo.com http://www.quipvideo.com
- znake 15y agoYou're over the rate limit. Serve this file from your own servers. Contact support@github.com if you have questions. LOL
- tambourine_man 15y agoAny recomendation on epub readers for Mac?
- pooriaazimi 15y agoThere's always Calibre[1], but it's really bloated. It's a very powerful and capable ebook management system though, it's just not really Mac-ish. Adobe has a very good ePub reader, called 'Adobe Digital Editions'[2] that runs on Mac, Windows and (I assume) Linux. It's an Adobe Flash/Air application and is much prettier than Calibre. If you don't mind Flash on your mac (I gave up last year), It's currently the best choice. [1]: http://calibre-ebook.com/ http://calibre-ebook.com/ [2]: http://www.adobe.com/products/digitaleditions/ http://www.adobe.com/products/digitaleditions/ [edit] No, there's no Linux version. You can use it with WINE though; use the instructions here: http://ubuntuforums.org/showthread.php?t=701191 http://ubuntuforums.org/showthread.php?t=701191
- novalis 15y agoAdobe Digital Editions runs just great and is always handy. I don't get how no one else is doing something like it.
- tambourine_man 15y agoThanks. Isn't ePub just zipped xml/html? Why aren't there more choices? Seems like a wrapped Webkit would do the trick. Or maybe people just don't read much on PCs anymore.
- pooriaazimi 15y agoIt's more than just a zipped xml+css+html. There's a total mess underneath that open format specification (toc, item-references, etc). Use Calibre (right click -> tweak ePub -> explode ePub), or eCub[1] to see and manipulate what's inside an epub... [1]: http://www.juliansmart.com/ecub#mac http://www.juliansmart.com/ecub#mac
- deleted 15y ago[deleted]
- ashconnor 15y agoI've converted it to Mobi if anybody wants it: http://dl.dropbox.com/u/24776084/backbone-fundamentals.mobi http://dl.dropbox.com/u/24776084/backbone-fundamentals.mobi
- Osiris 15y agoMy team just finished building two new features of our application using Backbone and now we're actually looking into switching to Ember.js to take advantage of the automatic databinding and lack of a need to do manual DOM manipulation. Can anyone comment on their experience with the two frameworks?
- pooriaazimi 15y agoFor those who (like me) haven't heard of Ember.js before, it's SproutCore 2.0 (a complete re-architecture by the looks of it). http://emberjs.com/ http://emberjs.com/ https://github.com/emberjs/ember.js/ https://github.com/emberjs/ember.js/ http://yehudakatz.com/2011/12/08/announcing-amber-js/ http://yehudakatz.com/2011/12/08/announcing-amber-js/
- oluckyman 15y agoDo yourself a favor and look at AngularJS.
- deleted 15y ago[deleted]
- legacye 15y agoFor anyone else running into traffic/timeout issues with GitHub, you might have better luck with this tagged version of the above project https://github.com/addyosmani/backbone-fundamentals/zipball/v0.9 https://github.com/addyosmani/backbone-fundamentals/zipball/...
- danneu 15y agoThis week I'm finding it really hard to cognitive-dissonantly validate why I don't know javascript yet. But you're breaking me, O constant-plethora-of-awesome-javascript-submissions.
- pooriaazimi 15y ago3 months ago I thought JS was a toy language for those who don't know any real programming language (a.k.a. script kiddies). I've never been so mistaken in my life. Node.js (written in CoffeeScript) + MongoDB/CouchDB/Redis + socket.io is a wonderful (and scalable and wicked fast) development platform.
- vanni 15y ago'[epub]' appended to submission title would be nice.
- pooriaazimi 15y agoThe original submitted title was: Backbone.js Fundamentals (free ebook - epub version) A moderator changed it a couple hors ago.
- fotoblur 15y agoFotoblur Labs is a project which utilizes backbone.js: http://www.fotoblur.com/labs http://www.fotoblur.com/labs
- thomasdavis 15y agohttp://backboneboilerplate.com http://backboneboilerplate.com and http://backbonetutorials.com http://backbonetutorials.com