> That's a little bit like saying: don't learn web development, it's too easy, invest in learning fundamentals of computer science instead.
But that's very solid advice, not just for an academic. A lot of the web development jobs are either outsourced or marginalized by newer and more powerful frameworks. It's an unfortunate side effect of the fast moving field of informatics - your skills become either redundant or invaluable very quickly.