Welcome Guest, Not a member yet? Register   Sign In
Using variables as the controller name for routes

Hello and thanks! It seems the quote button doesn't work here but I'll do this instead...

"I’m pretty sure it’s not possible to do something like that. Do you have that much classes in your app that you really don’t want to type them in? "

What it amounts to is dynamic flexibility without relying on a singular controller to do all the heavy lifting. If a single controller has to have 40 switches and load each and every library file (because for some reason I can't get $something = new library_file to work in CI4) it becomes very taxing in memory. Now if it's possible to load library files as they are needed, that would be different and much less of a burden however being able to do what I was explaining in the OP would give so much more power to codeigniter projects.

Messages In This Thread
RE: Using variables as the controller name for routes - by eri146 - 06-18-2021, 07:03 AM

Theme © iAndrew 2016 - Forum software by © MyBB