c database

This is a discussion on c database within the A Brief History of Cprogramming.com forums, part of the Community Boards category; The thread is now here.. Well, any more ideas? I mailed kooma a couple of times but he hasn't replied ...

  1. #1
    ggs
    ggs is offline
    C > C++ duders ggs's Avatar
    Join Date
    Aug 2001
    Posts
    435

    c database

    The thread is now here..

    Well, any more ideas?

    I mailed kooma a couple of times but he hasn't replied yet.

    ---

    have to get to 30... have to get to 30...
    .sect signature

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,267
    give up no 30 for you...

  3. #3
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    Kooma had said he was going to be gone for a couple days... What ideas did you send him?

  4. #4
    ggs
    ggs is offline
    C > C++ duders ggs's Avatar
    Join Date
    Aug 2001
    Posts
    435

    Post c database

    I was just passing back a few ideas about the internal database structure.

    kooma said he was thinking that people would submit the entries in HTML and then put the keywords inside of meta tags... which sounds pretty reasonable to me. But we were talking about different things, I think, by accident

    I was thinking we could either be really cheap and have the database look like this on the inside:

    keyword, keyword, keyword, etc..
    link
    %

    or we could do something like this (probably a second version after the first):

    <entry printf>
    <key>printf</key>
    <key>vprintf</key>
    <article>cdb/c/printf.html</article>
    <related>sprintf</related>
    <related>fprintf</related>
    </entry>

    which would be much harder but more flexible. Do we need this kind of flexibility? I think it would be nice, but maybe something for after running on the first type for a while.

    Another bit is that because everytime you make a cgi request the search program is run anew.. so it has to reload the database and search through each time.

    A possible way of making it faster would be to have a server program run all the time waiting for connections on a port from the search program, and this server would have the database in memory at all times.

    What do you think?
    .sect signature

  5. #5
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    Can't help with the search, but I agree about the flexibility issue. If the first way is easier, we should leave that up while we actually do work on the final version.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. literature database: help with planning
    By officedog in forum C++ Programming
    Replies: 1
    Last Post: 01-23-2009, 12:34 PM
  2. Creating a database
    By Shamino in forum Game Programming
    Replies: 19
    Last Post: 06-10-2007, 02:09 PM
  3. Replies: 10
    Last Post: 05-19-2006, 12:23 AM
  4. Developing database management software
    By jdm in forum C++ Programming
    Replies: 4
    Last Post: 06-15-2004, 05:06 PM
  5. Making a Simple Database System
    By Speedy5 in forum C++ Programming
    Replies: 1
    Last Post: 03-14-2003, 10:17 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21