javascript - How to POST backbone model data to DB through PHP -


I am trying to understand localStorage , but still is a bit confused because it Only a few lines of code do a lot in the background.

What do I need to do in a database to access a database using PHP through a database?

It seems that save () does everything for you, but how do I set up a connection with db, user, password ... etc?

Please tell me in the right direction?

Thank you!

The first local store is an HTML5 API, and saves it locally; Whereas PHP is on the server.

is a great one that tells how to set up routes, PHP framework with the use of larley (but you can use anything).

If you are running Apache Web server, or you can use the emulateJSON () backbone method, or enable the PUT and DELETE method to set up U .

> If you prefer to choose ESU, Put and Delay HTTP methods will be interpreted as POST method after going to the server.

I hope that I am clearly enough, if it is not, feel free to ask.


Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -