https://github.com/cdent/tiddlybeaker
TiddlyWeb as Framework. Maybe. But probably not.
https://github.com/cdent/tiddlybeaker
Last synced: 17 days ago
JSON representation
TiddlyWeb as Framework. Maybe. But probably not.
- Host: GitHub
- URL: https://github.com/cdent/tiddlybeaker
- Owner: cdent
- Created: 2012-04-17T17:53:02.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-04-17T17:55:29.000Z (about 14 years ago)
- Last Synced: 2025-02-01T03:28:52.599Z (over 1 year ago)
- Language: Python
- Homepage: http://tiddlyweb.com/
- Size: 93.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Like Flask, but with tiddlers and TiddlyWeb.
Maybe a joke, maybe not.
tiddlybeaker/__init__.py contains the basics for supporting
stubapp.py, a simple web app which serves content from
http://0.0.0.0:8080/carp when you run python stubapp.py.
The exploration thus far has uncovered why frameworks like Flask do things
like the Werkzeug "Context Locals" (see http://werkzeug.pocoo.org/docs/local/):
without them you need to constantly passing around a context variable, like
environ, which means boilerplate, which these framework things are supposed
to eschew.
Since I didn't feel like writing a context manager, our handlers temporarily
accept a 'b' variable, which reference a Request object.
This is not meant for consumption, unless you're feeling feckless.
Chris Dent