> I had to build an AJAX heavy part of the page, and got a bit lost in callbacks and DOM manipulations
Have you missed all the posts on intercooler.js - http://intercoolerjs.org/ <!-- When this button is clicked an AJAX POST request is sent to /example and the
response content is swapped in to the body of the button -->
<button ic-post-to="/example">
Click Me!
</button>
But what if I want the response to populate the content of another HTML element? E.g. if I wanted an accordion-style FAQ where when you click on the question (or on a plus-sign before the question), the div below the question is loaded with the answer from the server via AJAX. > The idea of savoring experiences is a good start.
Sort of. But real Buddhist mindfulness would call that 'savoring' craving. Nirvana lies in lack of attachment to the rise and fall of phenomena, not savoring the rise. > I'd bet it's inversely proportional to the number of things we have available to worry about.
When I was financially free I almost went crazy from lack of stress. > Combine the power of Java and your existing investments with the simplicity of JavaScript.
I would much rather use Clojurescript and Clojure to cover this technical area. > They asked me the same questions back in 2012. I was applying for a Java developer position.
OMFG.