1. webclay
- Posted by Jerry_Story Nov 09, 2011
- 1336 views
Questions about webclay:
1. Can webclay be made to work on a website on fortunecity?
http://jtstory.fortunecity.com/
2. Can webclay get around some limits of Javascript such as:
a. Javascript's inability to read .txt files
b. Javascript's lack of global data and global functions that are global across several .js files? (Javascript has global stuff but only within 1 file.)
2. Re: webclay
- Posted by mattlewis (admin) Nov 09, 2011
- 1315 views
Questions about webclay:
1. Can webclay be made to work on a website on fortunecity?
http://jtstory.fortunecity.com/
2. Can webclay get around some limits of Javascript such as:
a. Javascript's inability to read .txt files
b. Javascript's lack of global data and global functions that are global across several .js files? (Javascript has global stuff but only within 1 file.)
Webclay is just euphoria code. Basically, you should be able to run it anywhere that you can run cgi. It could certainly read .txt files on the server. It's output is basically html code, but generated by your euphoria program and the templates that you create.
Matt
3. Re: webclay
- Posted by euphoric (admin) Nov 09, 2011
- 1289 views
Questions about webclay:
1. Can webclay be made to work on a website on fortunecity?
http://jtstory.fortunecity.com/
Probably not. You have to be able to install Euphoria (I think), and be able to run your own CGI programs. I doubt a free web host allows this.
2. Can webclay get around some limits of Javascript such as:
a. Javascript's inability to read .txt files
b. Javascript's lack of global data and global functions that are global across several .js files? (Javascript has global stuff but only within 1 file.)
I assume you want Javascript to read .txt files on the user's PC. Webclay would actually serve up the javascript to the user's browser; thus, you are in the same boat as before. It's just, instead of the Javascript being located in static pages (.html), it is being served up dynamically by Webclay. So, the answer to this is a. no, and b. no.
BTW, Javascript can read text files; they're just called "cookies."
Webclay is simply a Euphoria program that delivers HTML to the user's browser. That's it. Just like PHP. It doesn't execute on the user's PC.
Hope that's helpful. If not, ask more.
4. Re: webclay
- Posted by jaygade Nov 10, 2011
- 1241 views
Javascript is actually a pretty awesome language, and one (of many) differences between it and Euphoria is that it runs in the browser. Although there is now server-side Javascript as well.
I'm not an expert, but Javascript SHOULD be able to get around the standard "global" procedures by using proper object-passing methods.
5. Re: webclay
- Posted by jeremy (admin) Nov 10, 2011
- 1286 views
It's output is basically html code
The template language used in WebClay can be used to output anything. I output LaTeX and Excel files all the time. Its most common use is HTML however, as it is a web toolkit and the web most commonly using HTML of course.
Jeremy