greptilian logo

IRC log for #rest, 2014-08-07

https://trygvis.io/rest-wiki/

| Channels | #rest index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
01:29 charlex joined #rest
01:33 charlie_ joined #rest
02:56 tr3onlin_ joined #rest
03:53 wilmoore joined #rest
04:46 philbot joined #rest
04:46 Topic for #rest is now #rest REpresentational State Transfer | logs: http://irclog.greptilian.com/rest/today |  http://tech.groups.yahoo.com/group/rest-discuss | http://code.google.com/p/implementing-rest/ | http://en.wikipedia.org/wiki/Representational_State_Transfer
05:23 _ollie joined #rest
06:03 wilmoore joined #rest
07:15 dEPy joined #rest
07:50 rosstuck joined #rest
08:12 tr3online joined #rest
08:16 graste joined #rest
08:16 ph88 joined #rest
08:53 martinfilliau joined #rest
09:16 martinfi_ joined #rest
09:44 tr3online joined #rest
10:27 DrCode joined #rest
11:36 shrink0r joined #rest
11:46 charlie_ joined #rest
11:46 tr3online joined #rest
12:08 rincewind joined #rest
12:51 danizord joined #rest
13:10 martinfilliau joined #rest
13:17 azer_ joined #rest
13:18 azer_ Hello there, someone here ?
13:18 azer_ Anyways, Im going to ask :D.
13:19 azer_ I'm wondering what's best "rest" in naming properties camlCase snake_case or something else.
13:19 azer_ ?
13:22 pdurbin good question
13:22 dEPy joined #rest
13:23 pdurbin be consistent I guess
13:42 azer_ my laziness prefers camlCase because : less typing
13:42 azer_ yes beeing consistent is best :)
13:43 asdf` i'm not sure why you think 'rest' might have anything to do with that :)
13:46 pdurbin I guess it's more a URL design question. Personally, I like dashes-in-my-urls.
13:47 tr3online joined #rest
13:50 asdf` underscores in the urls can be avoided because lots of software underlines urls and an underscore might overlap the underline
13:50 asdf` please note however rest doesn't really care about how your urls look
13:53 azer_ asdf`: hem, it's just I like common practice
13:54 azer_ asdf`: okay ! sorry :)
13:56 asdf` nothing to apologize for; it's just, eh, not that important of an issue :)
14:10 azer_ yeah
14:11 azer_ I was not speaking about urls but property naming, but I guess this doesn't have nothing to do with rest too...
14:14 pdurbin azer_: when you say property naming... do you mean query string? http://en.wikipedia.org/wiki/Uniform_resource_locator#Syntax
14:15 azer_ nah ( sorry for my vocabulary there ) the stuff the server answers back to you : like { fooBar: "blab" } /  { foo_bar: "blab" } ...
14:17 pdurbin let's call that the "response"
14:18 pdurbin this says to use camelCase: https://blog.apigee.com/detail/restful_api_design_what_about_attribute_names
14:18 _ollie it doesn't matter… choose one, be consistent, done…
14:19 azer_ Yess the response !
14:19 azer_ yeah I asked google too it kind of says "whatever dude"
14:19 _ollie i think consistency trumps style here…
14:20 azer_ me too :)
14:20 _ollie problem solved! :)
14:20 _ollie bonus!
14:39 rincewind joined #rest
14:39 _ollie1 joined #rest
15:06 charlex joined #rest
15:49 tr3online joined #rest
16:15 wilmoore joined #rest
16:57 charlex joined #rest
17:00 wilmoore joined #rest
17:02 tr3online joined #rest
17:03 tr3online joined #rest
17:16 charlex joined #rest
17:19 ralphschindler joined #rest
17:19 graste joined #rest
18:08 systmkor joined #rest
18:08 tr3online joined #rest
18:09 saml hi how does embedded resource work?
18:09 dEPy joined #rest
18:10 saml {"title": "an article", "image": {"url": "a.jpg", "credit": "Getty Image"}}
18:10 saml image is embedded
18:10 saml so not sure what to do with PUT request
18:10 saml what if a client PUTs the same article json but changed image credit
18:32 systmkor joined #rest
18:51 dEPy joined #rest
18:59 wilmoore joined #rest
20:02 tr3onlin_ joined #rest
20:03 tr3onli__ joined #rest
20:16 charlex joined #rest
20:19 cigarshark joined #rest
20:28 Left_Turn joined #rest
20:41 shrink0r joined #rest
21:01 tr3online joined #rest
21:04 tr3onlin_ joined #rest
21:16 tr3online joined #rest
21:30 tr3online joined #rest
22:22 _ollie joined #rest

| Channels | #rest index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

https://trygvis.io/rest-wiki/