Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the default routing method #1

Open
Alex-Nabu opened this issue May 31, 2015 · 0 comments
Open

Change the default routing method #1

Alex-Nabu opened this issue May 31, 2015 · 0 comments

Comments

@Alex-Nabu
Copy link
Owner

The current method of selecting a controller based on RESTFUL ROUTING is OK but error prone and none standard.

For example. Currently If I send a POST OR GET request the router does its restful magic and selects the "controller_METHOD_CONTROLLER.php" file. But the developer has to be the one to make sure the controller name is spelled correctly which involves spelling out the now lengthy controller name not to mention I now have to add on the "_METHOD_CONTROLLER" part to my controller name.

My recommendation: Ditch the default way of restful routing and implement the routing in the standard matching routes to controller way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant