https://github.com/davemo/zombie-events
A quick examination of view level zombie events in Backbone.JS, how they manifest and one solution to help eliminate them.
https://github.com/davemo/zombie-events
Last synced: about 1 year ago
JSON representation
A quick examination of view level zombie events in Backbone.JS, how they manifest and one solution to help eliminate them.
- Host: GitHub
- URL: https://github.com/davemo/zombie-events
- Owner: davemo
- Created: 2012-09-28T05:56:29.000Z (over 13 years ago)
- Default Branch: main
- Last Pushed: 2021-11-20T01:16:47.000Z (over 4 years ago)
- Last Synced: 2025-04-04T12:07:56.966Z (about 1 year ago)
- Language: JavaScript
- Size: 187 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Zombie Events in Backbone.JS Views

This is the source code for a [screencast](http://www.youtube.com/watch?v=BH4Cdq3cV44) I did on a quick examination of view level zombie events in Backbone.JS, how they manifest and one solution to help eliminate them. There are 3 commits in this codebase that walk through the steps I go through in the screencast.
# Running the App
1. Clone this repo
2. npm install
3. grunt run
# Other Notes
This project was built with [Lineman](https://github.com/testdouble/lineman) but makes significant modifications to portions of it, including:
1. Custom [Express.JS](http://expressjs.com/) server with stubbed endpoints
2. [Testem](https://github.com/airportyh/testem) for running specs separate from the lineman process: testem -f config/spec.json
3. [Twitter Bootstrap](https://github.com/twitter/bootstrap) with a basic single page app layout and navbar
4. Some default styling and Bootstrap mixins.less, useful for many projects
5. [Backbone](http://documentcloud.github.com/backbone/) router, models, collections and views in a way I usually organize things
6. Removal of default coffeescript files that lineman generates; you can still write coffeescript with lineman if you so desire, it's just not where I start :)
If you want a boilerplate project that features this application structure you can generate and customize one yourself with [Lineman](https://github.com/testdouble/lineman) or clone a copy of my [Lineman-Bootstrap-Boilerplate](https://github.com/davemo/lineman-bootstrap-boilerplate).
# License
MIT
# Acknowledgments
@adamzerner for the visualization graphic :)