Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
GithubViewer - New Example Backbone/Bootstrap Application (githubviewer.org)
42 points by tbranyen on June 4, 2012 | hide | past | favorite | 9 comments


Full source code available here: https://github.com/tbranyen/github-viewer


I'd like to point you to a similar example built with the YUI App framework: http://yuilibrary.com/yui/docs/app/app-contributors.html


here's the even better example app

https://github.com/paulmillr/ostio http://ost.io

backbone + coffee + chaplin + brunch + rest api + nested models / views + collectionviews + controllers (+session controller with GitHub auth) + actually a real-world application


maybe that's my problem with backbone and all these frameworks without a lot of conventions. i am not really good at javascript and can't figure out which approach is the bestestest.

i am working on it, though. got no choice.


Argh! That really messes with the back-button. Otherwise its quite pretty.


No matter how much I try, I can't understand what brunch is trying to do or why it's necessary enough to even create.


That's simple: brunch is a project builder.

You put vendor styles / scripts in `vendor`, then you edit your `app` files. No matter what language you want to write, brunch will compile it on `brunch watch` or `brunch build`.

Of course you can make some sophisticated makefiles and connect sophisticated file watchers there (brunch fastly rebuilds project on every small change), but why do this when there's brunch which just works?


"Backbone Boilerplate/LayoutManager Example"

What is LayoutManager?


https://github.com/tbranyen/backbone.layoutmanager

Plugin I wrote for managing layout/views in Backbone. Provides a ton of features and flexibility. Before 0.5.0 it wasn't very stable for lists/collections.

I'd highly recommend giving it a shot, because it makes writing Backbone applications significantly easier.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: