I believe I got this idea from Backbone's documentation [1] originally, but I've seen it mentioned in other places as well.
292 karma · joined November 6, 2011
I believe I got this idea from Backbone's documentation [1] originally, but I've seen it mentioned in other places as well.
Where it sits, however, is only part of the problem!
I use plz[1] and instagit[2] in tandem via post-receive hooks to do the "deployment" bit, along with a service registry (closed-source, written on work time, boo!) like seaport[3] and a proxy based on httppp[4] to route requests to the right application.
---
1. https://github.com/deoxxa/plz
2. https://github.com/deoxxa/instagit
I'm going to keep poking at this thing, so I'll document what I find here: https://gist.github.com/deoxxa/5111644 - feel free to join in!
In saying this, I use node for a heck of a lot at work, but that's mostly because some of the workflows available (streams and events specifically) are perfectly suited to the programs I write in it; not because it lets jQuery monkeys crank out substandard backend code.
You don't need github to be online to work with your code or even your repositories so long as you haven't gone and thrown all your digital eggs in the same basket (i.e. as long as you have other remotes or at least local copies of your repositories).
It's not insecure in this usage (even if it were used on the client), as all the actual code is generated by uglify-js via an AST and it takes care of properly escaping everything.