CGI for Slide show
katir at hindu.org
Tue Oct 17 20:28:12 EDT 2006
Oh, yes, this is very interesting indeed: I've just start using stacks
on the web instead of plain text CGI's.
Your model shows a lot of potential. Given that there are a finite
number of UI designs for a slide show that would work in
any given web context. (5 to 10 at the most --
variations in the image sizes, vertical vs horizontal orientation
of photos etc..) one could store 10 different "packageLoop_1.txt"
parameter sets in the stack and then call these
with a single param in the GET request.
Which does over come one of the "constraints" I
had seen in terms of flexibility. I can distribute ImageReady
droplets to the content production team to output photos
to these specs. Conceivably one could even read the load
image 1 into imagedata and get it's rect and *then* set up the
show params based on that--dynamically.
My larger question has to do with whole issue of viability of the model.
iFrame+Rev CGI (engine loading on each hit) VS AJAX.
If I knew a bit more about, and if it were possible to,
control input, read and write to the browser cache, then we
could really do some interesting things by storing stuff client side.
On Expert's Exchange Web dev sections, iFrame seems to
be "alive and well" as a forward moving web object.
If anyone one knows any other EMBED things we can poke
with Rev CGI's I would be all ears.
I know the whole idea of loading some mini rev executable into
the client has been discussed, but the security issue is there.
Still if the JAVA engine is loaded in your OS and you have JAVA
doing stuff, I don't see how that is any less "dangerous"
The idea being some how to "go beyond the browser" and
let the user still use the browser as the window. Since
everyone is so in love with browsers... but, imagine if
target="revWindow" opened a rev stack instead of a window
in the browser... (I'm dreaming too much again...)
Jim Ault wrote:
> On 10/16/06 11:32 PM, "Sivakatirswami" <katir at hindu.org> wrote:
>> My main headaches had to do with paths and lineoffset and the fact
>> that "the files" of a default folder so not necessarily in alpha order
>> by default... anyway... it works.
> Suggestion for the issue of variable parameters passed to the rev.cgi that
> might work for you
> I do some slide show manipulation/direction in Flash, and my system uses a
> Rev stack to publish a text file I call 'packageLoop.txt'. This contains
> several parameters that (in my case) are read by the Flash swf.
> My Rev stack handles all the path names, naming conventions, format
> checking, etc, as well as the titles, subtitles, locations, and more.
> ----32 params----
> ----saved in the same folder as the images, always the same name
> ----now the order of the jpgs is in order of the list appearance
> ----and the same image can be used more than once
> &vSwfBasicVer=1139737304†Sunday 2/12/06†1:41 AM
> &vcptTxtArr=<I> ^<I> ^<I> ^<I> ^<I> ^<I> ^<I> ^<I> ^<I> ^<I> ^<I> ^<I> ^<I>
> Hope this gives you some ideas
> Jim Ault
> Las Vegas
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
Get Hinduism Today Digital Edition. It's Free!
More information about the Use-livecode