You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: