[Catalyst] Multi-language and REST

Dave Rolsky autarch at urth.org
Fri Apr 25 18:23:00 BST 2008


On Fri, 25 Apr 2008, Ashley wrote:

> I agree that it's content, not formatting. If CSS/client-side-JS can (in a 
> practical fashion) change it, it's formatting, otherwise, it's content.

I should have used the word representation. With REST, you'd have the same 
URI for one resource, but you might offer it as HTML, JSON, and plain 
text based on what the client requests.

Given the Accept-Language header, you could do the same thing with 
language.


-dave

/*==========================
VegGuide.Org
Your guide to all that's veg
==========================*/



More information about the Catalyst mailing list