News for hackers. Stuff that matters.
Re:Gadget: A smallish web framework for Go by recuter on Tuesday November 26, 2013 @11:16AM (#6802184)
I'm kind of amazed at the SLOC, ~600 lines for the whole thing. Flask is much bigger and depends on Werkzeug (~20K?), heck even Bottle doesn't come in under 1,000 lines. That is incredibly attractive.
Re:Gadget: A smallish web framework for Go by codegangsta on Tuesday November 26, 2013 @11:19AM (#6802208)
Yup I plan to keep it that way too. I believe there is enough flexibility in Martini to cultivate some great functionality around the martini-contrib repo. There is already some pretty awesome things landing there https://github.com/codegangsta/martini-contrib
Re:Gadget: A smallish web framework for Go by draegtun on Tuesday November 26, 2013 @03:44PM (#6804070)
Checkout Camping (Ruby) & Squatting (Perl). Both are web microframeworks that aim (when minimised) to fit at or under 4K characters.

Here's the squashed versions of...

- Camping (currently 4.031 kb over 55 lines) - https://github.com/camping/camping/blob/master/lib/camping.r...

- Squatting (currently 3.929 kb over 68 lines) - https://github.com/beppu/squatting/blob/master/lib/squatting...

Re:Gadget: A smallish web framework for Go by krakensden on Tuesday November 26, 2013 @02:55PM (#6803723)
bottle.py might be a better Python comparison, since they're more concerned about being small & standalone.