This was quite interesting for sure.
(JSON-LD aswell, I just wish they separated the context into "system"/"host"
and object/object-name.)

But! I also am in favour of adding REST to Symfony and I have a suggestion
on where to start.

Add handling and honourng of Accept: - headers in the error handler/renderer.
Right now I can send an Accept: with json only and receive a 404 in HTML. I use
text/plain aswell and the same happens.

It would be very easy to just start with not sending any body at all, just
the code and text, unless HTML is accepted or there are templates available
for it.


Thomas.


On Mon, Jun 17, 2013 at 04:06:28AM -0700, Markus Lanthaler wrote:
> Since so many of you mentioned REST and I also saw quite some interest for 
> this after my talk at the Symfony Live last month (slides: *
> http://slidesha.re/12y9z8C* <http://slidesha.re/12y9z8C>) I thought I set 
> up a W3C community group to involve more people in the development of the 
> approach I'm following. I'm using JSON-LD (an upcoming W3C standard) as 
> serialization format and a vocabulary I called Hydra to make 
> self-descriptive, hypermedia-driven Web APIs a reality.
> 
> There exists already a bundle to integrate it in Symfony2 and a generic API 
> console. You can find more information about that on my homepage: *
> http://www.markus-lanthaler.com/hydra/*<http://www.markus-lanthaler.com/hydra/>
> 
> The code is still very rough and more a POC than production code but I 
> think it already shows the direction in which I would like to see this to 
> go. So, if you are interested in helping to advance this stuff, please join 
> the W3C community group: *http://bit.ly/11FZhkM* <http://bit.ly/11FZhkM>
>  
> In case you are wondering why I'm opening up the development of Hydra in 
> the form of a W3C community group, the reason is that there was some 
> interest from W3C to standardize Hydra. A W3C community group just ensures 
> that unnecessary IPR problems are avoided in cases this becomes reality.
>  
> I know this mailing list is the wrong place to discuss these things, so 
> please let's not discuss it here. I just wanted to bring it to your 
> attention :-)
>  
>  
> Cheers,
> Markus
>  
>  
> --
> Markus Lanthaler
> *@markuslanthaler* <https://twitter.com/markuslanthaler>
>  

-- 
-- 
If you want to report a vulnerability issue on Symfony, please read the 
procedure on http://symfony.com/security

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Symfony developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to symfony-devs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to