How can we send HTTP requests to the server using backbone js ? for example I have an external url to use for sending my GET,POST,PUT,DELETE requests :) thanks for your answer
Answer:
you we should put the url in the url of collection and backbone will automatically send the HTTP requests to the server :) thanks by the way
If you want work with server you need to handle all this queries GET, POST, PUT, DELETE on the server side. Because backbone use them all. Also the best way is to use some framework that supports REST API.
Here is the simple example on PHP: https://medium.com/@scottdixon/backbone-js-with-php-mysql-362b07dad844#.o994tknvu
And useful book, how to develop backbone apps https://addyosmani.com/backbone-fundamentals/