Mike,

Thanks for your enlightening comments.

I fully agree with you on the use of JSmol syntax as it stands but file
upload/save features are a must-have.

Let us see what the developers come up with.

Amjad





On Wed, Sep 11, 2013 at 10:05 PM, Michael Evans <[email protected]> wrote:

> Amjad,
> I can provide some background on the Javascript "jmolButton()" versus
> "Jmol.jmolButton()" issue. The slight lack of user-friendliness in the
> latter is compensated for by the efficiency and better design of an
> approach that wraps all functions that interact with Jmol applets in a
> global "Jmol" object.
>
> Why is it better, you ask? For one thing, for developers who make use of
> the Javascript console (and I hope you are, if you're writing web pages
> that use Javascript…), the Jmol object is self-documenting. Open a console,
> type "Jmol," and voila! All of its functions are listed. The Jmol object
> also helps JSmol deal with Java-incapable platforms efficiently--no more
> "sorry, you don't have Java installed" messages. All one needs to do is
> supply the Jmol object with parameters that tell it to use HTML5 when
> needed, and the functions inside the Jmol object take care of business from
> there. This is consistent with other paradigms for programming in
> Javascript, such as those associated with jQuery UI and Bootstrap JS.
>
> The first paragraph of this 
> page<http://wiki.jmol.org/index.php/Jmol_Javascript_Object> provides
> some rationale too.
>
> Cheers, Mike
>
> Michael Evans
> Freshman Chemistry Lab Coordinator
> Georgia Institute of Technology
> (502) 439-2540 | [email protected]
>
> On Sep 11, 2013, at 9:54 PM, Amjad Farooq <[email protected]> wrote:
>
> JSmol developers,
>
> While JSmol is very promising, two additional features that I believe will
> truly allow it to completely replace Jmol are as follows:
>
> (1) While I understand that javascript does not allow file upload or save
> to and from local machines, this feature is essential and something has to
> be done to address this shortcoming in JSmol. JSmol is too good not to have
> these basic features that any standard software should have.
>
> (2) Is it possible to provide a more user-friendly javascript syntax for
> JSmol that directly builds upon the Jmol syntax (which most of us are
> familiar with and thus would make it easier to switch between the two
> easily)? Is there a reason why Jmol commands in JSmol cannot simply carry
> an "S" in lieu of the complex syntax that we currently use. For example:
> jmolButton  --->  jsmolButton
> jmolMenu    --->  jsmolMenu
> jmolScript   --->  jsmolScript
> and so forth.
>
> Just some thoughts.
>
> Amjad
>
>
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
>
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk_______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. Consolidate legacy IT systems to a single system of record for IT
> 2. Standardize and globalize service processes across IT
> 3. Implement zero-touch automation to replace manual, redundant tasks
> http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to