> The cli clients got a bit mish mashed and SimpleClient was forgotten when we
> added the concept of documents and crypto.  Brandon was talking about fixing
> the that up ....

By the end of the weekend, a whole new CLI.

> > We need to move the code that pertains to constructing and reading the
> > encrypted metadata file out of the main function of the clients.  I think
> > the encryption algorithm and content type should be a parameters of insert.

Certainly.

> > I would like to establish a design principle that will make it easier to
> > write clients for Freenet: It should be possible to search for files, insert
> > files into, and request files out of Freenet with a single function call (or
> > as few calls as possible).

Yep.

> One other issue I see with the cli clients now is that we are using try
> catch exit too many times.  I think in most cases that should be handled by
> a single big try block.  The whole idea of try is to allow you to put all
> the error handling at the end.

Yep, the error handling is messy. In fact, everything's messy. I'm
reworking things in a pretty big way and it should be much nicer to use in
the future.



_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to