#Http
4 notas · última:
Seven Things You Should Stop Doing with Node.js
The post lists seven Node.js habits to avoid: nested callbacks, wildcard versions, console.log debugging, using GET and POST for everything, semicolons, comma-first style, and the default maxSockets limit.
GOTO Berlin: DO’s and DON’Ts in a Web API
Oliver Wolf argues for web APIs shaped by hypermedia, client intent, correct HTTP verbs and status codes, caching, and content negotiation through headers, while avoiding URL versioning and direct exposure of the domain model.
How to Create a REST Protocol
The article says a REST protocol should be designed by identifying resources and URIs, choosing representations, mapping HTTP methods to CRUD-style actions, and listing expected status codes, using an employee list as the running example.
Tratando problemas de conexão HTTP nos aplicativos Android
O texto sugere dar feedback útil quando a conexão no Android está lenta, usar timeouts e exceções específicas, repetir tentativas com LoopJ e tratar falhas sem prejudicar a experiência do usuário.
