« More int_tools changes | Main | ECRC.php »

ECRC and ECRD

  • Initial implementation of ecrc/ecrd, a client/server application to return information about ECRS
  • Started initial implmenetation of ecrc.php
  • Reported another problem with toolchain build

ECRC and ECRD

Taking code from cqd/cqc that I implemented over at Salira, I decided to adapt these to ECRs. The concept is essentially the same - you have data on a server in a database and wish to get to it either through a command line or a web page. At Salira I had Clearquest and it's backend database of SQL Anywhere. I was also limited to using cqperl which was based off of ActiveState Perl which has problems going into daemon mode and handling signals. Here I have an Informix SQL database and do not face the same limitation of ActiveState. Perl's DBI interface makes handling this database pretty easy. Of course the data fields are different and I took advantage of real Linux so as to make the daemon mode actually work well now. Multithreading remains a problem in that the child process hangs on the SQL prepare statement and if I try to reopen the database (not efficient) I get an error. Eventually I can work out these problems...