Wednesday, May 06, 2009
maven - convention over configuration
one of the features of maven is build automation. you can imagine ant with more advanced plugins and elegant environment development structure. if you are in the stage of inception of a new project, maven is the right choice. however, if it is a legacy java project, good luck. you may end up writing multiple poms trying to emulate a maven structure. maven is designed based on a template which is basically claimed as the combination of best practices in java development. if there will be a comprehensive tool to migrate legacy build platforms to maven, then maven will not be only "convention over configuration" but "configuration to convention".
Tuesday, May 05, 2009
javascript namespacing
before :
function myfunction() {
alert('before');
}
after :
var namespace = {
myfunction : function() {
alert('after');
}
}
function myfunction() {
alert('before');
}
after :
var namespace = {
myfunction : function() {
alert('after');
}
}
Subscribe to:
Comments (Atom)