Linux Today: Linux News On Internet Time.

IDG.net: Borland creates a RAD tool for the rest of us

Aug 11, 2001, 13:00 (2 Talkback[s])
(Other stories by Joe Barr)

[ Thanks to Mark Cappel for this link. ]

"In spite of my handicaps, in a few days I managed to create a simple application using the Server Developer edition. I attempted to create a similar program using Open Edition. At the moment, however, I am stumped by a pesky compile error as I try to open an input text file. I call the application CRANAL 1.0, which is short for Code Red Analysis. It reads (or it will eventually, when I can open the log file) a standard Apache log file looking for page requests for "default.ida," the tell-tale signature of being probed by a Code Red infected box looking for new victims.

The user interface is simple. You choose the log file to be examined, select a starting date, and click on "Go." All Code Red activity for the week beginning on the date specified is displayed on a bar graph for each day.

Using Kylix's GUI RAD, I designed the form for a window to handle all the functionality described. Selecting the log file was a piece of cake. I used one of Kylix's pre-built dialogs for the task. To allow the user to pick a starting date, I created a second form for a modal window that appears when needed and disappears when completed. On the second form, I used three list boxes: one each for the month, day of the month, and year. I hate to have to shift back and forth from mouse to keyboard, so I made it pure click-and-go. Clicking an OK button closes the second window and takes you back to the first. For the bar graphs I used Kylix's progress bar component. Truly a piece of cake."

Complete Story