Skip to main content

Jorge Gamba

Jorge Gamba's Public Library

about 21 hours ago

posted: presentation-domain-data layering is valuable for narrowing the scope of your attention when modifying code

about 21 hours ago

Netflix Likes React

  • URLs are how you identify the things that you want to operate on. We say that each URL identifies a resource
  • Resources are best thought of as nouns
  • This is because it uses a URL to describe an action. This is a fairly fundamental point in distinguishing RESTful from non-RESTful systems.

18 more annotations...

  • The HTTP methods POST and PUT aren't the HTTP equivalent of the CRUD's create and update
  • They both serve a  different purpose. It's quite possible, valid and even preferred in some occasions, to use POST to create resources,  or use PUT to update resources.
  • Use PUT when you can update a resource completely through a specific resource

1 more annotation...

  • Safe methods are HTTP methods that do not modify resources
  • it won't change the resource representation
  • However, this is not completely true. It means:

7 more annotations...

  • I was looking around for a semantic way to do pagination over HTTP
  • I feel that the Range header is a perfect fit for pagination.
  • The Range header is normally used by browsers to request specific byte-ranges of binary files. It powers the pause-and-resume functionality of almost every download manager in existence.

9 more annotations...

  • how to handle the GET operation on the collection root if the collection is large.
  • RFC 2616 specifies that on a 206 response
  • This makes sense in the context of the standard usage of the header but is a problem because I'd like the 206 response to be the default to handle naive clients/random people exploring.

13 more annotations...

  • for technical reasons not all endpoints respect the ?per_page parameter
  • Note that page numbering is 1-based and that omitting the ?page parameter will return the first page.

  • provides paginated items in sets
  • You can specify how many items to receive (up to a maximum of 100); but,
  • let you set a maximum for items to receive

4 more annotations...

  • As no shared standard seems to emerge, we propose using:
  • From a practical point of view, pagination is often managed in the URL through the query-string. HTTP headers also provide this mechanism.
  • We propose only accepting the query-string way

12 more annotations...

Aug 06, 15

Kanban - the alternative path to agility

Aug 05, 15

Un caso real de la situación de .NET en Linux actualmente

Aug 05, 15

Targeting .NET Core with your libraries: easier than you thought. #wpdev

Aug 05, 15 lib for lmdb interop has been published to the public nuget feed. Lots of changes all around.

Aug 04, 15

Are you a Professional Debuggerer? via @Bizmonger Perhaps a bit black/white, but matches my general experience...

Aug 04, 15

Finally wrote this blog post: Why @docker is Not Yet Succeeding Widely in Production

Aug 04, 15

Auditing - most queuing systems do it, but not nearly well enough. See how to do it right:

Aug 04, 15

Interview with Alistair 2015 on Software Requirements Specifications

1 - 20 of 18631 Next › Last »
20 items/page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo