Re: [PROPOSAL] Chainable requests

2015-11-25 Thread ermouth
> is not like multiple lines of code in a server side .asp php or node program > it is more like "ask for this, and depending on the answer, > ask for this" like a "request tree" Actually, that _is_ like asp, php or node program :) As for php guys approach is nearly native, sync program code runs

Re: [PROPOSAL] Chainable requests

2015-11-25 Thread Johs Ensby
Ermouth, > On 25. nov. 2015, at 18.18, ermouth wrote: > chunked response and reduce approach I think both modes are valuable, conceptually we end up with 3 modes of respons Technically it makes sense to describe as server response. I am trying to think of how we want to spin this to the new de

Re: [PROPOSAL] Chainable requests

2015-11-25 Thread Johs Ensby
http://jquerymy.com/kod/rewritelist.png > On 25. nov. 2015, at 21.08, Alexander Shorin wrote: > > Hi, > > On Wed, Nov 25, 2015 at 8:18 PM, ermouth wrote: >> http://bit.ly/1NrTddP > > URL seems broken: Unable to connect > > -- > ,,,^..^,,,

Re: [PROPOSAL] Chainable requests

2015-11-25 Thread Alexander Shorin
Hi, On Wed, Nov 25, 2015 at 8:18 PM, ermouth wrote: > http://bit.ly/1NrTddP URL seems broken: Unable to connect -- ,,,^..^,,,

Re: [PROPOSAL] Chainable requests

2015-11-25 Thread Johs Ensby
if this is low-hanging fruit, pick it! I see no downside in implementing this, it removes a frustrating limitiation. johs > On 25. nov. 2015, at 18.18, ermouth wrote: > > > Implementation doesn‘t seem to be very difficult – only existing well known > paradigms are used, nearly nothing new adde

[PROPOSAL] Chainable requests

2015-11-25 Thread ermouth
TL;DR: Allow list, show and update (lsu) functions return special object for chaining requests. In short, I propose lsu fns could return object of same structure as JS rewrite does: {path:"...", method:"...", body:"..."}. If query server receives this kind of object as lsu fn result, user connect