News for hackers. Stuff that matters.
Re:Show HN: JSONP - enable cross-domain requests to any JSON... by rorrr on Sunday May 13, 2012 @05:33AM (#3966502)
While useful, there are a few implications

1) security

   a) I won't trust you with my API keys

   b) If you get hacked, ANY javascript can be executed on my pages
2) scalability - how much traffics can you handle?

3) I can implement your service with a 3-line PHP script. Why would I use your service?

Re:Show HN: JSONP - enable cross-domain requests to any JSON... by jaredsohn on Sunday May 13, 2012 @11:04AM (#3967166)
1a -- you aren't just trusting this site, you are trusting everyone since the API keys can be found within the source.

3 -- it is even simpler than that; the source can be found on github. At the very least, services such as this are useful as you are still developing.

For the viability of a commercial version of this project, I think the biggest question is: why would somebody use this instead of Yahoo's YQL?

Re:Show HN: JSONP - enable cross-domain requests to any JSON... by aidanfeldman on Monday May 14, 2012 @01:06AM (#3969546)
no commercial version planned - I threw it up because it was something I was going to use (to build hackerhours.org), and figured it would be useful to others as well
Re:Show HN: JSONP - enable cross-domain requests to any JSON... by aidanfeldman on Monday May 14, 2012 @03:31AM (#3969908)
1a) not all API calls require a secret
Re:Show HN: JSONP - enable cross-domain requests to any JSON... by jaredsohn on Monday May 14, 2012 @04:13AM (#3970010)
True, but irrelevant.

Note that I was responding to "I won't trust you with my API keys"

On a tangent, while this is a problem for this particular website, the issue is solveable. (See YQL.)

Re:Show HN: JSONP - enable cross-domain requests to any JSON... by aidanfeldman on Monday May 14, 2012 @01:03AM (#3969539)
1a) feel free to download the source and host yourself or write three lines of PHP 1b) not if you use the AJAX version - any response will come in as a string, so just don't eval() 2) the limit is really how many concurrent connections Node can handle, and the answer is "many" 3) It's at least useful for small mashup sites where you can throw up an HTML file with some JS - no server code needed
Re:Show HN: JSONP - enable cross-domain requests to any JSON... by tommoor on Sunday May 13, 2012 @06:55AM (#3966667)
I think number 3 is the biggest point here, i'm all for solving developer pain points but would be interested to see if there really is a market for this?