Archive for the ‘Software Development’ Category

Try to Stay DRY

Have you ever cut and pasted a piece of code and then tweaked the resultant new code just slightly in order to perform a variation on the first piece of code? Oh come on now, fess up. Well that nagging feeling of guilt you have is your innate understanding of the DRY Principle kicking in. Listen to [...]

.net Clickable Table Header Cell

One of my tasks at Mersoft was to update a .net web site. In the website, there was a data table that needed to be sortable. However, the .net’s TableHeaderCell did not have a clickable feature, and I couldn’t find any equivalent that was clickable. So, I created my own.  Here’s how I did it…
Code [...]

My Experience with Google AJAX toolkit

 
 
 
My first task at Mersoft was to develop an ajax-rich web interface with a Java backend. I was told that it must be tabbed and was shown the existing interface which pretty much was just a file upload. The project was to keep the file upload plus have several tabs containing different types of reports [...]

Problems with duplicate or multiple log messages using log4j xml

Are you seeing duplicate or multiple log messages using log4j xml configuration?
The configuration below produces three log messages.
log4j.xml:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
  <appender name="console" class="org.apache.log4j.ConsoleAppender">
    <param name="Target" value="System.out" />
    <layout class="org.apache.log4j.PatternLayout">
      <param name="ConversionPattern" value="%-5p %c{1} – %m%n" />
    </layout>
  </appender>
  <logger name="com.acme.LoggingTest">
    <level value="debug" />
    <appender-ref ref="console" />
  </logger>
  <logger name="com.acme">
    <level value="debug" />
    <appender-ref ref="console" />
  </logger>
  <root>
    <priority value="debug" />
    <appender-ref ref="console" />
  </root>
</log4j:configuration>

LoggingTest.java:

package com.acme;
public class LoggingTest {
  
  private [...]

Five Things to Look for in a Custom Software Development Company

Selecting an IT company to help build your growing business can be a daunting undertaking, to say the least…  With such an abundance of software development companies vying for your business, what should you look for?  How do you separate the good from the not-so-good?  Other companies that have successfully tackled this challenge have found [...]

Custom Software: What do you do when you can’t afford it?

Try as we may…we can’t help everybody. Recently, we worked closely with a Kansas City company in the healthcare field that needed a custom software solution. After running through several options in terms of commercial, pre-built options, we came to the realization that there was indeed nothing available that did precisely what our customer needed. [...]