Exposure of the business logic in client-side


#1

Hi there! I’d like to know your opinion about the problem of the exposure of the business logic source code on the client-side using EmberJs. Often in my projects I want and need to create a rich user experience allied with best practices, and I really think EmberJS can help me to achieve this, but in the same time, the exposure of the business logic in the client-side worries me. Is there a way to solve this problem, or if I need to keep my business logic in secret I simply cannot use EmberJS?


#2

It’s not that you can’t use Ember.js, it’s more that you can’t use any JavaScript at all if that’s a real concern for you. You could use an obfuscation service like JScrambler.

I wouldn’t worry too much about that aspect though, there are more important security things to be done.