Php, mysql and codeigniter - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Best Practices (https://forum.codeigniter.com/forumdisplay.php?fid=12) +--- Thread: Php, mysql and codeigniter (/showthread.php?tid=64187) |
Php, mysql and codeigniter - FalconReserve - 01-25-2016 Folks, we are using an application built on Codeigniter with PHP aad mysql. It is working fine and moving on to the final stage. The final stage being, connecting to our main source, the backend, via rest api. Ultimately, we would not have mysql. We will connect using rest api to backend. W already have the schema built up fr the services by mimicking the mysql tables. So the question, can this be done without a mysql db? The producion will not host or support mysql. So we want to use php app talk to the backend via rest api. Any help, appreciated.. RE: Php, mysql and codeigniter - josepostiga - 01-26-2016 Sure, use the curl lib so you could make the REST calls to your backend. A quick search on Google: https://support.ladesk.com/061754-How-to-make-REST-calls-in-PHP RE: Php, mysql and codeigniter - FalconReserve - 01-26-2016 José, appreciate your helpful reply. So, according to this, I can use the RESTful service to connect to my backend? I can get rid of my mysql select, update, delete, insert queries. Am I correct? Thanks much! |