r/programming • • Oct 03 '16

How it feels to learn Javascript in 2016 [x-post from /r/javascript]

https://medium.com/@jjperezaguinaga/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f#.758uh588b
3.5k Upvotes

852 comments sorted by

View all comments

Show parent comments

2

u/kwirky88 Oct 04 '16

I work primarily on an enterprise saas product and being in the enterprise world we can't really put the business logic in JavaScript. Having the acl on an entirely different stack from the front-end would introduce too much complexity. We don't want business logic client side when millions of dollars are being shuttled around hourly.

1

u/wishthane Oct 05 '16

Obviously you don't put your critical business logic client side, but most web applications have a lot more than that going on in order to deliver a good user experience. You have a back-end API that you make XHRs to from the client side that implements most of the business logic and the client side handles the presentational logic.