Is there a resource or some type of decision tree out there that helps outline when one should publish spatial data to a web map on ArcGIS Online versus developing and publishing data to a web application (using the Javascript API as an example?) I'm struggling a little bit when I should use one versus the other. Anyone have experience with this? Thanks in advance.