The previous emails must have been Chris because I haven't been
around...
I'm just settling back into work after a week at the EMW conference in
Aberystwyth.
>Troy, do you think that GWT can turn JSword into JavaScript?
>In other words, could we write STEP as a Java add-on to JSword and
>then compile the whole thing into JavaScript?
That's what I thought about doing when you re-approached me a few months
ago. Sadly it's not that simple. Significant changes to the code base
are required. The JSword reads in sword modules from a file on disk...
the browser (GWT client) has no rights to the disk. Gears will give us
access to a SQLite db and maybe some static files too but the server
initialisation is still required.
I'll be writing a few prototypes in due course. I'm in the process of
writing one. Work is busy at the moment; I have an important
presentation next week so I am focused on that. I have been thinking
about this project though. Google have solved a lot of our problems.
Please bear with me,
David.
-----Original Message-----
From: Tyndale STEP Project [mailto:TyndaleSTEP@gmail.com]
Sent: Tuesday, August 18, 2009 10:01 AM
To: Hollands, David
Subject: [Tyndale STEP - Programming] Google Web Tools doesn't need a
server
Thanks Chris? Dave? (please could you sign - your address gets lost
by redirection)
for pointing out htat GWT generates javascript and leaves it available.
I had a further read at
http://code.google.com/webtoolkit/doc/1.6/DevGuideCompilingAndDebugging.
html#DevGuideJavaToJavaScriptCompiler
and found an example Hello.html which is generated as an html file,
ready for linking to,
which then links to 5 versions of the javascript files for different
browser/OS users.
So it looks like we can generate the files, and we don't need a server.
Troy, do you think that GWT can turn JSword into JavaScript?
In other words, could we write STEP as a Java add-on to JSword and
then compile the whole thing into JavaScript?
David IB
No comments:
Post a Comment