Simetrical wrote:
On 8/22/06, Andreas <awolf002(a)earthlink.net>
wrote:
But before I go off "into the deep" to
figure that out, does this
question entail that JavaScript sections for the purpose of running
interactive labs *will* be accepted?
Well, you could already include them in Monobook.js (page-specific
Javascript is also possible: just check the page's name from the
globally-available variables and compare it to a list, and write the
page-specific JS file to the current JS if applicable). So yes, of
course.
Okay, I found out a few things...
Let me say first, I now agree with Juca's early comments that the
example I linked to was too simple. Most of the people that responded
seem to have taken this one example applet as the lab I wanted to run,
which can be done with Java script (JS) reasonably well. However, when
contemplating how to use JS to make labs for the important
force-velocity concepts of Newtonian mechanics (a must for any
Wikiversity physics course) JS will drag us down a road with very
complex and poorly performing code, because I can *not* draw a simple,
arbitrary length arrow in JS without coding the actual rendering of the
lines pixel by pixel. This is very underwhelming, so say the least!!
If anybody knows differently, please educate me! But JS is just not
appropriate for drawing any complex geometrical forms, like a "lab
course" at Wikiversity will need.
Back to square one: How can we deliver applets within Wikiversity pages,
safely. Please, re-read my suggestions I gave as an answer to Brion's
email, on how to manage code and deliver JAR files to Wikimedia servers.
Then we just need to decide on a "type" and mechanism to integrate a
single applet into a wiki, say something like
'[[Interactive:PhysLab101.jar]]' similar to '[[Image:Portrait.png]]'...
Andreas =:-)