Category Archives: Manifesto
Always Set Href In Javascripted Links
When using javascript in links onclick event to open windows or perform other navigation related tasks, always set href just like you would if javascript didn’t exist. If javascript is broken, links still work. <a href=”http://example.com/” onclick=”doStuff(this.href);”>Open</a>
Websites Must Function Without Javascript
Websites need to function without javascript enabled. AJAX and Web 2.0 are fine tools, but don’t abandon the basics. The ability to interact with a website without javascript means you can easily unit test your website just like you would … Continue reading
Always Set Application Name In SqlClient Connection Strings
If you’re using connection strings on the web, set Application Name to the domain name. If you’re using connection strings with an executable, set Application Name to the executable name. If you have to use SQL Profiler to diagnose performance … Continue reading