1. developersfactory
  2. Fuel

Wiki

Clone wiki

Fuel / Home

Fuel

Index
<<toc >>

Fuel your CodeIgniter fire!
Fuel is a library to further improve CI. Right now, Fuel is only adds an easy-to-use ORM layer (FuelORM).
To come: FuelREST.

All you need to do is add the fuel lib folder to your app/libraries folder and autoload it as 'fuel/fuel' and it's ready to be used.

To generate the models, you need to define them in a fuel_mapping.php config file. There is an example included in the distribution.

Better (exhaustive) docs to come!

Installation & Configuration

  1. Copy the fuel library folder to your app/libraries folder
  2. Autoload the library as "fuel/fuel"
  3. Write your mapping file in config/fuel_mapping (mapping docs docs to come) or reverse-ingeneer it from your db (reverse docs to come)
  4. Use FuelGenerator to generate the classes from the mapping configuration (ObjectModel Generation docs to come)
  5. You're ready to go!

License

Fuel is released under the MIT license

Copyright (c) 2010 Luciano Longo
Collaborators: Diego Calero, Sebastian De Cicco

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Updated