Get the latest tech news
The API Churn/Security Trade-Off (2016)
Simple AJAX using HTML attributes
TLDR: Heavy client-side logic requires a trade off between API churn or an increasingly complex security model So, if you want to avoid this API Churn vs. Security complexity trade off entirely, there is a great way to do it: move things back to the server side. But even if you aren’t buying what I’m selling (for free, because I love you), fine: you still should realize that you are going to need to think very hard every time you increase the expressiveness you make available to your client-side developers.
Or read this on Hacker News