Ask HN: Getting started in server programming
While I consider myself a competent Java, C++, Python... algorithms programmer, server/web programming has always scared me. I hear about SQL injections, XSS attacks, password leaks, servers crashing when websites get popular, noSQL, etc.
Given I am starting from scratch, what's the best thing to learn to make simple, efficient and safe servers, to serve webpages and JSON?