Refactor Controller
Reported by Kris Jordan | November 9th, 2008 @ 11:30 PM | in Public Preview
Simplify and document the logic for the dynamic dispatch from incoming serve(Request) to the controller's method.
Default behavior should be to use the second part of a request url as the method name. Subsequent parts should map 1:1 to parameters of the method. If there is not a second part to the request url see if there is a home method. Finally fail.
Comments and changes to this ticket
-
Kris Jordan November 13th, 2008 @ 12:36 AM
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The Recess PHP Framework is an open source, full stack, RESTful PHP framework.
http://www.recessframework.org/
People watching this ticket
Tags
Referenced by
- 52 Check for database extensions Fatal error: Uncaught exception 'DataSourceCouldNotConnec...
- 53 Create SQLite database if it does not exist Fatal error: Uncaught exception 'DataSourceCouldNotConnec...
- 59 recess tools should handle magic_quotes Thanks for the clarification. Breaking this ticket in two...
- 88 Friendly Production Mode Errors Fatal error: Uncaught exception 'PDOException' with messa...