3 ms·
It is not really a problem. If someone saves out your source code, then they can. You can put a copyright notice on it. If they use it on their web site witho
by MarkR42 14y ago
It is not really a problem.
If someone saves out your source code, then they can. You can put a copyright notice on it.
If they use it on their web site without permission, they're violating copyright. However, that isn't why it's not a problem.
All of your:
* Version history (except for public versions)
* Unit tests, test plans, test data, test results
* Bug trackers
* Developers notes; QA engineers notes
* Code maintenance manuals
* Developers brains; QA engineers brains etc.
Are private, and someone leeching your content cannot obtain them.
Not to mention the fact that, if there are any server-side components, they'd need to reimplement them.
The time it would take them to understand your code, reproduce all the missing parts, they could just as well develop it themselves.
In fact, if they hired engineers with the calibre required to do that, the engineers would probably WANT to implement it themselves, not rip yours off.
Do not consider that the .js files are all of your development information. They aren't.
Additionally, the version that they leech is always going to be "behind" the one you're developing, right?
So in the time they take to figure out how your code works and how to integrate it with their own back-end systems, you'll have released a better (At least hopefully better) version. So they're permanently behind you, with an inferior product.
- skram 14y agoI totally agree with MarkR42 and was thinking the same thing when I had your question, OP. My main conclusion became server side processing is the black box at least in my case where the value add is through the REST APIs the javascript works with to present the right data to the user.
- mistercow 14y agoAlso, while obfuscation can't protect you from a determined programmer (and shouldn't be done for its own sake), minification or compilation like Google's Closure compiler does will remove a lot of the information anyone looking to steal your work would like to have.
- neya 14y agoThank you for the insightful comment :)
- Yaa101 14y agoJust wanted to add to the insightful comment, so what if another person uses a function in that .js code to solve their problem, your ideas stay yours. Also you can close down your IP into the server programming environment and call that from your .js I personally think that the proper balance between close ideas and open solutions is what spurred the web world beyond any other programming environment.