How do you determine how much data a user needs to enter in single page applications?

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?

+5
source share
4 answers

These are the determining factors of how much you need to send to the client on the home page:

  • Data to be displayed for this first page
  • Search list data for any drop-down lists on this page
  • , ( , )

, , (, , ), . , , . , , 1 .

- , . .

+12

, , , , , - . , , , , .

, , , .

, .

+6

, 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. , , , .

+4

All Articles