3 ms·
BREAD, not CRUD
- stcredzero 18y agoa) it sounds better b) Browsing is a very important web function
- jamesbritt 18y agoSure, but how are the RESTafarians going to map the HTTP verbs to BREAD? It's chaos, I tell ya!
- michael_dorfman 18y agoRegarding b): shouldn't we be concerned that the original 4 functions apply to a single record at a time, when the new addition of "browse" seems to apply to a collection of records?
- davidmathers 18y agoYes.
- bscofield 18y agoA collection of records can itself be a record. Browse is just Read for a set of records. Gah, I hate this suggestion.
- stcredzero 18y agoIsn't what happens when we're dealing with collections relevant to the user in the current session where a lot of the meat of an application is? Isn't that a major place where the rubber meets the road? REST is dandy. But I'd like to have an equally simple and elegant framework for dealing with heterogeneous collections over high latency networks.
- swombat 18y agoInteresting. Browse, Read, Edit, Add, Delete It'd be nice if REST actually used those verbs rather than: GET, PUT, POST, DELETE
- thwarted 18y agoYou can always define your own HTTP methods and use other verbs. Apache Script directive: http://httpd.apache.org/docs/2.2/mod/mod_actions.html#script http://httpd.apache.org/docs/2.2/mod/mod_actions.html#script Depending on browser and javascript framework support (guh, as always), you can then use whatever method you want in Ajax calls (first argument to XMLHttpRequest.open, or jquery's $.ajax.type).
- systems 18y agoWell I like CRUD because it reminds of the word Crude, something simple primitive, something in its basice form, just like a primitive CRUD web application, a very basic one!