PLEASE help with ideas

Ask a Question related to Macromedia ColdFusion, Design and Development.

  1. #1

    Default PLEASE help with ideas

    Okay the situation is as follows...

    I would like to create a web site, almost like a site for friends to make
    accounts and gather and so forth. I was going to do everything in coldfusion
    for the fun of it and to learn it more. I would like to allow users to send
    each other messages. There will be a seciton of the site where they have an
    inbox, outbox, and trash can and they are free to message other users on the
    site and store their messages for lets say 20 days before they must be deleted.

    Using coldfusion what is the best way to create such a function on the site?
    Of course the idea I have is to create an email table which has fields for data
    such as the sender, receiver, date/time, the message itself, and so forth. Then
    when a user clicks their inbox to view any messages, that page would search the
    email table in the database for any messages where the receiver tag is equal to
    their unique user name. Then it would display every message meant for that user
    to receive. The issue I have with this is that the page must search thru
    possibly millions of emails if the site grew. How much lag would this create?
    Or deadlocks on the server from timing out searching? Is there a better way to
    do this function without using this particular method of accomplishing it?

    mikethecoder Guest

  2. Similar Questions and Discussions

    1. Any ideas?
      Hi Does anybody know how the animation on the following website was done? I know that masking and a certain amount of tweening was used, but...
    2. Need ideas !!!!!!!!!!!!!!!!!111
      I have an app in asp.net. My requirement is that we have a database, and whenever this database is updated, I want my client's webpage also to be...
    3. X ideas
      Hello Looking to run X windows on a debian 3.0 for a older machine with a 4 meg video. Its for a server so i want a smallest x server to take up...
    4. Any ideas on this?
      How would i go about creating this? I have a table, within each cell there is an image spacer set to 20 x 20 px the same dimensions of the...
    5. Any ideas
      IDS 9.21 FC4 on HP-UX. Application: Lawson I've never seen this before. The application is inserting some rows into table dsinvlines, according...
  3. #2

    Default Re: PLEASE help with ideas

    >>The issue I have with this is that the page must search thru
    possibly millions of emails if the site grew.


    Why? Each user should have a foriegn key table listing all messages to them.
    If the tables are properly indexed this should not be an issue.
    >The issue I have with this is that the page must search thru
    > possibly millions of emails if the site grew
    Thats the whole point of the database, to manage large amounts of data. As
    long as you use an optimal table design, there shouldn't be too much to
    worry about.

    Please elaborate if you feel my response assumes too much or helps too
    little? But I dont really see a problem here.
    >>Is there a better way to
    > do this function without using this particular method of accomplishing it?
    "mikethecoder" <webforumsuser@macromedia.com> wrote in message
    news:d3aa6v$in3$1@forums.macromedia.com...
    > Okay the situation is as follows...
    >
    > I would like to create a web site, almost like a site for friends to make
    > accounts and gather and so forth. I was going to do everything in
    > coldfusion
    > for the fun of it and to learn it more. I would like to allow users to
    > send
    > each other messages. There will be a seciton of the site where they have
    > an
    > inbox, outbox, and trash can and they are free to message other users on
    > the
    > site and store their messages for lets say 20 days before they must be
    > deleted.
    >
    > Using coldfusion what is the best way to create such a function on the
    > site?
    > Of course the idea I have is to create an email table which has fields for
    > data
    > such as the sender, receiver, date/time, the message itself, and so forth.
    > Then
    > when a user clicks their inbox to view any messages, that page would
    > search the
    > email table in the database for any messages where the receiver tag is
    > equal to
    > their unique user name. Then it would display every message meant for that
    > user
    > to receive. The issue I have with this is that the page must search thru
    > possibly millions of emails if the site grew. How much lag would this
    > create?
    > Or deadlocks on the server from timing out searching? Is there a better
    > way to
    > do this function without using this particular method of accomplishing it?
    >

    ronnie Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139