- [00:28] DracoBlue (~Adium@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net) left #rest.
- [00:35] DracoBlue (~Adium@p57B99F6A.dip.t-dialin.net) joined #rest.
- [00:35] DracoBlue (~Adium@p57B99F6A.dip.t-dialin.net) left irc: Client Quit
- [00:35] DracoBlue (~Adium@p57B99F6A.dip.t-dialin.net) joined #rest.
- [00:36] DracoBlue (~Adium@p57B99F6A.dip.t-dialin.net) left #rest.
- [01:19] Blazeix (~Blazeix@71.74.190.197) left irc: Ping timeout: 252 seconds
- [01:32] Blazeix (~Blazeix@71.74.190.197) joined #rest.
- [01:40] DracoBlue (~Adium@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net) joined #rest.
- [01:56] DracoBlue (~Adium@ip-vlan-obckunde-02-217-66-60-14.pixelpark.net) left #rest.
- [03:40] mr_yall -> mryall
- [03:41] mryall (~mryall@scifo.mexico86.co.uk) left #rest ("Killed buffer").
- [03:46] mr_yall (~mryall@scifo.mexico86.co.uk) joined #rest.
- [04:28] skurfuerst (~Adium@88.130.167.60) joined #rest.
- [04:29] <skurfuerst> hey everybody
- [04:30] <skurfuerst> I am currently checking out http://guzzlephp.org/ as a way to consume "http-based" REST Services. I'm also thinking about a server-side framework which is able to output a guzzle-compatible XML Service Description:
- [04:30] <skurfuerst> http://guzzlephp.org/docs/guide/service/creating_dynamic_commands/
- [04:31] <skurfuerst> Now my question… is there any other (machine-readable) description format for HTTP/REST web services? Do you see a benefit of providing such a thing as a service provider?
- [04:37] <steveklabnik> hey skurfuerst
- [04:38] <skurfuerst> hey steve
- [04:38] <steveklabnik> there is, but it's not really that useful
- [04:38] <steveklabnik> is the tl;dr
- [04:38] <steveklabnik> lemme grab a link
- [04:39] <steveklabnik> http://www.infoq.com/news/2007/06/rest-description-language
- [04:39] <steveklabnik> is one discussion from a while back
- [04:39] <steveklabnik> the thing is this
- [04:40] <steveklabnik> if you're following the hypermedia constraint properly, things like 'a wsdl for rest' dont make a whole lot of sense.
- [04:40] <skurfuerst> yeah. I agree that a description should be centered around *resources*
- [04:41] <skurfuerst> however I could imagine that it makes sense to deliver e.g. a JSON schema if the response format is JSON
- [04:41] <steveklabnik> WADL was one attempt, I'm not sure if it really went anywhere.
- [04:41] <skurfuerst> of RelaxNG if it is XML
- [04:41] <steveklabnik> sure, but that's the media type's job, not the service's.
- [04:42] <skurfuerst> good point. I could just imagine that some kind of standard has already emerged; f.e. to use a certain HTTP header to indicate the URI of the response schema
- [04:42] <skurfuerst> but that seems not the case
- [04:42] <steveklabnik> yeah. this is all part of the whole 'self-descriptive messages' thing.
- [04:43] <steveklabnik> headers aren't generally needed, as schemas (if any) are usually included inside. think about xml, for example.
- [04:43] <skurfuerst> good point, in XML they are certainly included
- [04:44] <steveklabnik> we're certainly in agreement about JSON
- [04:44] <steveklabnik> that's why you get things like collection+json or hal
- [04:44] <steveklabnik> it's not a hypermedia type, and so isn't good for fulfilling the hypermedia constraint.
- [04:44] <skurfuerst> yeah, agreed :)
- [04:45] <skurfuerst> OK, I think that answers some questions… thanks a lot :)
- [04:46] <steveklabnik> sure!
- [04:46] <steveklabnik> we're all learning. :)
- [04:47] <skurfuerst> (I recently did a lot with RDF and the Semantic Web; that's why I am kinda accustomed to fully automatically readable data… I still struggle a little on how to connect these two worlds ;) )
- [04:47] <skurfuerst> so to connect RDF/SemWeb with REST principles
- [04:47] <steveklabnik> ah, interesting!
- [04:48] <steveklabnik> that's one world that i know just enough about to know that i dont know anything about it
- [04:48] <skurfuerst> I think they have quite some commonalities, except that SemWeb is mostly read-only while the other is Read/Write
- [04:48] <skurfuerst> … but it is still a little too fuzzy in my head to write it out clearly … ;)
- [04:50] <steveklabnik> :)
- [04:50] <steveklabnik> i just woke up, so I didnt even notice. ;)
- [04:54] <skurfuerst> ;) ok, thanks a lot for giving me some pointers :) hear you soon
- [04:57] <skurfuerst> ah, one more thing. Is there a somewhere a standardized format to document REST APIs? Or some boilerplate which one can use as basis...
- [04:58] bigbluehat (~bigblueha@adsl-74-177-96-212.gsp.bellsouth.net) joined #rest.
- [04:58] <steveklabnik> the closest thing to a standard is this one comment fielding said...
- [04:58] <steveklabnik> heh
- [04:58] <steveklabnik> A REST API should spend almost all of its descriptive effort in defining the media type(s) used for representing resources and driving application state, or in defining extended relation names and/or hypertext-enabled mark-up for existing standard media types. Any effort spent describing what methods to use on what URIs of interest should be entirely defined within the scope of the processing rules for a media type (and, in most cases, already
- [04:59] <steveklabnik> now, there is a convention that is pretty neat.
- [04:59] <steveklabnik> for example, take one of mine (which is tiny), http://api.hackety-hack.com/
- [04:59] <steveklabnik> you can surf it, I use xhtml as the content type
- [04:59] <steveklabnik> if you check out the source, my link relations are URIs
- [05:00] <steveklabnik> at those URIs are the descriptions of what the link relations mean
- [05:00] <skurfuerst> nice :) I've been also thinking about using URIs as link relations
- [05:00] <steveklabnik> also, XHTML as a content type allows you to write documentation 'in-band' sorta.
- [05:00] <skurfuerst> so you're just using static HTML, right?
- [05:00] <steveklabnik> which is kinda neat.
- [05:00] <skurfuerst> true
- [05:00] trygvis (trygvela@knuth.ping.uio.no) left irc: Remote host closed the connection
- [05:00] <steveklabnik> it's not technically static, but basically is
- [05:00] <steveklabnik> incredibly cachable, at least at the root ;)
- [05:00] <skurfuerst> ;) ;)
- [05:27] trygvis (trygvela@knuth.ping.uio.no) joined #rest.
- [05:28] trygvis (trygvela@knuth.ping.uio.no) left irc: Remote host closed the connection
- [05:46] f00li5h (~f00li5h@unaffiliated/f00li5h) left irc: Read error: Connection reset by peer
- [06:02] sbanwart__ (~sbanwart@66.6.175.18) joined #rest.
- [06:21] grove (~grove@aggw006.cappelendamm.no) left irc: Quit: grove
- [06:35] skurfuerst (~Adium@88.130.167.60) left irc: Quit: Leaving.
- [07:01] grove (~grove@stdavid.bouvet.no) joined #rest.
- [07:03] grove_ (~grove@aggw006.cappelendamm.no) joined #rest.
- [07:06] sbanwart__ (~sbanwart@66.6.175.18) left irc: Ping timeout: 252 seconds
- [07:07] sbanwart (~sbanwart@66.6.175.18) joined #rest.
- [07:07] grove (~grove@stdavid.bouvet.no) left irc: Ping timeout: 244 seconds
- [07:07] grove_ -> grove
- [07:14] trygvis (trygvela@knuth.ping.uio.no) joined #rest.
- [07:34] scudco (~scudco@cpe-75-85-13-152.socal.res.rr.com) left irc: Ping timeout: 244 seconds
- [07:39] carloseberhardt (~carlos@72.14.191.153) joined #rest.
- [07:52] mephju (~mephju@dslb-188-103-192-177.pools.arcor-ip.net) joined #rest.
- [08:45] bigbluehat (~bigblueha@adsl-74-177-96-212.gsp.bellsouth.net) left irc: Quit: Leaving.
- [08:54] KevBurnsJr (~KevBurnsJ@50.0.103.39) joined #rest.
- [08:58] quest88 (~quest88@c-98-207-205-137.hsd1.ca.comcast.net) joined #rest.
- [08:58] quest88 (~quest88@c-98-207-205-137.hsd1.ca.comcast.net) left irc: Client Quit
- [08:58] bradley-holt (~bradley-h@65-183-135-35-dhcp.burlingtontelecom.net) joined #rest.
- [09:19] grove_ (~grove@stdavid.bouvet.no) joined #rest.
- [09:20] nkoza (~NKoza@190.244.122.9) joined #rest.
- [09:24] grove (~grove@aggw006.cappelendamm.no) left irc: Ping timeout: 252 seconds
- [09:24] grove_ (~grove@stdavid.bouvet.no) left irc: Ping timeout: 252 seconds
- [09:29] Wombert (~Wombert@dslb-088-066-204-163.pools.arcor-ip.net) joined #rest.
- [09:41] kennethreitz (~kennethre@adsl-99-191-194-225.dsl.pltn13.sbcglobal.net) joined #rest.
- [09:41] nuclearsandwich (~nuclearsa@64-79-127-126.static.wiline.com) joined #rest.
- [09:52] peers (~ajp5103@128.118.235.29) joined #rest.
- [09:52] <mikekelly> mamund:
- [09:52] <mikekelly> here's a good reason that Connect sucks (I just tried to write some middleware with it)
- [09:52] <mikekelly> first thing I run into..
- [09:52] <mikekelly> Connect middleware can't modify the response
- [09:53] <mikekelly> ....
- [09:53] <mikekelly> nuff said.
- [09:53] <mikekelly> that is ridiculous
- [09:54] kennethreitz (~kennethre@adsl-99-191-194-225.dsl.pltn13.sbcglobal.net) left irc: Quit: Textual IRC Client: http://www.textualapp.com/
- [10:09] wav1 (~Adium@cpe-70-112-49-11.austin.res.rr.com) joined #rest.
- [10:11] bigbluehat (~bigblueha@adsl-74-177-96-212.gsp.bellsouth.net) joined #rest.
- [10:21] nuclearsandwich (~nuclearsa@64-79-127-126.static.wiline.com) left irc: Remote host closed the connection
- [10:48] <whartung> ummm...what? http://www.wrml.org/
- [10:48] <steveklabnik> lol
- [10:51] sbanwart (~sbanwart@66.6.175.18) left irc: Ping timeout: 240 seconds
- [10:52] <wav1> that book has bad reviews (rest api) on amazon
- [10:52] <wav1> for wrml
- [10:53] kennethreitz (~kennethre@204.14.152.118) joined #rest.
- [10:55] <whartung> yea, dunno how helpful that is
- [10:55] <whartung> but then I can't find any examples of it either
- [10:56] <whartung> this is a suggested usage: application/wrml; schema="http://api.schemas.wrml.org/soccer/Player"; format="http://api.formats.wrml.org/application/json"
- [11:11] <whartung> this is a fine deck, for what it is, but still doesn't say anything about WRML
- [11:11] <whartung> http://www.wrml.org/docs/decks/rest.pdf
- [11:20] nuclearsandwich (~nuclearsa@adsl-99-66-209-239.dsl.pltn13.sbcglobal.net) joined #rest.
- [11:23] bigbluehat (~bigblueha@adsl-74-177-96-212.gsp.bellsouth.net) left irc: Quit: Leaving.
- [12:01] sbanwart (~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net) joined #rest.
- [12:08] Wombert (~Wombert@dslb-088-066-204-163.pools.arcor-ip.net) left irc: Quit: Wombert
- [12:14] nkoza (~NKoza@190.244.122.9) left irc: Quit: Client exiting
- [12:16] kennethreitz (~kennethre@204.14.152.118) left irc: Quit: Computer has gone to sleep.
- [13:10] grove (~grove@193.201.9.46.customer.cdi.no) joined #rest.
- [13:11] nuclearsandwich (~nuclearsa@adsl-99-66-209-239.dsl.pltn13.sbcglobal.net) left irc: Remote host closed the connection
- [13:21] wav1 (~Adium@cpe-70-112-49-11.austin.res.rr.com) left irc: Quit: Leaving.
- [13:34] grove (~grove@193.201.9.46.customer.cdi.no) left irc: Quit: grove
- [13:36] kennethreitz (~kennethre@204.14.152.118) joined #rest.
- [14:00] peers (~ajp5103@128.118.235.29) left irc:
- [14:01] nuclearsandwich (~nuclearsa@sjs-cc-wifi-1-1-lc-int.sjsu.edu) joined #rest.
- [14:18] nuclearsandwich (~nuclearsa@sjs-cc-wifi-1-1-lc-int.sjsu.edu) left irc: Remote host closed the connection
- [15:00] bradley-holt (~bradley-h@65-183-135-35-dhcp.burlingtontelecom.net) left irc: Quit: bradley-holt
- [15:23] mephju (~mephju@dslb-188-103-192-177.pools.arcor-ip.net) left irc: Ping timeout: 268 seconds
- [15:25] mephju (~mephju@dslb-094-222-015-179.pools.arcor-ip.net) joined #rest.
- [15:31] mephju (~mephju@dslb-094-222-015-179.pools.arcor-ip.net) left irc: Ping timeout: 252 seconds
- [15:34] kennethreitz (~kennethre@204.14.152.118) left irc: Ping timeout: 244 seconds
- [15:34] mephju (~mephju@dslb-188-103-170-186.pools.arcor-ip.net) joined #rest.
- [16:34] gchristensen (~gchristen@unaffiliated/grahamc) left irc: Quit: Leaving...
- [17:12] Wombert (~Wombert@dslb-088-066-204-163.pools.arcor-ip.net) joined #rest.
- [18:00] gchristensen (~gchristen@unaffiliated/grahamc) joined #rest.
- [18:25] mamund pokes his head in
- [18:45] talios (~amrk@akl.smx.co.nz) joined #rest.
- [18:47] KevBurnsJr (~KevBurnsJ@50.0.103.39) left irc:
- [18:48] <steveklabnik> mamund: i re-created my 'nothing to procedural' maze solver, and grafted it onto the beginning of the git history
- [18:48] <steveklabnik> so feel free to link to it now, it's pretty solid.
- [18:48] <steveklabnik> if you didnt already
- [18:48] <mamund> very cool
- [18:49] <steveklabnik> because i'm lazy and you're here: are those pages giving off cache headers? I really should be doing that rather than instance variable caching ;)
- [18:49] <mamund> hmmm
- [18:49] <mamund> i *think* there are cache headers
- [18:49] <mamund> shuld be!
- [18:50] <steveklabnik> ill check it out.
- [19:00] Wombert (~Wombert@dslb-088-066-204-163.pools.arcor-ip.net) left irc: Quit: Wombert
- [20:13] mephju_ (~mephju@dslb-094-222-029-097.pools.arcor-ip.net) joined #rest.
- [20:17] mephju (~mephju@dslb-188-103-170-186.pools.arcor-ip.net) left irc: Ping timeout: 268 seconds
- [20:47] sbanwart (~sbanwart@99-177-126-136.lightspeed.bcvloh.sbcglobal.net) left irc: Read error: Operation timed out
- [20:57] scudco (~scudco@cpe-75-85-13-152.socal.res.rr.com) joined #rest.
- [21:01] talios (~amrk@akl.smx.co.nz) left irc: Quit: Bye!
- [21:17] gchristensen (~gchristen@unaffiliated/grahamc) left irc: Quit: Leaving...
- [21:19] gchristensen (~gchristen@unaffiliated/grahamc) joined #rest.
- [21:34] lmarburger (u1979@gateway/web/irccloud.com/x-qfpnbszosuopadak) left irc: Ping timeout: 248 seconds
- [21:35] omarkj (u766@gateway/web/irccloud.com/x-auxevtmmdbozbrdf) left irc: Ping timeout: 248 seconds
- [21:35] tehviking (u2893@gateway/web/irccloud.com/x-kphabrkkakjajxfb) left irc: Ping timeout: 258 seconds
- [21:41] tehviking (u2893@gateway/web/irccloud.com/x-gbiopjtcysonbogo) joined #rest.
- [22:15] omarkj (u766@gateway/web/irccloud.com/x-ctcxxweotxtqepaz) joined #rest.
- [23:26] gchristensen (~gchristen@unaffiliated/grahamc) left irc: Quit: Leaving...
- [00:00] --- Thu Dec 8 2011