Abstract
Molecule editor have become essential building blocks for modern chemistry related databases with structural operation available. It was quite a challenging task to input molecule structures in a web browser before Java Applets technology was applied in chemoinformatics. Until now, Java Applets are still the de facto standard for web based databases. With the development of web technologies and script programming, Ajax, a Web 2.0 technology, is becoming mainstream in web development. This gradually eliminates the need for plug-ins such as Java and ActiveX. Therefore, it is possible to develop powerful web-based tools without plug-ins. This poster introduces a JavaScript based molecule editor: jsMolEditor, which had made a significant difference from other editors available on web pages. Unlike server side editors such as PubChem editor [1], jsMolEditor implemented all its functionality in JavaScript on the client side. Thus it is not necessary to maintain a connection to a server during operation. jsMolEditor works completely independently on the client side. The JavaScript nature of jsMolEditor also made it able to run in standard web browsers without specific plugins or virtual machines. The 2D drawing system deals with web browser differences. By combining Canvas and VML, jsMolEditor was able to work on all common web browsers including Internet Explorer, Firefox, Safari, Opera and Chrome. Instead of building jsMolEditor in JavaScript from scratch, GWT [2] is utilized as a cross-compiler from Java to JavaScript, which enables the reuse of existing Java chemoinformatics frameworks. jsMolEditor used a ported version of MX [3] as the bottom layer framework to handle basic molfile I/O. Thanks to MX’s open source license, the development of jsMolEditor saves a lot of time by eliminating the process of reinventing the wheel. The poster represents not only jsMolEditor itself, but also the building process of jsMolEditor and the feasibility of applying the same concept to other chemistry gadgets on web pages, such as spectrum viewers. jsMolEditor’s source code is available at http://github.com/chemhack/jsmoleditor/.
Highlights
Molecule editor have become essential building blocks for modern chemistry related databases with structural operation available
It was quite a challenging task to input molecule structures in a web browser before Java Applets technology was applied in chemoinformatics
With the development of web technologies and script programming, Ajax, a Web 2.0 technology, is becoming mainstream in web development. This gradually eliminates the need for plug-ins such as Java and ActiveX
Summary
Molecule editor have become essential building blocks for modern chemistry related databases with structural operation available.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.