From: Shaun M. <sh...@ae...> - 2007-01-04 11:53:35
|
On 3 Jan 2007, at 13:27, Matthew McNaney wrote: > Good morning. > > I am looking for feedback on how the core and modules should be > distributed. > > Initially, modules untarred to their own directory. For example, > blog_1_3_4.tgz would untar as the directory blog/. > I'd prefer that as then it's less likely I or someone else doesn't overwrite the root directory. Certainly from the phpws-comm project, most modules unpack to module-vn.n.n directories and are then moved in but you usually work in /mod not root That in itself confuses some people as they often don't rename the module-vn.n.n directory and end up with two modules of the same name installed from different directories. Maybe it's something we can look at enhancing with boost so the process is web based entirely? Use PEAR's Archive_Tar class? > As for the core, some people are untarring that distro into the core > directory when, in fact, it needs to be decompressed and copied > into the > root. > > How would you prefer this be done? How would you like the modules and > core to untar? When decompressed, what should the directories be > named? > Is "core" a misleading name for the base files of phpwebsite? Call it 'base' ??? Call just the core library 'core'. And for the record I've always disliked 'core' as a directory name since Apache generally thinks it's a core dump and my CVS tool ignores it by default. Even raised an RFE to change it way back. Shaun aegis design - http://www.aegisdesign.co.uk aegis hosting - http://www.aegishosting.co.uk |