Check out Jerry's new videos
Jim Ault
jimaultwins at yahoo.com
Sat May 8 07:52:32 EDT 2010
On May 8, 2010, at 2:30 AM, Peter Alcibiades wrote:
> OK, just to be clear, is this how it is?
My attempt to clarify things by making a series of statements that
should give some flow to a complicated subject... web hosting for the
rest of us.
Corrections welcome :-)
With an On-Rev account you have a password protected area that you
control as admin. This is a hosted account.
Using a control panel web page at On-Rev, you can setup, improve, or
destroy your ability to use this account.
Jerry's new venture, Rodeo, allows a server to perform complex tasks
and interact with a Safari browser running on the iPad. Basically, a
web server does not care which device has contacted it with
instructions and/or data. ( I have no affiliation with Rodeo or
inside knowledge )
Jerry's new venture allows a programmer who knows Rev text and data
handling to accept data and return info that will display properly in
Safari. Knowledge of html-php-css languages are not required since
his library will take care of writing 'all that weird stuff' and
delivering it correctly. The caution will be that the returned
display code will likely not be cross-browser or cross-platform,
especially not be backward-compatible. The goal is probably to be
finely tuned to the iPad version of Safari, which (knowing Apple) will
likely be a moving target. It is possible to make the cloud-app
function with any browser, not just the iPad, but I have no way of
knowing if Rodeo will ever add this.
----- On-Rev basics ---------------
Irev
Any text files you upload that have the correct code lines will be
read by the irev engine and executed, no matter how the text files
were edited and uploaded.
How do you get irev code, irev scripts, and php to execute?
Use your browser or scripting environment of choice to access an url,
such as:
http://jimaultAccount.on-rev.com/say-hello-with-date.irev
this runs the script + all of its function calls to other scripts,
then returns data.
If the data is to be displayed by a browser, then all the <head><body>
tags are included in the output.
If the data is merely the payload to be returned to a program, then it
is formatted to match the task.
http://jimaultAccount.on-rev.com/yahoo-weather-11-items-metric-system.irev
http://jimaultAccount.on-rev.com/yahoo-weather-11-items-US-system.irev
PHP, any flavor of cgi - that produce html, javascript, css results to
send back to a browser
These are all available to you on the On-Rev server, just as other
hosting servers. You do not ever have to write one irev script.
REV CGI, vs other cgi scripts that can be installed (such as perl)
You can install the Rev cgi 3.5 Linux engine on to your admin account,
then upload scripts and stacks that call this engine. Again, no irev
scripting is needed.
(NOTE: Andre Garzia has made an automatic installer for this -> your
On-Rev account and the engine will be available from any folder/script
you control, or from the outside world)
<?php> code <?> tells the server to execute PHP statements
<?rev> code <?> tells the server to execute IREV statements
The results of the code become part of the text string you are
building that finally becomes the string you return to the browser.
Now a bonus: You can write a Rev cgi that calls an irev script(s) to
do processing, then that first cgi delivers the result to the user's
browser.
You can write an irev script that calls a cgi(s) to do processing,
then that first irev script delivers the result to the user's browser.
Of course, you can have multiple calls to and between irev scripts and
cgi scripts.
The cgi scripts can run on any compatible hosting server, but the irev
scripts must be executed using the On-Rev.com engine.
You can have a PHP script on hostgator call an irev script on your
server.
You can have a Rev stack on your desktop that calls an irev script.
And now you can diagram many variations across different hosts that
you own or sites you don't own.
An example is to get stock quotes and weather as part of your desktop
app, then call an irev script to format the output or data structure.
The html-javascript-css-jquery code that you deliver from the server
to the browser needs to be compatible with the specific browser the
user has chosen.
If you use the Rev browser plugin, it will give the browser the
capability of doing more than the browser knows how to do, such as
display working stacks. The result is that you are not constrained to
using html-javascript-css-jquery, except to build the page that the
Rev plugin will run within.
Jerry's tRex editor makes building stacks and scripts very easy.
By executing scripts on a server, the user does not have to download
apps or stacks or revlets.
The usual browser cookies can store data locally, if the user allows
this.
I hope this helps people get there head around the complex nature of
web assets and the multiplexed jargon
Complex beyond measure, unless you have a multi-dimensional yardstick.
Jim Ault
Las Vegas
More information about the use-livecode
mailing list