[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: timescale of 'search-linuxkb'



Jason Pincin <chardros@linuxkb.org> wrote:-
> > I was going to write search-linuxkb in tcl, which would have allowed for
a
> > tcl/tk interface very easily. However, I have more experience with C...
> If it were me, I'd use C.  A clearly documented API will make it easy to
> interact with in any toolkit, and the advantage of doing it in tcl would
> only help those who choose to write the applet in tcl.

C is is, then. If anyone wants to port it to tcl, they can use the API
specs.

I'll end up writing routines which will be useful to other programmers
(html-parsing, etc.) so if anyone knows how to turn these routines into a
library someday... Actually, that raises a few questions:-

1) Should search-linuxkb be a proper '.lib' library, or is it ok that it'll
be a regular application?

2) Is it ok that it'll use wget to read the search page & send a POST
request? There's probably a C library for doing the same thing but wget
comes with most Linux installations anyway.