Thread View: news.software.readers
2 messages
2 total messages
Started by -- Spawn --
Wed, 08 Sep 1993 03:32
Object-oriented hooks for trn?
Author: -- Spawn --
Date: Wed, 08 Sep 1993 03:32
Date: Wed, 08 Sep 1993 03:32
49 lines
2660 bytes
2660 bytes
I am considering writing a project for a software engineering class that would basically involve putting an object oriented wrapper around trn. What I'd like to do is to write in C++ or Objective-C. I am much more familiar with Obj-C because of my NeXT experience. I want to be able to do something like this: article =[ news_object get_article: article_number newsgroup: group ]; or the equivalent in (my extremely rusty) C++ article =news_object.get_article(article_number,group); My questions are : 1: Is there an interest in something like this? The basic idea is to make it as easy as possible to write a front-end for news. I know that trn does good things like caching and maybe pre-fetching(?). I definitely don't want to reinvent the wheel. (If you've ever had a news server which had a NeXT client using NewsGrazer, you know how much nicer t/rn is on your CPU). 2: Is there something like this in the works? For obvious reasons. 3: How hard would this be? I have looked at the trn code some, but this is a one-term class, and I'd like to get the basics done in that time frame. I'd probably only make provisions for NNTP, and there would probably have to be several other limitations on the inital release, but of course I or other people could build on that. 4: Are there other reasons this should/n't be done? Would it be better to use say nn, or some other news client as a base for my code(I really dislike tin)? Are there any major changes in the works for trn, news, NNTP, or something that I should be aware of?(I might even build on strn, which I am extremely fond of). -- #### hubt@umich.edu -- Hubert Chen -- pgp key on request or via finger #### The afterlife is so boring! If I have to sing Cumbaya one more time I'll ... -- Heather Chandler in _Heathers_
Re: Object-oriented hooks for trn?
Author: Samual M Rushing
Date: Thu, 09 Sep 1993 02:24
Date: Thu, 09 Sep 1993 02:24
43 lines
2766 bytes
2766 bytes
>>>>> On 8 Sep 1993 03:32:11 GMT, hubt@css.itd.umich.edu (-- Spawn --) hubt> Would it be better to use say nn, or some other news hubt> client as a base for my code(I really dislike tin)? Are there hubt> any major changes in the works for trn, news, NNTP, or hubt> something that I should be aware of?(I might even build on hubt> strn, which I am extremely fond of). I am working on a news 'API', which should provide a simple and clean interface to news via NNTP, the file system (a local spool), or RPC, or whatever other access method you can dream up. It should not be hard to throw an OO wrapper around. In fact, such a thing would be nice 8^). It would also be nice to get some feedback from a potential user. I am most of the way done with the NNTP implementation, the local spool version should not take long (saving the easy parts for last). I may leave the RPC version (I am thinking of DCE RPC) for someone else... I can send you a copy of either the include file (which should be all the user will need to utilize the library) or the entire kit, but be forewarned I am still very much in the middle of the design process. I originally wanted to do a similar project, in C++, but in a mix of disgust at C++ and frustration at the end-products probable lack of portability, I moved to a semi-OO C API. My hope is that it's good enough and simple enough to encourage people who don't know much about network programming (or news even) but are good at user interfaces to throw together newsreaders or news-aware tools. I have also begun to implement a tcl interface. That should certainly make designing user interaces easy. Tcl & Tk are fun. -Sam -- Sam Rushing == Member, League for Programming Freedom. == rushing@titan.ksc.nasa.gov == Email for Info! == rushing@squirl.oau.org
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads