background preloader

Home · kripken/emscripten Wiki

Home · kripken/emscripten Wiki

STJS: Javascript code generation from Java source code The subject is not new (GWT is there for a while already). Strongly –typed languages seem to keep being interesting in a developers’ world very attracted currently by dynamic, weakly typed languages. Dart is also another example. We believe that for bigger Javascript projects (let’s say more than 2000 lines of code), the Javascript becomes very hard to maintain, almost impossible to refactor. GWT seemed to be the ideal solution, but as with any development project, it’s very hard to satisfy everybody! Our open source project “Strongly-typed Javascript” (STJS) focuses only on that part – generate the Javascript code from a Java code. The project is provided as a Maven plugin that is executed after the Java sources of your project are compiled. Our main concern when we built the library was to stay as close as possible to the initial code. Java: form.find(".ok").click(new EventHandler() { public boolean onEvent(Event evt, Element THIS) { $(that.row(stockData)).appendTo("table tbody");

Revelo – De-obfusquer du Javascript Revelo – De-obfusquer du Javascript Le langage Javascript étant interprété par le navigateur, il n'est pas possible de le protéger avec un chiffrement fort. Mais il existe pourtant une méthode qui permet de le rendre incompréhensible par un humain mais toujours interprétable par le navigateur. Cette méthode s'appelle l'obfuscation et est malheureusement utilisé aussi pour certains malware qui se cachent dans les pages web. Toutefois, attention si vous vous amusez avec des malwares. Revelo intègre aussi un sniffer de paquets et un proxy qui permet d'intercepter les requêtes HTTP sans aller sur les sites "sensibles". Si l'outil vous intéresse, sachez qu'il est disponible ici. Source Vous avez aimé cet article ?

Related: