Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gtramont
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
gtramont
12y ago
It is not "personal definition". And I have shared it… just follow the link I posted earlier.
62.
▲
by
gtramont
12y ago
My premise was, when I wrote the first post, that REST is understood. Not a surprise that it is not… I totally agree with you… And what I've been trying to do to whoever I talk to, in my team and outside, is to educate them in this are
63.
▲
by
gtramont
12y ago
So you don't know what REST is (and didn't read the link I posted earlier).
64.
▲
by
gtramont
12y ago
Did you read what I posted? If you're writing a REST API (I advise you to read http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hyperte... if you think you know what REST is) then all you need is an ent
65.
▲
by
gtramont
12y ago
It all depends on what kind of API you're building. If you're implementing a RESTful API, no documentation is needed, as it is "surfable" due to the use of hyperlinks. If you're implemeting an RPC API (which is what
66.
▲
by
gtramont
12y ago
Absolutely. If you ever used a web browser (one that understands HTTP and HTML), clicked a link on any website, or submitted a form, you've most likely benefited from REST. Here's an example: https://news.ycombinator.co
67.
▲
by
gtramont
12y ago
REST has nothing to do with JSON. How dare you saying that no-one uses while you're using the world wide web every single day?
68.
▲
by
gtramont
12y ago
Perhaps if people understood better the technology that allows their business to operate, they wouldn't waste time versioning APIs and having to re-write clients (web, mobile...) every time the server changes something!
69.
▲
by
gtramont
12y ago
HTML is a hypermedia format. REST is an architectural style that requires hypermedia in order to work. Hypermedia formats have factors ( http://amundsen.com/hypermedia/hfactor/ ) that make them more suitable for s
70.
▲
by
gtramont
12y ago
Totally experimental, by the way...
71.
▲
by
gtramont
12y ago
Back in 2011, when I was starting with node.js I built something I called 'Writeboard' https://github.com/gtramontina/Writeboard . It's not an active project anymore, but I've considered resuming wo
72.
▲
by
gtramont
13y ago
Here: https://coderwall.com/p/aawcnq My point is at not having to install dependencies globally. And keep the benefits of tools like gulp/grunt...
73.
▲
by
gtramont
13y ago
Couldn't agree more.
74.
▲
by
gtramont
13y ago
Neat! Absolutely simple! Congrats.
75.
▲
by
gtramont
13y ago
Could npm use torrent somehow? Reducing the load from the main servers? This would require users to opt-in and become a peer... just a random thought.
76.
▲
by
gtramont
13y ago
You can create your built-in functions as this: var DATA={ SUM: function(a,b) { return a+b; } } Nice demonstration of language features, like 'with', that we usually take as 'bad practices'.