e: Why Rev needs a cookbook ?

Sarah Reichelt sarah.reichelt at gmail.com
Sat May 9 20:36:13 EDT 2009


> My problem is elsewhere.
>
> I have never written a line of HTML, have never
> written commands to access, upload, download,
> FTP, anything to or from the Internet. I have 40 years
> of programming expertise, and I don't know where
> to start off writing code for my Internet sites, or how
> to put them in place (I have detailed plans for 3 sites
> and nowhere to go as yet !). I feel that using Rev code
> inside HTML code could be an enormous benefit to me.
>
> I have just lashed out $500 for an On-Rev access,
> feeling in my bones that it was the right thing to do
> ....... and I don't even know where to start .....


Hi Francis,

Firstly, you can use the On-Rev web hosting service without knowing
any html. You do have to be able to create a web site, but if you use
iWeb or some similar program, that can be easily done. Then you need
to upload this site to the On-Rev servers. Your introductory email
from On-Rev has info on the settings needed for this - you can do it
through the cPanel web interface, or get iWeb to do it for you, or use
an FTP program like CyberDuck.

BUT..... you are not going to get the most out of on-rev unless you
learn some simple HTML. It's great feature is in allowing you to alter
or create html on the fly using Revolution scripting.

As an example, go to this page: <http://troz.on-rev.com/test.irev>
It's not very exciting, but it does some maths as well as reporting
various system parameters.

Now go to this page: <http://troz.on-rev.com/script.irev?file=test.irev>
This shows the script of the irev file that generates the first page.
The data you see on the first page is NOT contained in the script, but
the script contains Rev commands to get the data with the html tags to
display it in the required format.

The ability to mix & match the HTML with the Rev scripting gives
incredible power and flexibility. I am still only scratching the
surface of what can be done.

So I recommend that you read Mark's engine notes and follow his
examples <http://samples.on-rev.com/irev-engine-notes.txt>.
You can do this using the On-Rev application.

Then I suggest going to <http://www.w3schools.com/> and learning the
basics of HTML.

I dislike using forums, but the on-rev forum is very helpful and lots
of people are posting examples, so join in and ask questions.

Cheers,
Sarah



More information about the use-livecode mailing list