lcJohn's Emails

Re: weblet running

Home dic local
lcweblet running
To: Frank Schuurmans <frank@bio.vu.nl> Hi Frank, I'm very impresssed with your "live" weblet. I would like to duplicate what you have done at my end. I think I will need your help on this. I downloaded Mini-Linux as a first attempt. Unix seems very complex and mixed up, it will take me ages to even get started. Also running "startx" crashed my computer. I am quite depressed at the thought of having to learn another set of "jibberish". For the moment I am not going further with Mini-Linux. I may install a full Linux on my spare drive, but it is only 170MB - is that enough? I have read that you can get Java and Netscape on Linux, so combined with the "free" factor and the availability of source code, it may be a good development platform for weblets, if only I can get over the pain of learning yet another new system. >This is a logfile (for debugging) of the weblet: >file: operator= + value = 1 >Caller : /cgi-bin/fire.pl/webneuron/print.html?VALUE=2 >file: operator= PRINT value = >file: action= fire value = 5 >/cgi-bin/fire.pl/webneuron/add1.html?VALUE=2 >file: operator= + value = 1 >Caller : /cgi-bin/fire.pl/webneuron/print.html?VALUE=3 >file: operator= PRINT value = >file: action= fire value = 5 >/cgi-bin/fire.pl/webneuron/add1.html?VALUE=3 >file: operator= + value = 1 >Caller : /cgi-bin/fire.pl/webneuron/print.html?VALUE=4 >file: operator= PRINT value = >file: action= fire value = 5 >/cgi-bin/fire.pl/webneuron/add1.html?VALUE=4 >file: operator= + value = 1 >Caller : /cgi-bin/fire.pl/webneuron/print.html?VALUE=5 >file: operator= PRINT value = >file: action= value = 5 > >I guess this looks a bit vague the weblet is run by calling > >http://gallinago.cybpub.nl:8080/fire.pl/webneuron/print.html?VALUE=1 > >(This can't be done from the net, intranet only) > >At the moment al the firing is done by the browser: > >print.html : > if VALUE <operator from table> <constant from table> output Location: <data from table> > >in other words by redirecting: The problem with this is only 10 redirections are allowed >by the cern httpd server. so this has to be implemented differently. >Futher more only one webneuron is allowed to output and then the weblet >finishes. > >The second problem I have is with the Default action RETURN >I thought the caller URL would be stored in $ENV{'REFERER_URL'} but it isn't >so as a first start I've made this a hardlink to print.html (in the script) >but eventually a webneuron has to send it's name (= URL). > >The last simplification I made is that only one variable can be >send (which makes sense to me but I suspect you want to send more vars >so a collum to the first parts of the table should >be adden for variable names) > >The nice thing about this weblet is that no data is stored. >(no file is changed) > >What do you think of it? I'm very impressed. It looks like you've got something that actually works. Unfortunately I don't understand what is going on to make it work. My knowledge of CGI and http is poor, but I want to improve it. I would like to duplicate your system and see exactly how it works for myself. On a more general note... It seems there are four possibilities for a weblet interpreter:- Assembler level Linux level - presumably programming in C or C++ CGI - from what you seem to be saying above, it seems there are quite a few problems with this method. Java level Overall I prefer assembler because it is simple, relatively uncorrupted and clean. You can easily build the structures required in RAM. I could get something going on an Atari Falcon quite quickly (3 months or so) but I'm not sure about integrating TCP-IP. I already have a set of macros to simplify the assembler programming. However, I do not want to waste my time if it is the wrong way to go. By the way, we could just develop webneurons initially for a single computer, and do the Web later. Having developed it on the Atari - couldn't we then convert fairly easily to other platforms? After briefly seeing Linux in action - I would rather try Java instead of that. Whaen I reply to your mail I keep getting returned mail because it sends to <frank@cypub.nl>. Like your live weblet. Be hearing from you,