Hello,
I am about to make some changes to the Java Molecular editor question type (qtype_jme) created by Dan Stowell.
The most important one is that I want to switch from using the JME java applet (see http://www.molinspiration.com/jme/ ) that was used form the creation of this question type back in 2006 to draw molecules to the new JSME (see http://peter-ertl.com/jsme/ ) javascript applet created by Peter Ertl (Peter was also JME's author) and Bruno Bienfait.
The benefits of this change would be
- switching from java to javascript seems to be a good thing (now a lot of institution block java applets for security reasons and it become rather complicated to approve java applets is some browsers like firefox)
- Contrary to JME which is free for non commercial use but not open source, JSME is open source
- the question type would be usable on tablets and smartphones (IMHO that benefit alone is HUGE !)
I see no drawback but maybe there are some, so if you don't agree with this change speak now !
The second change is that I want to add a field into each jme question, this field would store the applet options (like xbutton, hydrogens, autoez, nostereo, ...) so that the teacher is able to change thiese options on a question by question basis.
Here is a screenshot of how it will look:
When the question is created, field (1) would default to the options defined at the site level for the jme question type (this setting already exists in the latest versions of the jme question type)
When the teacher change the value of field (1) and press button (2) the editor (3) is updated with the new options so that the teacher can preview what the student will see during question attempt.
As you see in the above screenshot the JSME editor looks quite like the old JME editor and support the same functions (there is also an option "oldLook" so it have exactly the same look as the old JME editor).
My current intention is not to change the qtype_jme plugin name or the tables names (this will not be a "qtype jsme" new question type) because I think it will be easier (upgrade will be transparent for actual users of the jme question type). Of course I will remove reference to java everywhere.
So please, JME users, I am awaiting your comments.
PS, In fact I started development this morning and the question creation:edition code and the upgrade code is already written and working, but I must admit I still have some problems with the question renderer used during attempt !
So better to ask for comments before it is too late