Advice for Directory Structure

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David Freeman

    Advice for Directory Structure

    Hi All!

    I'm developing a website for a software company. They want to publish news,
    tip/tricks and other articles on company's news section.

    I would like to get advice on
    - how to name the individual article files? (There will be 1000s of them)
    - how to let the user query it? (i.e. news/index.asp?artic leID=234544 or
    what?)

    I preffered a standard way to do all this. Pointer to any sample or tutorial
    on this will be much appericated!!

    David


  • Manohar Kamath [MVP]

    #2
    Re: Advice for Directory Structure

    David,

    I am not a big fan of file system... not very portable. Could you store the
    articles in database, preferably in XML format (or simply in attributed
    manner -- separate date, headline, etc.)? This way, you can change the looks
    of the article without resorting to reformating the text/html.

    From a virtual directory point of view, I think what you are doing seems to
    be just fine.

    --
    Manohar Kamath
    Editor, .netWire



    "David Freeman" <noemail@nospam .com> wrote in message
    news:uNA5LQzFEH A.1228@TK2MSFTN GP11.phx.gbl...[color=blue]
    > Hi All!
    >
    > I'm developing a website for a software company. They want to publish[/color]
    news,[color=blue]
    > tip/tricks and other articles on company's news section.
    >
    > I would like to get advice on
    > - how to name the individual article files? (There will be 1000s of them)
    > - how to let the user query it? (i.e. news/index.asp?artic leID=234544 or
    > what?)
    >
    > I preffered a standard way to do all this. Pointer to any sample or[/color]
    tutorial[color=blue]
    > on this will be much appericated!!
    >
    > David
    >
    >[/color]


    Comment

    • Roland Hall

      #3
      Re: Advice for Directory Structure

      "David Freeman" wrote in message
      news:uNA5LQzFEH A.1228@TK2MSFTN GP11.phx.gbl...
      : I'm developing a website for a software company. They want to publish
      news,
      : tip/tricks and other articles on company's news section.
      :
      : I would like to get advice on
      : - how to name the individual article files? (There will be 1000s of them)
      : - how to let the user query it? (i.e. news/index.asp?artic leID=234544 or
      : what?)
      :
      : I preffered a standard way to do all this. Pointer to any sample or
      tutorial
      : on this will be much appericated!!

      Hi David...

      You could use a database and a FSO to accomplish your goals. Use the
      database to store specific information related to the files and text content
      and files to store images with CSS templates used to format the data.

      I'm sure there are numerous ways to accomplish what you want. IMHO,
      assigning categories, as you would with a chart of accounts would be one
      example for naming where characters in a filename represent a category.

      Chart:
      Category/Length:
      Type: 1
      SubType: 1
      Article Number: 5

      Types:
      News: 1
      Tip: 2
      Other: 3

      SubType:
      Database: 1
      Applications: 2
      Support: 3

      an ID of: 2101023 would be Article 1023 in the database tip area.

      Your mileage will vary with your specific needs.

      What I would not do is waste time using a category for data [current,
      recent, archived] because you could just use a date column in your table and
      use ranges when you query.

      Current: 0-30 days
      Recent: 31-90 days
      Archived: 91+ days

      If you use files to store your content then you can just test with
      DateCreated, DateLastModifie d.

      Aaron's site [aspfaq.com] appears to have what you're looking for. You
      might want to see if he will provide you with some pointers to get you
      going.

      HTH...

      --
      Roland Hall
      /* This information is distributed in the hope that it will be useful, but
      without any warranty; without even the implied warranty of merchantability
      or fitness for a particular purpose. */
      Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
      WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
      MSDN Library - http://msdn.microsoft.com/library/default.asp


      Comment

      • David Freeman

        #4
        Re: Advice for Directory Structure

        Hi All!

        Thanks for all the input. I'm also looking around aspfaq.com for more
        pointers.

        Cheers
        David

        "David Freeman" <noemail@nospam .com> wrote in message
        news:uNA5LQzFEH A.1228@TK2MSFTN GP11.phx.gbl...[color=blue]
        > Hi All!
        >
        > I'm developing a website for a software company. They want to publish[/color]
        news,[color=blue]
        > tip/tricks and other articles on company's news section.
        >
        > I would like to get advice on
        > - how to name the individual article files? (There will be 1000s of them)
        > - how to let the user query it? (i.e. news/index.asp?artic leID=234544 or
        > what?)
        >
        > I preffered a standard way to do all this. Pointer to any sample or[/color]
        tutorial[color=blue]
        > on this will be much appericated!!
        >
        > David
        >
        >[/color]


        Comment

        Working...