2010FEB241232
Exploratory python webapp setup in 10m
Sometimes I just want to explore an idea quickly without the kitchen sink. I need something python based (base libraries) without having to hack .httaccess files, download apache and configure it. This rules out django even webpy.
Testing my idea won't be the final implementation. I want to be able to quickly create a prototype. This is what matters most - being able to quickly test the idea myself, then redeploy to appengine, django or another web stack.
Bottle allows me to do this.
You can read more about the Bottle framework here. Previously I've used webpy but setting this up requires (for me) apache then configuring .htaccess and apache config files.
Not now.
Running the app - note all thats needed:
- installing via sudo python setup.py install
- place the bottle.py and your code (test.py) in a dir
- run python test.py
No external webserver, mapping of directory paths etc.
next >>>
2010FEB241232
Exploratory python webapp setup in 10m
Sometimes I just want to explore an idea quickly without the kitchen sink. I need something python based (base libraries) without having to hack .httaccess files, download apache and configure it. This rules out django even webpy.
Testing my idea won't be the final implementation. I want to be able to quickly create a prototype. This is what matters most - being able to quickly test the idea myself, then redeploy to appengine, django or another web stack.
Bottle allows me to do this.
You can read more about the Bottle framework here. Previously I've used webpy but setting this up requires (for me) apache then configuring .htaccess and apache config files.
Not now.
Running the app - note all thats needed:
- installing via sudo python setup.py install
- place the bottle.py and your code (test.py) in a dir
- run python test.py
No external webserver, mapping of directory paths etc.
next >>>