From owner-freebsd-binup Sun Oct 28 1: 4:12 2001 Delivered-To: freebsd-binup@freebsd.org Received: from r220-1.rz.RWTH-Aachen.DE (r220-1.rz.RWTH-Aachen.DE [134.130.3.31]) by hub.freebsd.org (Postfix) with ESMTP id B003D37B401; Sun, 28 Oct 2001 01:04:05 -0800 (PST) Received: from r220-1.rz.RWTH-Aachen.DE (relay2.RWTH-Aachen.DE [134.130.3.1]) by r220-1.rz.RWTH-Aachen.DE (8.10.1/8.11.3-2) with ESMTP id f9S942j03587; Sun, 28 Oct 2001 10:04:02 +0100 (MET) Received: from kawoserv.kawo2.rwth-aachen.de (root@kawoserv.kawo2.RWTH-Aachen.DE [134.130.180.1]) by r220-1.rz.RWTH-Aachen.DE (8.10.1/8.11.3/6) with ESMTP id f9S941o03583; Sun, 28 Oct 2001 10:04:02 +0100 (MET) Received: from fump.kawo2.rwth-aachen.de (root@fump.kawo2.rwth-aachen.de [134.130.181.148]) by kawoserv.kawo2.rwth-aachen.de (8.9.3/8.9.3) with ESMTP id KAA32557; Sun, 28 Oct 2001 10:04:03 +0100 Received: (from alex@localhost) by fump.kawo2.rwth-aachen.de (8.11.3/8.11.3) id f9S953J40326; Sun, 28 Oct 2001 10:05:04 +0100 (CET) (envelope-from alex) Date: Sun, 28 Oct 2001 10:04:59 +0100 From: Alexander Langer To: Josef Karthauser Cc: The Anarcat , "Simon L. Nielsen" , Eric Melville , binup@FreeBSD.org, libh@FreeBSD.org Subject: Re: current project steps Message-ID: <20011028100459.A40262@fump.kawo2.rwth-aachen.de> References: <20011020202153.A76835@FreeBSD.org> <20011026135930.03D1637B406@hub.freebsd.org> <20011026165952.D11804@shall.anarcat.dyndns.org> <20011026221254.A36515@tao.org.uk> <20011026172027.F11804@shall.anarcat.dyndns.org> <20011026223033.A44573@tao.org.uk> <20011027131726.A68253@shall.anarcat.dyndns.org> <20011027210157.D1534@tao.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011027210157.D1534@tao.org.uk>; from joe@tao.org.uk on Sat, Oct 27, 2001 at 09:01:57PM +0100 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-binup@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Josef Karthauser (joe@tao.org.uk): Hi! > It sounds to me that libh has its fingers in too many pies. It's not a > clean API; What is your definition of a clean API? > and should be split into several, or rely on others. Each library can be interfaced on its own. - file access (including FTP/HTTP fetch, MD5 and ZIP interface) - database stuff - UI layer - package library - disk (interface to libdisk etc) there are some dependencies, though: e.g. the package library needs the database lib, for obvious reasons. Btw: The abstraction of the place to store the package db information (you mentioned, e.g. Oracle instead of a local directory) should be trivial, since everything is handled via calls to functions of the database lib. Even more, you are using a Database object (C++), so it's very easy to just write a SQL interfacing Database object. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-binup" in the body of the message