Hi! A day of small announcements :)
Another nice new feature of the current trunk and this way 0.7 was just added. It is no possible to obfuscate accessors. Together with the already available string and variable optimization this dramatically reduces the possibility to understand the code. You can enable this with the current trunk through the Makefile variable "APPLICATION_OBFUSCATE_ACCESSORS = true" like already enabled in the "webmail" application. The feature will translate code like: qx.foo.bar.dosomething() to qx["foo"]["bar"]["doSomething"]() The string optimizer will then replace this again with something like: qx[$[20]][$[302]][$[2029]]() The only limitation is that this (currently) only works in situations where there are only simple identifiers used. For example the script will not optimize things like: qx.foo().bar.hello; Please note that this option ((at least) theoratically) costs some time and means a overhead for your application. With further versions it may be possible to control this on file-level but this is currently not possible. To get a first impression take a look at the online script of the current webmail application: http://demo.qooxdoo.org/0.7-beta3/webmail/script/webmail.js Cheers, Sebastian ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
