On Mon, 17 Nov 2003 19:02:40 +0000 Meir Kriheli <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > After giving some thought to the issue (and looking at the prev -stats > > implementation details), here's the proposed design for the new > -stats. > > I'd love commoents, new ideas or what's else on your mind, so it can > be taken into account upon implementation. > > 1. xml-rpc for communications > > Seperation of communication mechanism from data. This will prevent the > need to track different protocols as the server/client evolve (we can > add more fields to struct, unaware clients can ignore them). It's > standarts based (XML over HTTP), and save the need for implementing > the protocol itself (or tracking/handling/parsing GET/POST params for > with the client for example). Interesting. I never thought about doing the transaction with xml-rpc, although i must admit it's a pretty good idea. > 2. client side. Rewrite with python (now in perl) > > Will allow us to tap into portage API if/when needed. > > Python already installed on all gentoo systems, and includes all the > needed modules (including xml-rpc). Current perl client depends on > additional perl modules (e.g: MIME-Base64, URl, HTML-Tagset > and more). Good boy ;) > 3. Server side > > Rewrite with PHP. PHP's PEAR has a good xml-rpc implementation. > > Redesign and normalize the db, use prefix for tables (will ease > deployment in case of a need to share db fex). Accomodate additional > features (searchable package files list?). > > Check possiblity of interaction with the new packages.gentoo.org > system(fex: getting the current package list) ? > > Utilize smarty for web interface (seperate code from display). As said in a previous mail, if you need some helping hands, i'd like to help. I'm a total stats addict and willing to get this page up again asap. ;) I'm familiar with python for some month now and with PHP and smarty since some years, so i could help out on any side. -- Markus -- Markus Nigbur Gentoo Developer http://www.gentoo.org
pgp00000.pgp
Description: PGP signature
