05-03-2011 09:33 PM
The bbwp packager doesn't remove any comments from the CSS and JS of apps and doesn't do any minification or aggregation.
So, unless you do it yourself, your documented source code is delivered with every webworks app.
Professional app developers will probably implement advanced compilation techniques right in their build scripts, but people new to it all, may need some extra tools.
One way to easily clean things up is to use the YUI Compressor. It works for both CSS and JS and does a pretty good job without destroying the code.
So, if enough people are interested, I'll publish a batch script, otherwise, I'll spend my time on other stuff .
05-04-2011 07:22 AM
05-04-2011 10:10 AM
05-04-2011 10:15 AM
That website won't bring back the comments and file structure and that's what YUIC can be used to remove.
Unless you're using advanced compilation techniques, any experienced coder will rebuild the app from YUI compressed files, there is not much we can do about that.
05-04-2011 10:19 AM
05-04-2011 10:35 AM
Indeed. What we need is for our bar files to be encrypted and for RIM to make it impossible to get apps off the PlayBook. Assuming they'll keep a tight lid and QNX won't get rooted that should make life a lot safer for us.
Staff UI Prototyper (read: full-time hacker)
05-04-2011 10:39 AM
I'm not sure encryption would work for WebWorks apps since the browser can be put in debug mode. Sooner or later, someone will be able to enable that for webworks apps since they're using a browser shell.
05-04-2011 10:36 PM
05-04-2011 10:45 PM
05-04-2011 11:08 PM