The reason I ask is that this was a practice I initially thought a good idea to protect my clients investment from their competitors, however I am very much leaning towards an Open Source approach development these days as best practice - after all good code should be free for everyone to view!
I look forward to your thoughts and views!
Personally, I don’t think so. As you say, you really can’t hide the front end stuff, no matter how hard you try. Your time is better spent elsewhere.
Hi Ralph M - Thanks for your reply. I agree it doesn’t seem sensible, and not really in the spirit of an ‘open web’ which is surely the only way forward
I do use uglify to compress and minify all my scripts.
With development tools such as Firebug which…
You can actually hide script from the DOM inspector pretty easily if you don’t put stuff in the window scope and wrap everything in an IFEE
This coupled with uglify makes it pretty hard to see what’s going on.