Of course, you can’t escape JavaScript 100 per cent. At least, not yet (WebAssembly is coming).

Till then, you should use JavaScript as sparingly as you can. As I do. I write my web apps using Python and web2py. If I have a need to do a front-end SPA, then I use Amber Smalltalk. In both cases, I use just enough JavaScript to interface with jQuery. The rest of my application (virtually all of the business logic) is done with Python or Smalltalk.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store