In the absence of details, all we can recommend is basic mental conditioning for programmers. A standard piece of advice is "SICP". Another is "K&R". Eric Raymond's essay on "How to Become a Hacker" is a little dated and a little opinionated, but worth reading. "Learn emacs" (or, to be fair to vi and Textmate, "learn a decent text editor") is a piece of advice that I'm glad I followed.
You cannot go wrong by learning the basics of databases and web application architecture. The architecture of web apps is more important than the choice of server-side language. If it weren't so dated I'd recommend Philip and Alex's Guide to Web Publishing. For a more up-to-date version of that, you might try the required texts for this MIT course: http://philip.greenspun.com/teaching/one-term-web
I hope this helps
It will all begin to make sense as you will have a thorough understanding of what is going on at the lowest level. You will never regret acquiring that knowledge.