Wow, thanks a lot.

I would like to thanks everybody who answered. I have learned a lot from
this thread and thanks to you I believe I am a better programmer.

FTR, I've added an article to my blog which obsoletes the previous article.

Kind regards from Spain


On Tue, Nov 27, 2012 at 8:22 PM, Javier Guerra Giraldez
<jav...@guerrag.com>wrote:

> On Sun, Nov 25, 2012 at 12:04 PM, James Pic <james...@gmail.com> wrote:
> > it would be great if we could make urls easier to reverse in Javascript.
>
> you shouldn't have to.
>
> good REST design means not using database IDs.  any response that
> references server resources should send a whole URL. no need to
> construct them in the client.  check the HATEOAS principle.
>
> http://www.slideshare.net/trilancer/why-hateoas-1547275
>
>
>
> --
> Javier
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers" group.
> To post to this group, send email to django-developers@googlegroups.com.
> To unsubscribe from this group, send email to
> django-developers+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-developers?hl=en.
>
>


-- 
http://blog.yourlabs.org
Customer is king - Le client est roi - El cliente es rey.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to