Re: SHOWIF/HIDEIF empty fields

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 61918
interpreted = N
texte = I'm in Ken's camp. On my very first site I used the convention of prefixing input form names because that's what people said to do on the list, and I didn't know squat. Now, 7 years later, I still curse when I dig into one of those pages and have to see what the hell is happening on the form input page, etc. (now I also keep most stuff on one page via includes and showifs). I now use the actual fieldnames and have no trouble at all. I will set a [thisfieldname] when I need to deal with a db fieldname vs. an incoming variable fieldname, and it's very controllable and understandable, no surprises. I dislike using getchars to wrench something back into shape; just more code to paw through. I think anyone who would have to look at my code later would find it clean and straightforward. I also reuse code to a great extent, and having the same fieldnames from site to site is an enormous timesaver. When making a new site, I can plop in a shared include from my globals folder, and lookie there, it just works! Most of my DBs share these fieldnames:, cat, lib, sec, SKU, title, desc, key, rank, vis, price, datein, dateout, imagefile, imageheight, imagewidth and so forth. Not that they're always used, or used for the apparent data, but it leaves my databases highly flexible. Just my .02 to defend Ken; he gets razzed so much here. Terry >Ahh, your probably one of those that cause me great frustration when I have >to edit someone elses code and there is a bunch of alike named varialbes... >not to mention the use of reserved variable names (but thats another >story) ;-) -- -- Terry Wilson | terry@terryfic.com | http://terryfic.com creator of: http://WhosComing.com - a simplified, affordable online reservation system http://WhosBringingWhat.com - online potluck signup sheet -------------------------------------------------------------------------- ------------------------------------------------------------- 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: SHOWIF/HIDEIF empty fields ( Terry Wilson 2005)
  2. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  3. Re: SHOWIF/HIDEIF empty fields ( Donovan Brooke 2005)
  4. Re: SHOWIF/HIDEIF empty fields ( Lester 2005)
  5. Re: SHOWIF/HIDEIF empty fields ( Donovan Brooke 2005)
  6. Re: SHOWIF/HIDEIF empty fields ( Frank Nordberg 2005)
  7. Re: SHOWIF/HIDEIF empty fields ( Stuart Tremain 2005)
  8. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  9. Re: SHOWIF/HIDEIF empty fields ( Bob Minor 2005)
  10. Re: SHOWIF/HIDEIF empty fields ( "WebDna @ Inkblot Media" 2005)
  11. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  12. Re: SHOWIF/HIDEIF empty fields ( Donovan Brooke 2005)
  13. Re: SHOWIF/HIDEIF empty fields -- OOPS ( Gary Krockover 2005)
  14. Re: SHOWIF/HIDEIF empty fields ( Gary Krockover 2005)
  15. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  16. Re: SHOWIF/HIDEIF empty fields ( Stuart Tremain 2005)
  17. Re: SHOWIF/HIDEIF empty fields ( Gary Krockover 2005)
  18. Re: SHOWIF/HIDEIF empty fields ( Stuart Tremain 2005)
  19. Re: SHOWIF/HIDEIF empty fields ( Gary Krockover 2005)
  20. Re: SHOWIF/HIDEIF empty fields ( Stuart Tremain 2005)
  21. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  22. Re: SHOWIF/HIDEIF empty fields ( Donovan Brooke 2005)
  23. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  24. Re: SHOWIF/HIDEIF empty fields ( Frank Nordberg 2005)
  25. Re: SHOWIF/HIDEIF empty fields ( Kenneth Grome 2005)
  26. SHOWIF/HIDEIF empty fields ( Frank Nordberg 2005)
I'm in Ken's camp. On my very first site I used the convention of prefixing input form names because that's what people said to do on the list, and I didn't know squat. Now, 7 years later, I still curse when I dig into one of those pages and have to see what the hell is happening on the form input page, etc. (now I also keep most stuff on one page via includes and showifs). I now use the actual fieldnames and have no trouble at all. I will set a [thisfieldname] when I need to deal with a db fieldname vs. an incoming variable fieldname, and it's very controllable and understandable, no surprises. I dislike using getchars to wrench something back into shape; just more code to paw through. I think anyone who would have to look at my code later would find it clean and straightforward. I also reuse code to a great extent, and having the same fieldnames from site to site is an enormous timesaver. When making a new site, I can plop in a shared include from my globals folder, and lookie there, it just works! Most of my DBs share these fieldnames:, cat, lib, sec, SKU, title, desc, key, rank, vis, price, datein, dateout, imagefile, imageheight, imagewidth and so forth. Not that they're always used, or used for the apparent data, but it leaves my databases highly flexible. Just my .02 to defend Ken; he gets razzed so much here. Terry >Ahh, your probably one of those that cause me great frustration when I have >to edit someone elses code and there is a bunch of alike named varialbes... >not to mention the use of reserved variable names (but thats another >story) ;-) -- -- Terry Wilson | terry@terryfic.com | http://terryfic.com creator of: http://WhosComing.com - a simplified, affordable online reservation system http://WhosBringingWhat.com - online potluck signup sheet -------------------------------------------------------------------------- ------------------------------------------------------------- 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/ Terry Wilson

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:

SiteGaurd file Cache vs webcatalog cache (1997) Almost a there but..bye bye NetCloak (1997) carriage returns in data (1997) [WebDNA] W3C Valid XHTML/CSS WebDNA Store templates (2009) Read and weep (2003) Image Pirating [protecting against] (2003) Fulfillment e-mail? (1998) sorting question... (2001) Problem with CC problem ? (1997) [foundItems] context problem (2000) [append] (1997) Email Format (1998) Fedora Core 2 (2005) webcat, osx, and includes (2001) [writefile] (1997) Where's Cart Created ? (1997) Sort Order on a page search (1997) A little syntax help (1997) Not really WebCat (1997) wierd [cart] action! (1997)