• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Benchmarking Ci4 router

#11
Main problem for me in ci4 (or i cannot see the solution) is to use the router class and router collection as "subrouter" to split the routes
Scenario
Dinamic Front router (load routes from modules)
Controller
Method a
Method b
Method route
Another router and route collection instance

The handle () method should accept arguments handle(uri,method )
Checkroutes method should optionally detect language and passed as argument
Discover routes should take file array as arguments and should be public
getHTTPVerb and sethttpverb out and passed as arguments
A Cache routes (routescollection ?) Mechanism
Load cached routes array_merge routes without add every routes
Thanks .
Reply

#12
https://twenty-tech.com/laravel-quick-pe...ncepart-1/
https://akrabat.com/slims-route-cache-file/
Allow  router and subrouter to cache and load all routes  at once
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.