1. webclay

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.)

new topic     » topic index » view message » categorize

2. Re: webclay

Jerry_Story said...

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: webclay

Jerry_Story said...

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.

Jerry_Story said...

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." smile

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. smile

new topic     » goto parent     » topic index » view message » categorize

4. Re: webclay

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.

new topic     » goto parent     » topic index » view message » categorize

5. Re: webclay

mattlewis said...

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu