I'm starting a new web application project that I would like to release into the wild, and I'm trying to get into the habit of following best practices early.
Are there any good guides out there for creating a web application that can survive in the real world? Most tutorials I've seen thus far include setting up the model, controller, views and even some unit testing but usually include the phrase "for a real application you would of course include caching/security checks/logging etc..."