Time |
S |
Nick |
Message |
00:01 |
|
|
LemonUK joined #rest |
00:12 |
|
|
talios joined #rest |
00:22 |
|
|
shrink0r joined #rest |
00:31 |
|
|
shrink0r_ joined #rest |
01:19 |
|
|
shrink0r joined #rest |
03:10 |
|
|
dkm joined #rest |
03:13 |
|
|
igitoor joined #rest |
04:16 |
|
|
lemur joined #rest |
04:20 |
|
|
ewalti_ joined #rest |
04:27 |
|
|
shrink0r_ joined #rest |
04:40 |
|
|
wsiqueir joined #rest |
05:29 |
|
|
ewalti joined #rest |
07:07 |
|
|
eschmidbauer__ joined #rest |
07:11 |
|
|
fumanchu_ joined #rest |
07:19 |
|
|
interop_madness joined #rest |
07:51 |
|
|
LemonUK joined #rest |
08:03 |
|
|
graste joined #rest |
08:20 |
|
|
shrink0r joined #rest |
08:53 |
|
|
quimrstorres joined #rest |
08:58 |
|
|
quimrstorres joined #rest |
09:04 |
|
|
ewalti joined #rest |
10:13 |
|
|
Left_Turn joined #rest |
10:15 |
|
|
LemonUK joined #rest |
10:31 |
|
|
mezod joined #rest |
10:37 |
|
|
ewalti joined #rest |
11:07 |
|
|
quimrstorres joined #rest |
13:01 |
|
|
co-arbelos joined #rest |
13:02 |
|
arbelos |
If I DELETE a resource, say, area/51. and have a sort of rollback scheme where a then reverse and want to re-create this resource again |
13:02 |
|
arbelos |
and want to make sure the same id is being used |
13:03 |
|
arbelos |
i can't PUT or POST to areas/51, can I? |
13:03 |
|
arbelos |
i.e., PUTting something that doesn't exist? |
13:04 |
|
arbelos |
or maybe I can just embed the id in the object |
13:08 |
|
pdurbin |
how are you doing the rollback? using something like datomic? |
13:13 |
|
arbelos |
pdurbin, I am not familiar with datomic. This is more experimental. I am building an application where I encapsulate RESTful requests to modify local state, and thereby allow data replication similar to how an "undo stack" operates in desktop application |
13:15 |
|
pdurbin |
sounds like the Command pattern, which allows for undo |
13:16 |
|
arbelos |
yes the Command pattern is exactly what it is |
13:16 |
|
arbelos |
so I have a simple prototype that I used for a previous project |
13:16 |
|
arbelos |
but it does not in any way involve a REST interface |
13:17 |
|
arbelos |
now, I want all state changes to take place within a standard interface that can be implemented across all nodes |
13:18 |
|
arbelos |
nodes being different devices, using various different storage technologies |
13:19 |
|
pdurbin |
is this on github? |
13:20 |
|
arbelos |
not yet, but I can try to upload it there asap |
13:20 |
|
pdurbin |
no pressure. sounds interesting is all |
13:21 |
|
arbelos |
I have been exploring these ideas for a while |
13:21 |
|
arbelos |
in particular for hybrid mobile applications with offline capabilities |
13:22 |
|
pdurbin |
I co-presented about the Command pattern recently: http://iqss.github.io/javaone2014-bof5619 |
13:23 |
|
arbelos |
fantastic.. I'll have a look at this |
13:24 |
|
arbelos |
my approach to this problem is very naive, but like I said I have been struggling with these ideas for a while and it feels like I am "on to something" |
13:29 |
|
arbelos |
pdurbin, perhaps REST is not a good fit for implementing this pattern? What do you think? |
13:31 |
|
pdurbin |
arbelos: we call commands from REST and from the API. it's a useful pattern. We don't have "undo" though. Would be nice. |
13:35 |
|
|
quimrstorres joined #rest |
13:40 |
|
arbelos |
yes another problem is that even though I can achieve a "uniform" interface across different nodes, they can still implement the actions completely different. But that is a completely different problem :) |
13:50 |
|
|
nkoza joined #rest |
13:52 |
|
|
blahdeblah joined #rest |
14:37 |
|
|
ewalti joined #rest |
15:42 |
|
|
lemur joined #rest |
16:08 |
|
|
LemonUK joined #rest |
16:08 |
|
|
quimrstorres joined #rest |
18:30 |
|
|
tieTYT2 joined #rest |
18:46 |
|
|
ewalti joined #rest |
18:48 |
|
|
quimrstorres joined #rest |
18:49 |
|
|
quimrstorres joined #rest |
19:14 |
|
|
LemonUK joined #rest |
19:24 |
|
|
shrink0r joined #rest |
20:08 |
|
|
saml joined #rest |
20:58 |
|
|
co-arbelos joined #rest |
21:00 |
|
|
quimrsto_ joined #rest |
21:31 |
|
|
mezod joined #rest |
21:49 |
|
|
quimrstorres joined #rest |
21:54 |
|
|
quimrstorres joined #rest |
22:01 |
|
|
tieTYT2 joined #rest |
22:15 |
|
|
quimrstorres joined #rest |
22:36 |
|
|
quimrstorres joined #rest |
23:14 |
|
|
quimrstorres joined #rest |
23:29 |
|
|
LemonUK joined #rest |