Let's say you have a Recipe Manager application that you create using a Web Api project. Are you submitting a recipe list along with your ingredient names in JSON? Or do you send recipes, ingredient names and details? What is the process of determining how large the initial payload for a SPA is?
These are the determining factors of how much you need to send to the client on the home page:
, , (, , ), . , , . , , 1 .
- , . .
, , , , , - . , , , , .
, , , .
, .
, HTTP-API, -, - . SPA , , iOS Android, .
, , API- , , GET/POST/PUT .. , , , , API .
- , URN.
, , , , , , , , . , , , .
Huddle , . API , , API. API WTF. http://code.google.com/p/huddle-apis/
. ( , - ) API API. , , , .
- OData WebAPI. http://www.asp.net/web-api/overview/odata-support-in-aspnet-web-api