rev-web, revbrowser, on-rev, Linux, help!
J. Landman Gay
jacque at hyperactivesw.com
Sun May 9 20:05:21 EDT 2010
Peter Alcibiades wrote:
> "By installing the RunRev 3.5 engine on any Apache server you can get just
> about the same functionality as you would get on the on-rev server...."
> Thanks, I had not appreciated that. Could certainly be significant.
Peter, you really should take up that offer for an iRev testing
playground. You will be blown away by it. It's true that you can
accomplish most of the same things using old-style CGIs, and I used to
do that, but it's so much more difficult than the iRev way. And the iRev
way has a cool factor you can't ignore.
Just as an example, here's a chunk out of the middle of one of my web
pages. It cycles through images every time the page refreshes:
put any line of url ("file:cgiphotos/cgiphotos.txt") into tFlower
<img src="cgiphotos/<?rev put item 1 of tFlower ?>" width="320"
height="240" border="1" />
[page content HTML text removed]
<i>The flowers you’re seeing are all from my gardens over the
years. This one is <?rev put item 2 of tFlower & ".</i>" ?>
The main thing to note here is how you can put Rev syntax right inside
of the HTML content and it will be interpreted before the page is sent
back to the browser. Glance through the above and find the <?rev ... ?>
instances and you'll see.
I know you've been unhappy about the state of the Linux engine, but this
is one thing you really can take advantage of. And it's very, very cool.
BTW, Rev allows "includes" too, and my web site uses those on every page
to show the header, footer, and sidebar. Some of those have iRev scripts
in them too.
To see the above in action:
I hope you'll try it, and even better, let us know what you think.
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the Use-livecode