I'm fairly new to web development in general.
Why would one want to implement REST api?
Whats the advantage of using a package to create a RESTful API interface
I return JSON to mobile devices and HTML to browsers but I don't think this counts as you need to support multiple serializations (XML, YAML, Plists, or JSONP in addition to JSON)
and none of those reasons listed there would be a reality for me in short time.
(I suspect not that many websites would be qualified for the reasons either.)
Yet I see so many SO questions about REST api.
It gets me wonder
What would be the dominating reasons a web developer would start implementing REST API?
I guess the confusion in me is due to my lack of understanding what REST is..
I read what seems to be the easiest introduction to what rest is.
http://tomayko.com/writings/rest-to-my-wife
What exactly is RESTful programming?
So REST is? - below is my understanding.
You expose your resource by URL. (/user/3)
Client can apply different verbs(GET/POST/PUT/DELETE) to the resource(URL) in order to access/manipulate the resource.
I can do that without using tastypie or django-piston.(I'm using django as my web framework)
What does these packages(in general, there seems to be similar package for PHP, JAVA.. etc) buy you?
In short, I am curious,
- When a regular web developer need to care about REST API?
- Because REST is (what)?