I am not sure if any one has tried this. I want users to program to the platform we are building.Typically you need ability to have some sort of Api key, secret key defined for the user. Then expose some of the features in the system as an API level.
Wanted some inputs/thoughts if any one has done it before.
sid
Comments
If we have to expose some functionality via RESTFUL API or Client library.
sid
http://net.tutsplus.com/tutorials/php/working-with-restful-services-in-codeigniter-2/
One question : Is there a way we could write pass the fuel_users model back to a controller extended by REST_Controller (CI_Controller)?
That way I do not need to duplicate the code - rather just use what already exists and build on top and extend.
Another option is to write the controller REST_Module CONTROLLER extends REST controller and try loading the fuel users module. But that throws some weird errors.
$this->load->module_model(FUEL_FOLDER, 'users_model');
You can then access it in your controller like any other model (e.g. $this->users_model...)