3 ms·
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,0
by recuter 13y ago
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.
- codegangsta 13y agoYup 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 https://github.com/codegangsta/martini-contrib
- draegtun 13y agoCheckout 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.rb 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.pl https://github.com/beppu/squatting/blob/master/lib/squatting...
- krakensden 13y agobottle.py might be a better Python comparison, since they're more concerned about being small & standalone.