Tuesday, March 30, 2010

Java: Hotline SM Edition

Current the Hotline application is in use by the CS department. Now I've been asked to modify it so that the Sales group can use it to track their inbound calls and emails.


I used the same layout and basic structure from the original Hotline program. However as this will be a fresh program I was able to remove all of the legacy code so that it was much cleaner and simpler than before. For example the code used to generate the report depending on what month the data is from was removed and replaced with a single statement on how this should be done. As such a lot of the confusion in the code in terms of how the report should be displayed or how the individual records should be generated is gone, leaving the program much simpler and smaller in size.

I'm rather hoping that this program doesn't require as much alteration from month to month as the original Hotline program, as then the code will simply get complex quick, as happened with the previous version. I still plan on altering the programs to allow the managers to update the representative list or call options themselves. Just in case I'm not around and we're still using the program.

No comments: