fbreuer/mathblogging — Issue #108: referential integrity of JSON data
Author: fbreuer
Created: 2012-02-15 05:04:32+00:00
State: open

In a given JSON object as served by /jsonp/data, for example: Should a tag reference only those posts that are actually contained in the data object. Or are "broken links" to posts that are indexed on the server, but not contained in the JSON collection allowed?

Intuitively, I'd say we guarantee that all references are intact. However, backbone.js policy seems to be that the /jsonp/blogs, /jsonp/posts/ and /jsonp/tags collections are read separately from the server. What, then does it mean that there are no broken links? The posts might change after the tags are read from the server?