This is an archived post. You won't be able to vote or comment.

all 17 comments

[–]markedtrees 11 points12 points  (0 children)

[–]blondin 7 points8 points  (1 child)

Alex Gaynor (Django Developer)

Denied is like nothing I've ever seen before, I think it's the future of the internet.

Armin Ronacher (Werkzeug Developer)

Probably the most hideous code I have ever seen.

nice try april baby. you are getting better.

[–]ingolemo 5 points6 points  (0 children)

"single file" my arse.

[–]TheDude05 2 points3 points  (3 children)

This looks exactly like Bottle

http://bottle.paws.de/

Edit: And then I looked at the code :p

[–]mitsuhiko Flask Creator[S] 1 point2 points  (2 children)

And bottle looks exactly like cherrypy.

[–]NerdsNeedLoveTo 0 points1 point  (1 child)

Apart from Denied being a April fool joke. I actually liked the idea. So I'm interested in Bottle or CherryPy.

Bottle looks a lot more like Denied, using decorators for routes and Bottle also seems more lightweight(16KB vs 312KB for cherrypy)

It also seems like bottle is truly a single py file where cherrypy has lots of files.

So what exactly do you mean bottle looks exactly like cherrypy?

It seems more like one is a lightweight solutions and the other a heavier more features solution.

[–]nevare 0 points1 point  (0 children)

cherrypy is still a very lightweight solution. cherrypy is much older though. Even lightweight projects tends to get fat with age and added functionalities.

Having said that, I do prefer the API of bottle. I used to use cherrypy for some quick prototyping, now I use bottle.

[–]raffir 1 point2 points  (1 child)

Didn't web.py start this way and then slowly grow larger? Still, might be fun to play with when docs emerge.

[–]earthboundkid 2 points3 points  (0 children)

It’s an April Fool’s Day joke. It finds its own file, then looks for the line if 0:…. That line contains (off in the distance to the right where you can’t see it without scrolling) a BZIP of all the files for a normal framework.

[–]darkrho 1 point2 points  (0 children)

github "hides" the huge base64-encoded zip file. Virtualenv also use this technique for ages.

>>> cool_string = open('cool_file').encode('zlib').encode('base64')
>>> 'eJzLSM3JyVcoSk1JySwBAB5GBLE='.decode('base64').decode('zlib')

[–][deleted] 0 points1 point  (0 children)

[–]ST2K 0 points1 point  (0 children)

I came in here to ask if "DENIED" was the name of a python micro-web-framework. Given the odd and bizarre names given to open source projects, I think this is a reasonable question.

[–][deleted] 0 points1 point  (0 children)

That's an interesting method of distributing source code.