Discussion:
Tweak projects for application delivery via the Web
Fournier Eric
2006-01-10 22:38:07 UTC
Permalink
We want to use Tweak projects to deliver a squeak application via the
web, similar to the way squeakland delivers EToys. We have teased
apart the ".pr" files that squeakland delivers as the EToy payload,
and have many questions about the format within (the
embedded .html, .rc files, for example).

All this I'm just guessing from having looked at where things get
installed, and a typical EToy project loader page produced by the
Squeakland EToy loader page (for example http://www.squeakland.org/
project.jsp?http://www.squeakland.org/fun_projects/proj_pe_mo/
wallfollower/cs198-wallfollower-final.003.pr

Also, we see that the Tweak project code (now not working) is/will be
somewhat different than the morphic projects the EToys are using. Is
it possible that we will be able to load Tweak projects via the web
in a manner similar to the EToys projects?

We (Mark McCahill's programming group) have written a fabulous Tweak
IMAP email reader, and want to deliver it to clients in the web
browser frame (required, politics ;) ), so that the classes for the
email reader are sent to the client machine on each launch. This
means that what is "installed" on the client is as generic as
possible. Allows for as much ease in code updates, client stateless
ness.

Anybody have suggestions, Ideas?

Eric Fournier
University of Minnesota
Office of Information Technology
emf-***@public.gmane.org
Andreas Raab
2006-01-11 08:56:51 UTC
Permalink
Hi Eric,
Post by Fournier Eric
We want to use Tweak projects to deliver a squeak application via the
web, similar to the way squeakland delivers EToys. We have teased apart
the ".pr" files that squeakland delivers as the EToy payload, and have
many questions about the format within (the embedded .html, .rc files,
for example).
I think this is the wrong list for this part of the discussion -
Squeak-dev seems more appropriate for it.
Post by Fournier Eric
Also, we see that the Tweak project code (now not working) is/will be
somewhat different than the morphic projects the EToys are using. Is it
possible that we will be able to load Tweak projects via the web in a
manner similar to the EToys projects?
Very likely, yes. Probably just another image file with the same plugin.
However, we haven't done that yet so there is a small chance that things
may play out differently.
Post by Fournier Eric
We (Mark McCahill's programming group) have written a fabulous Tweak
IMAP email reader, and want to deliver it to clients in the web browser
frame (required, politics ;) ), so that the classes for the email
reader are sent to the client machine on each launch. This means that
what is "installed" on the client is as generic as possible. Allows for
as much ease in code updates, client stateless ness.
Anybody have suggestions, Ideas?
Yeah. I wouldn't quite do it that way. What I'd do is include some code
that checks if there is an updated version of the client code and only
then downloads that code into a local cache. Otherwise it starts the
code directly from the cache. If that "code" is not even just code but
rather a Tweak project it should be very fast to do that. And you can
make this extremely generic just by relying on the fact that you're
running a project with the code embedded instead of worrying about
individual bits and pieces to download and to run.

Hope this helps,
- Andreas

Loading...