Live data from Hacker News

Bash on Balls: an MVC web framework for Bash, powered by netcat

github.com

1–10 of 40 posts

Re: Bash on Balls: an MVC web framework for Bash, powered by netcat

#3
It basically pipes a fifo into netcat, and pipes the output of netcat to an HTTP parsing script, which calls router and model "methods" (which use Bash's built-in "namespacing") which runs the Bash templating language esh and pipes the the HTTP response back into the fifo.

Re: Bash on Balls: an MVC web framework for Bash, powered by netcat

#8
post #4

So how can we use that? Is there any tutorial or examples?

I think it's best watched from a far.

Reminds me of an old SNL skit:

http://en.wikipedia.org/wiki/Happy_Fun_Ball#Warnings

Do not taunt Bash on Balls. Bash on Balls may stick to certain types of skin.

Re: Bash on Balls: an MVC web framework for Bash, powered by netcat

#9
Wow.

Shell is my favorite programming language these days. For systems programming there's really no way to get terser or more accurate programs with a scripting language. Once they work, my shell scripts are essentially side effect free.

That said, I use it for true pipelines. An MVC framework sounds insane. But I already learned some new Bash tricks from reading the code so keep up the madness!

Post reply on HN