AltME: Web

Messages

Chris
Gab, was hoping to understand the basic premise, even if the caveats are muddy. I'd like to at least be able to say (to myself)--'this is the general idea, you might have trouble here, there, etc.'. While I have specific short-term goals for which my code is sufficient, I would like to have a more general appreciation of design choices even if ASYNC-MODES aren't destined for the next generation.
Also, I know you some influence in R3 ports--how much does the Rebol 3 port model reflect your ATCP/ASYNC experience?
ASYNC-MODES: 'Here be dragons!' : )
Pekr
There were some nice materials in the rebol.net/wiki. Pity it is gone again. Maybe Bo could ask Carl, if he would be able to put it back online, so that we could w-get it to some different location?
Chris
Petr: if it was on the Wiki when it went down, then it'll be on this clone:
https://github.com/revault/rebol-wiki/wiki
My question is more about motivation and influence than details though.
Bo
Chris
The clone above is the last iteration of the wiki. It's missing some dynamic bits (like categories, cookbooks, etc), but is otherwise the same content.
It is definitely illuminating, but doesn't answer my question...

Gabriele
- as to how async-modes work, it was never documented. the only documentation are my async:// and Romano's atcp://
- as to why it works that way, it was probably a kludge; only Carl knows the details
- if you want to learn your best bet is to build something with it, it will then fail in a weird way, and you'll spend a few weeks trying to figure out why it failed (hopefully the existing code will give you hints and it won't be that bad...); iterate that a few times and you'll have a general idea
- I don't think I had much influence on the native side of R3, my contribution was mostly the HTTP scheme, which was incomplete because I was waiting for Carl to answer some questions and implement a couple things on the native side
Chris
Thanks Gab!

DideC
Soon, I will have to code the server part of a Webservice in R2 (maybe r3).
Is there any already library available to minimise the work?
DideC
I already use altjson.r and altwebform.r to access Webservice as client. I also have curl.r and rest-curl.r.
Maybe Chris has some advice to help me? ;-)
...please

Endo
If you will consume a webservice using R2 as a client, remember that R2 cannot make requests to most of modern servers because of the SSL issues.
>> read https://openssl.org
connecting to: openssl.org
** Command Error: SSL Error:  error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
So using cURL is a better option (or R3 or Red)

DideC
yes. but in my case, it will be the server!

Chris
QuarterMaster still works (R2), but I'm afraid other than a couple of examples, asking me is probably your best bet for documentation.
Three examples of QM sites are here: https://github.com/revault
Though this doesn't include examples of use with MySQL (don't know if you're planning to use a database).

DideC
What I want to do is code the server part of a Webservice. Probably REST one (seems simpler than SOAP).

Last message posted 109 weeks ago.