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

Jan Schneider jan at horde.org
Fri Sep 26 15:25:15 PDT 2003


Zitat von Chuck Hagenbuch <chuck at horde.org>:

> 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

Why problem.php? It's never accessed directly.

> 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/).

While scripts is not accessible through the webserver.

> 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.

I agree with Marko, services is the best of these choices.

> These are the files that I'd like to move:
>
> shares/edit.php
> css.php
> deletelink.php
> guest.php (? maybe not)

No.

> help.php
> javascript.php
> maintanance.php
> menu.php
> mobile.php

Not sure, how is that accessed at the moment actually?

> navbar.php
> portal.php
> portal_edit.php
> prefs.php

Should stay there for consistency

> rpcsum.php

Might go away, I'm looking into that currently anyway.

> 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.

No opinion on the directories.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list