greptilian logo

IRC log for #rest, 2015-03-26

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
00:18 SlippinJimmy joined #rest
00:30 meric joined #rest
00:37 fumanchu_ joined #rest
01:21 SupaHam joined #rest
01:40 SlippinJimmy joined #rest
01:45 rhyselsmore joined #rest
01:47 shrink0r joined #rest
02:25 tr3online joined #rest
02:27 shrink0r_ joined #rest
02:45 mezod joined #rest
04:31 meric joined #rest
04:33 lemur joined #rest
04:54 shrink0r joined #rest
07:40 shrink0r joined #rest
08:24 vanHoesel joined #rest
08:36 Andre-B joined #rest
09:20 graste joined #rest
09:50 shrink0r joined #rest
09:57 Left_Turn joined #rest
11:29 trygvis_ joined #rest
11:29 vanHoese_ joined #rest
11:29 fumanchu joined #rest
11:29 Left_Turn joined #rest
11:29 shrink0r joined #rest
11:29 graste joined #rest
11:29 Andre-B joined #rest
11:29 SupaHam joined #rest
11:29 fumanchu_ joined #rest
11:29 jcromartie joined #rest
11:29 igitoor joined #rest
11:29 aGHz joined #rest
11:29 EnergyCoffee joined #rest
11:29 asm89 joined #rest
11:29 zama joined #rest
11:29 HighBit joined #rest
11:29 rosstuck joined #rest
11:29 imanc_ joined #rest
11:29 ekroon joined #rest
11:29 bigbluehat joined #rest
11:29 Doc-Saintly joined #rest
11:29 whartung joined #rest
11:29 pindonga joined #rest
11:29 daxim joined #rest
11:29 blahdeblah_ joined #rest
11:29 Davey joined #rest
11:29 t_dot_zilla joined #rest
11:29 StatelessCat joined #rest
11:29 dkm joined #rest
11:29 pdurbin joined #rest
11:29 jgornick joined #rest
11:29 spaceone joined #rest
11:29 sulky joined #rest
11:29 ironChicken joined #rest
11:29 gamache joined #rest
11:29 csgeek joined #rest
11:29 dreamdust joined #rest
11:29 `0660 joined #rest
11:29 alxbl joined #rest
11:29 upasana joined #rest
11:29 riddle joined #rest
11:29 CentaurWarchief joined #rest
11:29 locks joined #rest
11:29 lebster joined #rest
11:29 tmoore joined #rest
11:29 ramsey joined #rest
11:29 rickharrison joined #rest
11:29 asdf` joined #rest
11:29 benaiah joined #rest
11:29 ChrisAnn joined #rest
11:29 Guest18878 joined #rest
11:29 blindscreen joined #rest
11:33 shrink0r joined #rest
11:33 pdurbin joined #rest
11:33 CentaurWarchief joined #rest
11:48 mezod joined #rest
11:53 t_dot_zilla thanks vanHoese_
11:58 jcromartie joined #rest
11:58 t_dot_zilla is "pluralism" the recommended approach to the nouns? my database table names are singular
11:58 vanHoese_ it's common pracktice
11:59 vanHoese_ and a RST api SHOULD NOT reflect the internal data store
12:00 trygvis I always use singluar, but it's not relevant as nobody sees the URLs anyway :)
12:01 t_dot_zilla okay. thanks
12:36 rhyselsmore joined #rest
12:43 quimrstorres joined #rest
13:23 jcromartie joined #rest
13:46 pdurbin interesting: "You may want to keep in mind that if you kept everything as form fields then this endpoint could become the canonical file upload endpoint." https://github.com/IQSS/dataverse/issues/1612#issuecomment-86513844
13:55 trygvis multipart is usually a pain to work with
14:04 pdurbin "Yeah, multipart is critically broken across all implementations." http://www.mail-archive.com/sword-app-tech@lists.sourceforge.net/msg00327.html
14:04 pdurbin trygvis: I gather it's not easy to work with. :)
14:06 trygvis well, I wouldn't go that far :)
14:10 quimrstorres joined #rest
14:14 pdurbin someone else got it working: http://www.mail-archive.com/sword-app-tech@lists.sourceforge.net/msg00329.html
14:20 wsiqueir-call joined #rest
14:27 nkoza joined #rest
15:02 jcromartie joined #rest
16:40 lemur joined #rest
17:10 _ollie joined #rest
17:31 fumanchu_ joined #rest
17:37 warehouse13 joined #rest
17:51 quimrstorres joined #rest
18:29 hackel joined #rest
18:54 quimrstorres joined #rest
18:58 quimrstorres joined #rest
19:05 pgicxplzs joined #rest
19:29 t_dot_zilla has anyone dev'd a RESTful server in php? I'm using slim framework. the code is going to quickly get out of control. just wondering how I can organize each "section" into separate files
19:35 asdf` this seems more like a question for slim's channel? but yeah, i thinktypically you'll want the view/controller parts to be as generic as possible and do most of your work in describing the models
19:42 t_dot_zilla What is common language (and framework) used to create REST servers?
19:52 fumanchu_ I can honestly say I've never built one except with Python ;)
19:54 t_dot_zilla I feel like php will be slow unless I cache it
20:00 shrink0r joined #rest
20:25 asdf` probably will, yeah, but what are your requirements? typically web stuff doesn't care about say 100ms latency
20:26 asdf` also note that caching is a pretty big thing in rest, it's one of the reasons we talk about eg. idempotency
20:35 whartung define "slow", what's your use case?
20:45 quimrstorres joined #rest
20:52 quimrstorres joined #rest
20:56 pdurbin t_dot_zilla: I'm using Jersey (JAX-RS) which is in Java.
20:56 t_dot_zilla pdurbin: ah cool
20:56 quimrsto_ joined #rest
20:56 pdurbin write it a few times in a few languages and tell us which is the best :)
20:56 t_dot_zilla i just dont likehow php doesn't compile. but then i can use an opcode cache
20:56 t_dot_zilla honestly... C
20:56 t_dot_zilla if you want the fastest
20:57 t_dot_zilla and most portable
20:57 t_dot_zilla which i am thinking about... but if i did that, the program would need to be an HTTP server as well and im not trying to write the next apache or nginx
20:57 Left_Turn joined #rest
20:58 t_dot_zilla scripting languages are slow unless you opcode cache them
21:02 t_dot_zilla http://www.w3.org/Library/
21:07 fumanchu_ I've found Python fast enough to not only write web apps in, but a web server (CherryPy) and even an analytic database (based on NumPy).
21:09 fumanchu_ and if some part isn't fast enough, you can easily code that bit in C
21:14 quimrstorres joined #rest
21:23 graste joined #rest
21:29 quimrstorres joined #rest
21:30 whartung script time can easily be crushed by db time
21:42 tr3online joined #rest
21:55 vanHoese_ I usually take Dancer2 and add some REST plugins to make it more behave like a proper REST server, where needed --- yep, still in Perl, Modern Perl and extreme easy to build on top
22:12 pdurbin nothing wrong with Perl
22:12 pdurbin t_dot_zilla: are you considering Java?
22:13 vanHoese_ ofcourse there is nothing wrong with Perl :-) it's still pushing the web and Perl6 is at the rise
22:17 pdurbin nowhere to go but up ;)
22:17 pdurbin I kid. Perl 6 looks pretty neat.
22:19 Andre-B joined #rest
22:20 pdurbin and it sounds fast on the JVM
22:21 rhyselsmore joined #rest
22:27 vanHoese_ come to the NLPW::2015 and here more about the latest improvements on Perl6... http://perlworkshop.nl
22:28 quimrstorres joined #rest
22:28 whartung I just can't pull the trigger on perl
22:29 whartung used it years ago, was plagued by it's 3 month lifespan (i.e. after a couple months of writing something, I had little idea what it did when I went back to it).
22:29 whartung and now, it's so foriegn.
22:29 whartung but it's supposed to ahve some nice tools and frameworks
22:30 jcromartie joined #rest
22:30 vanHoese_ your fault, you shouldn't be that smart to write such a hocuspocus code in the first place, or comment it more - it does not need to be writ-only code
22:31 vanHoese_ i do refactor my own code to be less smart - so i do understand it lateron
22:33 whartung of course it is, but, especially back in the day, it was idiomatic perl
22:34 vanHoese_ idiot-matic, to say :-D
22:34 whartung even moreso
23:37 mezod joined #rest

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

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