Codeigniter website and REST api from same models |
I have a website and I want to also integrate a mobile app. I'm thinking about adding another set on controllers to the website that will respond with JSON (based on https://github.com/chriskacerguis/codeig...restserver ) so I can reuse the models and hopefully sending JSON data straight from the controllers would be faster that sending data from a view that converts to JSON. Let's consider the GET case for now.
Does anyone have experience doing something like this in CodeIgniter. Thanks, |
Messages In This Thread |
Codeigniter website and REST api from same models - by adammendoza - 03-11-2015, 01:37 AM
RE: Codeigniter website and REST api from same models - by silentium - 03-11-2015, 10:20 AM
RE: Codeigniter website and REST api from same models - by cartalot - 03-11-2015, 01:11 PM
RE: Codeigniter website and REST api from same models - by silentium - 03-11-2015, 01:22 PM
|