On Thursday 12 December 2002 12:50 am, Rick Moen wrote:

> So, the ideal solution would be simple to configure, simple to admin,
> and simple to import & lightly format ASCII into.  Even the ubiquitous
> database back-ends are a bit much.  Just PHP headers/footers and
> auto-generated index contents in flat files would be fine.

so the feature list would be something like:
1.  only one login.   or at least, only one login class/group.  anyone who
     can login can do anything any other login can do (no complex
     permissions logic).

2.   site has "categories".  categories may or may not have sub-categories.
      on the site, categories are just subdirectories.  so there's no complex
      mapping of "categories" to database entries.

3.   if files are just ascii files on the filesystem, we can use htdig for the
     search engine.

4.1   to add files to the site, you'd have a php script that you can use to
     upload files.  part of the script allows you to view directories, click
     on folders to go there.  the rest of the script allows you to upload
     files.  if you want to refer to someone else's files (out on the web
     somehow), then you might have a specially formatted ascii file
     that is just a redirect to the original file.  

4.2.  adding categories may or may not be a subset of adding files.
     e.g., in the adding files screen you have three radio buttons, add
     ascii file (uploads a file), add external file (creates redirect to
     external ascii document, add category under here (creates a
     directory under the current directory you traversed to).

5.  to delete files from the site, you use the directory traversal stuff
    from #4 to find the file, then select it in a list, and click on a delete
    button to delete.

6.  to update a file, just add the file again as in #4.  the script will
    warn and ask for confirmation if you want to overwrite.

if there's that much information on the site, you might want to consider
using some higher level document format that can be translated on
the fly into ascii, html, doc, pdf.  of course that's just a nice-to-have
thing that you could add later.

tiger

-- 
Gerald Timothy Quimpo  tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph
Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78"
                   Veritas liberabit vos.
                   Doveryai no proveryai.
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to