Keep updating userself
Keep updating yourself with new technologies and new versions of current technologies. Try to use new environments, Frameworks which can help in fast development of software applications.
Master your Language
Always try to master your language. Whether you use PHP, ASP, PERL, Python or any other language always try to master that language.
Try to expertise a domain
Choose a domain or Industry and try to master that domain, be a domain expert instead of just a programmer.
Try to be a tester also
It is important to write a bug free code, so try to learn some testing tools also to test the application before deploying it at client end.
Try to develope product instead of project
Develop application in such a manner that it should become a product instead of just a project i.e with just a small configuration and designing change it can be deployed to different client's end also.
Be a OOPs Developer
Write applications using OOPs concepts i.e. write classes for all entities in an application and write all the functions in that class.