Php, mysql and codeigniter |
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..
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...lls-in-PHP
Best regards,
José Postiga Senior Backend Developer
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!
|
Welcome Guest, Not a member yet? Register Sign In |