Commit Graph

113 Commits (4090df1286b6dc1b33f4b432ee478d22c7733633)

Author SHA1 Message Date
Dustin C. Hatch c744d79422 Ignore egg info 2011-03-29 20:22:46 -05:00
Dustin C. Hatch 132a5c1ffc Export webob.request objects in the milla namespace 2011-03-27 22:04:34 -05:00
Dustin C. Hatch 9fa85fac47 Added an icon and support for automatically serving favicon.ico 2011-03-27 15:24:41 -05:00
Dustin C. Hatch 9b30000a36 Support for `__before__` and `__after__` method calls for controllers
For convenience, a `Controller` class now exists from which all classes wanting to implement these methods should descend. This will allow sane cooperative multiple inheritance.
2011-03-27 14:54:42 -05:00
Dustin C. Hatch 02bc0ea404 Export `webob.responce` objects in the `milla` namespace 2011-03-27 14:52:48 -05:00
Dustin C. Hatch ab4ca55620 Don't copy attributes that don't exist to partial instances
Classes don't have an `__name__` attribute, so when wrapping them in a `functools.partial` instance, don't try to copy it. Same goes for `__doc__`, but most objects should have that.
2011-03-27 14:52:17 -05:00
Dustin C. Hatch 6cf47a0339 Added a traversal dispatch method and cleaned up the router
* Created a dispatcher protocol for classes to implement for path resolution
* Implemented a traversal dispatcher
* Updated the router to implement the dispatcher protocol
* Added unit tests for both dispatchers
* Replaced the Controller class with an Application class
2011-03-26 23:35:31 -05:00
Dustin C. Hatch 5d4b1cf61f Allow string responses from controller methods 2011-03-26 17:29:14 -05:00
Dustin C. Hatch 3df4e4c9ba Fix `package_dir` keyword in `setup.py` 2011-03-18 19:45:18 -05:00
Dustin C. Hatch 7d355f3de5 Basic URL dispatch and controller functionality 2011-03-13 16:49:54 -05:00
Dustin C. Hatch 655f3a8a5d Added setup.py 2011-03-13 16:48:35 -05:00
Dustin C. Hatch cb00115c9d Started documentation 2011-03-13 16:48:16 -05:00
Dustin C. Hatch 5ee673957e Started the Milla project, a simple WSGI web framework 2011-03-13 16:46:42 -05:00