Welcome Guest, Not a member yet? Register   Sign In
Poll: Improved routing?
You do not have permission to vote in this poll.
yes
82.98%
39 82.98%
no
8.51%
4 8.51%
maybe
8.51%
4 8.51%
Total 47 vote(s) 100%
* You voted for this item. [Show Results]

Magic Routing toggle
#11

(This post was last modified: 04-13-2015, 01:13 AM by sv3tli0.)

(04-12-2015, 08:44 AM)includebeer Wrote:
(04-12-2015, 04:26 AM)sv3tli0 Wrote: With my personal experience I vote for full remove-al of auto route matching /controller/method

Why does it bother you if it's still available but can be turned off?

I don't like this default behaviour of most of the frameworks .. 
Developers have to named their Controllers and Methods exactly as they will be accessible. 
And if for example the method is with different name you have to make a Custom route which will duplicate the default route to display it..
This thing I don't like a lot.

Router paths should't be auto generated by the framework. Its developers task to set-up them not framework..

But you are right it will be good to have option for that , the same way as it will be good to have option to create resource(RESTful) routes related to some new REST_Controller (this is idea from other thread).
Best VPS Hosting : Digital Ocean
Reply


Messages In This Thread
Magic Routing toggle - by albertleao - 04-06-2015, 08:04 PM
RE: Magic Routing toggle - by orionstar - 04-07-2015, 03:39 AM
RE: Magic Routing toggle - by includebeer - 04-07-2015, 04:50 PM
RE: Magic Routing toggle - by albertleao - 04-08-2015, 09:04 AM
RE: Magic Routing toggle - by gadelat - 04-08-2015, 12:11 AM
RE: Magic Routing toggle - by Hobbes - 04-09-2015, 01:04 PM
RE: Magic Routing toggle - by includebeer - 04-11-2015, 04:05 PM
RE: Magic Routing toggle - by dmyers - 04-13-2015, 07:34 AM
RE: Magic Routing toggle - by sv3tli0 - 04-12-2015, 04:26 AM
RE: Magic Routing toggle - by includebeer - 04-12-2015, 08:44 AM
RE: Magic Routing toggle - by ivantcholakov - 04-12-2015, 10:08 AM
RE: Magic Routing toggle - by sv3tli0 - 04-13-2015, 12:48 AM
RE: Magic Routing toggle - by dmyers - 04-13-2015, 02:02 PM
RE: Magic Routing toggle - by albert.freeman - 04-13-2015, 03:14 PM
RE: Magic Routing toggle - by albertleao - 04-13-2015, 09:11 PM
RE: Magic Routing toggle - by sv3tli0 - 04-13-2015, 11:55 PM
RE: Magic Routing toggle - by includebeer - 04-15-2015, 04:30 PM
RE: Magic Routing toggle - by albertleao - 04-15-2015, 04:33 PM
RE: Magic Routing toggle - by sv3tli0 - 04-15-2015, 10:23 PM
RE: Magic Routing toggle - by mwhitney - 05-11-2015, 09:52 AM
RE: Magic Routing toggle - by skunkbad - 04-15-2015, 08:52 PM
RE: Magic Routing toggle - by noah - 05-06-2015, 02:06 PM
RE: Magic Routing toggle - by PaulD - 07-11-2015, 06:39 PM
RE: Magic Routing toggle - by mwhitney - 07-13-2015, 11:58 AM
RE: Magic Routing toggle - by kenjis - 07-12-2015, 02:38 PM
RE: Magic Routing toggle - by PaulD - 01-25-2017, 05:29 PM
RE: Magic Routing toggle - by albertleao - 01-26-2017, 01:14 AM
RE: Magic Routing toggle - by PaulD - 01-26-2017, 11:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB