Sunday, June 30, 2013

Web Development Process

"Scripting elements that are used to prototype solutions should migrate into tag libraries as part of the development process" -- on JSP scripting elements versus tag libraries. link

Wednesday, June 12, 2013

Denormalization

On the fallacy of it: http://www.dbdebunk.com/2013/03/normal-forms-dependent-on-dependencies.html
Shows the need to recognize Functional Dependencies even in time-based records such as invoices.

Tuesday, June 11, 2013

First Normal Form


The classic discussion point is "OK, so you have phone1, phone2 and phone3, so what happens if one customer has 4 phones?". If your design is vulnerable to such a point then it is not in 1NF. – Greenstone Walker May 6 at 1:52

Wednesday, May 8, 2013

Where to Handle ASP.NET Exceptions

Unless some special exception is expected, you wouldn't want to handle general exceptions in the page code. Exception handling belongs in Global.asax
 http://www.codeproject.com/Articles/241066/How-to-Validate-ASP-NET-Web-Forms-Using-Business-R

Friday, April 26, 2013

Java Logging

Don’t forget to include Thread Name and fully qualified java class Name while printing logs because it would be impossible to find sequence of events if your code is executed by multiple threads without having thread name on it.
http://javarevisited.blogspot.com/2011/05/top-10-tips-on-logging-in-java.html

Monday, April 22, 2013

Java Servlets


The servlet container can be running in the same process as the host Web server,
in a different process on the same host, or on a different host from the Web server
for which it processes requests.
https://java.net/downloads/servlet-spec/Final/servlet-3_1-final.pdf