Ahh I understand the design constraint.

About ten years ago I had to write an HTML editor Applet - this is
what I remember:

I was able to get all the functionality I really wanted in terms of
interaction and usability without any struggle.
I was even making use of some in-house libraries we wrote.

We later got around the file-writing piece by signing the applet,
which removes all security restrictions from the applet.

If that's not acceptable for your use, I believe you can get around
most of the security limitations by using JNLP to load up your
applet.  This might be more useful in your use-case, since some people
have started turning off Java in their browsers because of recent
exploits.

More info here:
http://docs.oracle.com/javase/tutorial/deployment/applet/security.html

I haven't used applets with CLJS, but feel free to message me off-list
for more details about the application above.

Paul

On Apr 23, 9:59 am, Laurent PETIT <[email protected]> wrote:
> 2012/4/23 Paul deGrandis <[email protected]>
>
> > Rather than battle the challenges of Java Applets,
> > could you possibly expose the functionality via Fetch (RPC over HTTP
> > from within ClojureScript)?
> >https://github.com/ibdknox/fetch
>
> Hello Paul,
>
> I could, but the whole point of my email is trying to understand the
> challenges of having a server-less solution (if it hasn't been solved
> already).
>
> Regards,
>
> --
> Laurent
>
>
>
>
>
>
>
>
>
> > Regards,
> > Paul (OhPauleez)
>
> > On Apr 23, 7:23 am, Laurent PETIT <[email protected]> wrote:
> > > Hello,
>
> > > I've read somewhere (in the list ?) the idea of embedding Clojure & al
> > as a
> > > Java Applet in a page to provide easy standalone web-based test
> > > environment, something like Himera (https://github.com/fogus/himera) but
> > > without the need to host the service on a server.
>
> > > I found the idea compelling, especially for doing work labs with
> > students,
> > > etc.
>
> > > Do you know if someone tried it and succeeded ? (I can see a number of
> > > challenges, related to libraries requiring filesystem, etc.)
>
> > > Cheers,
>
> > > --
> > > Laurent
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Clojure" group.
> > To post to this group, send email to [email protected]
> > Note that posts from new members are moderated - please be patient with
> > your first post.
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> >http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to