[Pmwiki-users] Call For Directory Simplicity

Greg Morgan Cybie
Thu Feb 12 21:32:28 CST 2004


I don't think there are too many directories... Probably not enough actually
Perhaps the scripts directory could be renamed to modules and then have two
subdirectories under it, core and local.
Then the local directory could be renamed config
/ - root.. Contains pmwiki.php, etc.
/modules/core - For any thing currently listed in Stdconfig.php or included
in PmWiki releases would go here.
/modules/local - For custom/cookbook extensions. Note: Should not contain
local.php or per-group/page customizations. 
/config
/config/local.php - usual config file
/wiki.d - no change
/wikilib.d - no change
/uploads - no change
/images - no change
(did I miss any)

One thing I was thinking of was maybe having subdirectories in config for
global config files (local.php) and per group/page config files.
/config/global/
/config/global/local.php (or config.php.. Whatever)
/config/<<groupname>>/
/config/<<groupname>>/local.php (or config.php.. Whatever)
/config/<<groupname>>/<<pagename>>/local.php (or config.php.. Whatever)

Just a thought...  Steven, I know this isn't quite what you were thinking
of, because there's more directories not less, but I think it's easier to
maintain because it's split.


________________________________

	From: Pmwiki-users-bounces at pmichaud.com
[mailto:Pmwiki-users-bounces at pmichaud.com] On Behalf Of Steven Leite
	Sent: Thursday, February 12, 2004 7:42 AM
	To: pmwiki-users at pmichaud.com
	Subject: [Pmwiki-users] Call For Directory Simplicity
	
	
	Hope I'm not being nit-picky, but I figured, hey, since we're on a
roll and quickly approaching 1.0 release, might as well through the topic
out for discussion :)
	 
	-----
	 
	I dont' like the directory name "local" - I would prefer "config".
It's more intuitive to new admins.  
	 
	-----
	 
	I don't want to see any more new folders added - I think there are
too many already.
	 
	-----
	 
	Can PmWiki.php stand on it's own (if I deleted the scripts
directory, would it still work?).  If not, then I think the core files
should be in the same directory (root directory?) as PmWiki.php.
	 
	I think any optional files not being used by default should go in
the scripts directory.  This makes it more clear what is used/needed, and
what can be ignored.  It also makes it clear what's not being used, but what
could be used if the user wants to use it (uploads.php for example).
	 
	-----
	 
	I also don't care for the directory name "scripts" much.  Something
like "addons", or "extras" might be more intuitive. 
	 
	-----
	 
	Steven 





More information about the pmwiki-users mailing list