Hacker News new | past | comments | ask | show | jobs | submit login
How To Tell A Story With Code (twilio.com)
25 points by RobSpectre on Aug 9, 2012 | hide | past | favorite | 9 comments



"This Gist brought to you by Github"

... there's got to be a less annoying and less intrusive way to say that. Maybe a hover-over?


Twilio uses Flask framework ? Awesome if yes!!


I use it for a bunch of demonstration stuff for Python - my Github is full of it. In terms of telling the story, it is visually a lot more coherent for the audience if they can see everything in a single file.

The routing decorators also serve very well as visual cues to the application you're building for the audience.


It's quite popular, as is Python itself with many of the engineers at Twilio.


My company's entire backend, both halves of it, are built on

(Redis, MongoDB) <- Flask -> WSGI -> Apache.

It has treated us very, very well.


Why apache and not nginx? Not trying to hate on apache, I'm about to launch a similarly designed product but we're going with nginx due to speed and concurrency concerns.


To pile on, check out using nginx as the front HTTP server and use gunicorn for the WSGI serving. Very performant on virtual hosts as a static/dynamic combo.


Familiar with it, no thanks. Apache + mod_wsgi is still better for a variety of use-cases.


Unsuitable to our use-case.




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

Search: