Directory Structure

There are two aspects to DirectoryStructure: client-side (URI) and server-side (file-system, database, etc.).

This article by Tim Berners-Lee http://www.w3.org/Provider/Style/URI.html is a great start if you're trying to decide on a URI directory structure for your site (thanks to IanBicking and KendallClark for posting about it)!

-- TavisRudd - 16 Nov 2001

At 10:39 AM 10/27/2001 +0200, Georg Balmer wrote:
>I have 2 basic questions
>
>--[1]--------------------------------------------
>
>How do you layout the directory structure ?
[snip]
>or case B:
>
>someDirectory/Webware/WebKit/
>                   ...
>
>someOtherDirectory/appOne/pages/
>someOtherDirectory/appOne/lib/

Case B. Mingling your projects with Webware is a bad idea. It makes it harder to upgrade Webware and confuses people into thinking they have to modify Webware to make Webware apps.

One notable exception is when you bake your own plug-ins. Those can be convenient to drop into Webware/ because then they get picked up automatically. However, there are 2 settings related to this in WebKit/Configs/AppServer.config which allows you to put your plug-ins outside of Webware.

Just for clarification: If you are building a Webware site, you are probably NOT creating a plug-in.

---

I recommend using MakeAppWorkDir.py to create a working directory for your application separate from your Webware directory.

-- GeoffTalvola - 29 Oct 2001