![]() |
Controller in Library - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11) +--- Thread: Controller in Library (/showthread.php?tid=81901) Pages:
1
2
|
RE: Controller in Library - kilishan - 05-20-2022 (05-19-2022, 11:44 PM)InsiteFX Wrote: Isn't it a waste of time when the web is moving over to FIDO Passwordless Authiencation? It might be moving there, but it's not there yet. FIDO was definitely on my list of things to look into. Shield is built in such a way that dropping in another form of login should be relatively simple, though. RE: Controller in Library - kilishan - 05-20-2022 To get back to the OP's question, though - while it's theoretically possible to make an instance of a controller and use a method that doesn't use the request or response objects, that's not a great idea. Separating it out into a library or model is a much better practice. |