[dev] Proposed reorg of some scripts in the horde/ module

Chuck Hagenbuch chuck at horde.org
Fri Sep 26 13:23:16 PDT 2003


The top level of PHP scripts in the horde/ module is getting a little bit
crowded, and util/ is getting beyond a set of random utilities to contain core
functionality like go.php, pixel.php, etc.

So, I'd like to propose reorganizing things a bit, and probably creating a few
new directories similar to admin/ for groups of functionality.

The following scripts would stay in the top level:

index.php
login.php
problem.php
rpc.php
test.php

util/ would still contain:
barcode.php
css2horde.php

... though I'm open to those going elsewhere and util/ going away entirely (we
do have scripts/).

Everything else I'd like to put into a new directory or directories. I'm not
coming up with something I'm entirely happy with just yet; possibilities are
user/, services/, core/, fw/, framework/, etc. I'm happy to have a subtree
under just one directory; core/shares, core/user, etc. I'd really appreciate
feedback on this and ideas.

These are the files that I'd like to move:

shares/edit.php
css.php
deletelink.php
guest.php (? maybe not)
help.php
javascript.php
maintanance.php
menu.php
mobile.php
navbar.php
portal.php
portal_edit.php
prefs.php
rpcsum.php
signup.php (? maybe not)

and from util/:
cacheview.php
colorpicker.php
go.php
img.php
pixel.php
sidebar.php
special_characters.php (maybe rename to keyboard.php or some such)
editor/*

Possible move the download/ directory into the new hierarchy also.


I know this probably seems a bit drastic, but I think we really need to get a
good organization in place as the number of scripts we provide as core Horde
services increases.

Feedback welcome, nay, required. :)

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
Born right the first time.


More information about the dev mailing list