Hi, I've written a concept of how we could use the same user interface on the web and for the stand-alone version. It's at http://wiki.languagetool.org/using-web-technologies-for-the-local-user-interface-concept but I'm also pasting it here. Feedback is welcome. Currently the status is that I like the idea, but it's a lot of work and I probably won't have time for it:
This is a rough concept for using web technologies for the local user interface, replacing the Swing-based user interface. The basic idea is this: The user downloads the software They start languagetool-standalone.jar A local webserver is started on port 8080 (other ports are tried automatically if 8080 is used already) The user's default web browser is started, showing http://localhost:8080, which looks a lot like languagetool.org today but with more features (set mother tongue, activate/deactivate rules, …) When the user checks a text, the API running at http://localhost:8080 is used No features would be lost compared to before, as there's still the server part running which can e.g. store configuration files or show an LT icon in the task bar. In other words, we're not limited by what Javascript can do. Privacy is as good as with the old stand-alone version, as no personal data leaves the user's computer. What's good about this? We'd be using the same technology for the stand-alone client and the web interface By doing so, the interface at languagetool.org would become complete, features like rule configuration would be added We'd be using technologies that are more widespread among developers than Swing is It's easy to add a "remote" mode, where a different LT server is used instead of the local one (e.g. to take advantage of the ngram data which is available on languagetool.org, but usually not locally) What's bad about this? HTML + Javascript + CSS + server part is at least as complex as Swing It's a lot of work Status There's an incomplete prototype implementation, see page attachments (http://wiki.languagetool.org/using-web-technologies-for-the-local-user-interface-concept). ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel