purpose (395)


Any reason not to start using the HTML 5 doctype?

Any reason not to start using the HTML 5 doctype?

It is supposed to be backwards compatible with HTML4 and XHTML. John Resig posted about some of the benefits.As long as we don't use any of the new and not supported yet features, would there be any d…


svn - Subversion and web development

I'm introducing Subversion into our web shop. I want to want the checked in files to be uploaded into the server via FTP(and as they get use to Subversion, via SFTP). The files are sent to a release…


When do you use dependency injection?

I've been using StructureMap recently and have enjoyed the experience thoroughly. However, I can see how one can easily get carried away with interfacing everything out and end up with classes that…


Java: notify() vs. notifyAll() all over again

If one Googles for "difference between notify() and notifyAll()" then a lot of explanations will pop up(leaving apart the javadoc paragraphs). It all boils down to the number of waiting threads being…


language agnostic - How do you determine how far to normalize a database?

When creating a database structure, what are good guidelines to follow or good ways to determine how far a database should be normalized? Should you create an un-normalized database and split it apar…



How to maintain Hibernate cache consistency running two Java applications?

Our design has one jvm that is a jboss/webapp(read/write) that is used to maintain the data via hibernate(using jpa) to the db. The model has 10-15 persistent classes with 3-5 levels of depth in th…


oop - Why the claim that c# people don't get object-oriented programming?(vs class-oriented)

This caught my attention last night. On the latest ALT.NET Podcast Scott Bellware discusses how as opposed to Ruby, languages like c#, java et al. are not truly object oriented rather opting for the…


svn - Subversion merge history visualisation

Are there any utilities out there which can draw pictures of the merge history of a subversion repo-we always commit merges with a(fairly) consistent log message, and it would be handy to be able…


Does the DOCTYPE declaration have to be the first tag in an HTML document?

This question already has an answer here: Can comments appear before the DOCTYPE declaration? 5 answers Our security manager dynamically inserts a bit of j…


language agnostic - Where did the concept of Interfaces come from?

In c#, we have interfaces. Where did these come from? They didn't exist in c++.…




what the how example and java use with for why