CodeIgniter Forums

Full Version: Application vs Driver
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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 !