You need to login to contribute!
current answer
Multiple URLs, No Nested Data because of... Simplicity, Interoperability

If you're designing a RESTful API, and want to use form-encoded name-value pairs as the incoming data format, what do you do about nested data?


See http://bit.ly/3eD753 for background. This works for many (most?) cases, but eventually some apps need nested data: a transaction containing multiple records, a list of new users, related telemetry ... (more) Programming » Web

Options (click checkboxes to vote)

What are some Options? to choose from

  votes   reason score

Criteria what matters/how to decide

  • Ease Of Looking At
  • Functionality
  • Interoperability
  • Not Being Ugly
  • Simplicity
  • suggest more criteria...
created by ivey

Reasons Why

(add pros & cons,  hover to rate)

+10 good points -0 bad points +1 vote points 11 total points
      click to zoom

500 characters left.
Uploaded and linked images must be less than 500kb
NOTE: You may ONLY upload and link to images that are available under creative commons licensing or owned by you. For unlicensed images, you should provide a link to the "page" containing the image in the details area, but not to the images themselves.
+3 good points -0 bad points +0 vote points 3 total points
      click to zoom

500 characters left.
Uploaded and linked images must be less than 500kb
NOTE: You may ONLY upload and link to images that are available under creative commons licensing or owned by you. For unlicensed images, you should provide a link to the "page" containing the image in the details area, but not to the images themselves.
+0 good points -1 bad points +1 vote points 0 total points
      click to zoom

500 characters left.
Uploaded and linked images must be less than 500kb
NOTE: You may ONLY upload and link to images that are available under creative commons licensing or owned by you. For unlicensed images, you should provide a link to the "page" containing the image in the details area, but not to the images themselves.

Who's Helping?

  • mikeschi..
     
    mikeschinkel member since Jul 09, 2009
    help for this decision...
    Best Option Pick: Multiple URLs, No Nested Data
    Reasons Suggested: 9  (avg points: 2.7/5.0)
    score: 34.4
  • ivey
     
    ivey member since Jan 10, 2009
    help for this decision...
    Options Suggested: Nested NVP, JSON For Nested, NVP For Rest, Multiple URLs, No Nested Data Test Swarm
    Criteria Suggested: Simplicty, Ease Of Looking At, Simplicity, Not Being Ugly
    Reasons Suggested: 1  (avg points: 1.0/5.0)
    score: 19.9
  • richesh
     
    richesh member since Sep 21, 2008
    help for this decision...
    Best Option Pick: JSON For Nested, NVP For Rest
    Ratings: 6
    score: 7.0
  • good002
     
    good002 member since Dec 31, 2009
    help for this decision...
    Discussion Comments: 1
    score: 3.0

Recent Activity

  • 2 years, 1 month ago good002
    commented, "welcome to
    http://www.wowowbiz.com
    The website wholesale for many kinds of fashion shoes,
    like the nike,jordan,prada,adidas, also including the
    eans,shirts,bags,hat and the decorations. All the
    products are free shipping, and the the price is
    competitive, and also can accept online payment.,after the
    payment, can ship within short time.
    http://www.wowowbiz.com"
  • 2 years, 4 months ago richesh
    rated "It's not consistent"
  • 2 years, 4 months ago ivey
    said JSON For Nested, NVP For Rest is bad because... "It's not consistent"
  • 2 years, 4 months ago richesh
    voted for JSON For Nested, NVP For Rest
  • 2 years, 4 months ago richesh
    voted for Nested NVP
  • Show More...

Discussion

  • good002
    good002 2 years, 1 month ago
    welcome to
    http://www.wowowbiz.com
    The website wholesale for many kinds of fashion shoes,
    like the nike,jordan,prada,adidas, also including the
    eans,shirts,bags,hat and the decorations. All the
    products are free shipping, and the the price is
    competitive, and also can accept online payment.,after the
    payment, can ship within short time.
    http://www.wowowbiz.com