Commit Graph

12 Commits (0fba1c95b96685b207d726face15c35389b6f002)

Author SHA1 Message Date
Dustin C. Hatch 0fba1c95b9 Added licensing information and boilerplate messages 2011-04-05 23:47:44 -05:00
Dustin C. Hatch f3b0f44449 Imported authentication-related features from Thunder 2011-04-05 23:35:48 -05:00
Dustin C. Hatch 303b0ff880 Added a `util` module and moved the `asbool` function there 2011-03-30 19:56:38 -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 7d355f3de5 Basic URL dispatch and controller functionality 2011-03-13 16:49:54 -05:00
Dustin C. Hatch 5ee673957e Started the Milla project, a simple WSGI web framework 2011-03-13 16:46:42 -05:00