Application vs Driver - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Application vs Driver (/showthread.php?tid=55381) |
Application vs Driver - El Forum - 10-24-2012 [eluser]Unknown[/eluser] Hi folks, I know about Codeigniter for a while now, but I've never used it so far. I'm thinking about moving one of my projects (a browser-based turn-by-turn tactical RPG engine) on Codeigniter, but I've just discovered I could use Drivers. Let's call my library "GameEngine" and then, I could have "Unit", "Weapon", "Item", "Battle", (...) classes within the "./application/library/GameEngine/drivers" directory. I'm thinking about using an application for the web interface and layout, and use a driver for the game engine itself. Is it a correct way to use drivers ? I know I could use Models but it doesn't seem as efficient. Thanks a lot ! |