Re: multiple db's

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47449
interpreted = N
texte = Just to throw my 2¢ in, I *always* try to use the exact same name for the fields if two or more sites are alike in their content. I also use the exact same name for the databases. This makes recycling code so much easier. Doing this, I've never personally had a problem of mixing up databases or projects, even when working on multiple projects of similar design at the same time. I don't see how you could get them mixed up? Someone posted an example yesterday, I'll have to go back and check my email....GK > >As I was placing another site on a server this morning a question > >came to mind. > > > >I never use the same name for 2 db's no matter where they are stored. > >(same directory or /globals directory) > >BUT > >I sometimes use the exact same names for some of the fields in these > >different databases. > > > >This wouldn't cause any problems somewhere down the line would it?? > > Not a problem in the software, but it can create problems in webdna > coding of certain features, which is why I never use the same field > name twice in any web site. > > I do what Brian does: I always name database fields with a > three-letter prefix indicating the database the field is from - for > example, proName for a products db and memName for a members db. > > > Sincerely, > Kenneth Grome > > --------------------------------------------------- > WebDNA Professional Training and Development Center > 175 J. Llorente Street +63 (32) 255-6921 > Cebu City, Cebu 6000 kengrome@webdna.net > Philippines http://www.webdna.net \ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: multiple db's (Gary Krockover 2003)
  2. Re: multiple db's (Kenneth Grome 2003)
  3. Re: multiple db's (Lester Emo 2003)
  4. Re: multiple db's (Alex McCombie 2003)
  5. Re: multiple db's (Brian Fries 2003)
  6. Re: multiple db's (Alex McCombie 2003)
  7. Re: multiple db's (Donovan 2003)
  8. multiple db's (Lester Emo 2003)
Just to throw my 2¢ in, I *always* try to use the exact same name for the fields if two or more sites are alike in their content. I also use the exact same name for the databases. This makes recycling code so much easier. Doing this, I've never personally had a problem of mixing up databases or projects, even when working on multiple projects of similar design at the same time. I don't see how you could get them mixed up? Someone posted an example yesterday, I'll have to go back and check my email....GK > >As I was placing another site on a server this morning a question > >came to mind. > > > >I never use the same name for 2 db's no matter where they are stored. > >(same directory or /globals directory) > >BUT > >I sometimes use the exact same names for some of the fields in these > >different databases. > > > >This wouldn't cause any problems somewhere down the line would it?? > > Not a problem in the software, but it can create problems in webdna > coding of certain features, which is why I never use the same field > name twice in any web site. > > I do what Brian does: I always name database fields with a > three-letter prefix indicating the database the field is from - for > example, proName for a products db and memName for a members db. > > > Sincerely, > Kenneth Grome > > --------------------------------------------------- > WebDNA Professional Training and Development Center > 175 J. Llorente Street +63 (32) 255-6921 > Cebu City, Cebu 6000 kengrome@webdna.net > Philippines http://www.webdna.net \ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Gary Krockover

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

RE: Symantec VIsual Page 1.0.3 (1997) Couple of questions (1999) WebCat2b15MacPlugin - [protect] (1997) Automatic Forwarding using WebCat (1997) Running 2 two WebCatalog.acgi's (1996) Basics of tcpconnect (2006) Multiple cart additions (1997) [WebDNA] Triggers Failing (2008) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) Updating a database once per day - An example (1998) WC2b15 File Corruption (1997) For those of you not on the WebCatalog Beta... (1997) textarea data entry and display (2000) Location of Browser Info.txt file (1997) Emailer (1997) [OT] Networking 3 printers wirelessly (2005) Two submit buttons ? (1997) problems with 2 tags shakur (1997) PIXO (1997) 2.0Beta Command Ref (can't find this instruction) (1997)