Re: At last I understand sockets and servers

2018-10-21 Thread Edward K. Ream
On Sun, Oct 21, 2018 at 11:28 AM Terry Brown wrote: I wonder if Cormac was thinking of frameworks like Django, but perhaps > more appropriate (lighter) for Leo, Flask? All options are on the table, but see below. Also mod_http.py plugin allows execution of arbitrary Python code in a > running

Re: At last I understand sockets and servers

2018-10-21 Thread Cormac Williams
"Edward K. Ream" > wrote: > > We can start by assuming ajax > > , using > > http. > > Sounds a good way of communicating :-) Terry wrote: > I wonder if Cormac was thinking of frameworks like Django, but perhaps > more

Re: At last I understand sockets and servers

2018-10-21 Thread Terry Brown
On Sun, 21 Oct 2018 10:44:21 -0500 "Edward K. Ream" wrote: > On Sun, Oct 21, 2018 at 10:37 AM Cormac Williams > wrote: > > > > > Hi. Welcome to the discussion. > > > Sockets and protocols are great, except if you want to hang it on > > the internet, in which case you are far better using

Re: At last I understand sockets and servers

2018-10-21 Thread Offray Vladimir Luna Cárdenas
Hi, It's good to see the advances in the servers direction. The idea of a more decoupled Leo with web interfaces and the idea of "outlining" services to other systems and languages that some have proposed seems close. I would avoid going into the Apache path and I would try to choose a

Re: At last I understand sockets and servers

2018-10-21 Thread Edward K. Ream
On Sun, Oct 21, 2018 at 10:37 AM Cormac Williams wrote: > > Hi. Welcome to the discussion. > Sockets and protocols are great, except if you want to hang it on the > internet, in which case you are far better using tried and tested > methodologies and frameworks. > I didn't mean to imply

Re: At last I understand sockets and servers

2018-10-21 Thread Cormac Williams
Tap, tap, tap...Hi everyone, Been lurking here a while, relatively new Leo user after having bounced off it a few times over the last few years. I would answer some of your questions with more questions, mainly. 1 : Do you want to hang this server on the internet at some point? 2 : What sort

At last I understand sockets and servers

2018-10-21 Thread Edward K. Ream
The biggest roadblock of my career has disappeared. At last I see that: *Sockets, not servers, are the basis of IPC (inter-process communication)* * Servers exist because of sockets, not the other way around.* Getting this backward created no end of confusion. Everything seems clearer: