Re: tmpl Vs DB

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 24309
interpreted = N
texte = My preference, not knowing how all of the other things are put together, would be to keep data in the database, and code in the pages; ie, keep the data normalized and as simple as possible.The work being performed by WebCat, such as doing the lookups to complete the page code, is pretty efficient compared to holding so much of this stuff in memory.Good luck,Larry>Hi there, > >I have a a question for you guys, > >What of te folowing two solutions, do you think is faster? > >1.- to have into the foto field of the db something like: > admin_X/thumbs/[convertchars >db=fixword.db][brand][/convertchars]/foto1.jpg > admin_Y/thumbs/[convertchars >db=fixword.db][brand][/convertchars]/foto2.jpg > admin_Z/thumbs/[convertchars >db=fixword.db][brand][/convertchars]/foto3.jpg > >and in the tmpl fie > > > > >2.- or to have in the db file something like: > foto1.jpg > foto2.jpg > foto3.jpg > >and in the tmpl file > >db=vendors.db&value=[vendor]&lookInField=vendor&returnField=Folder]/thumbs/ >[convertchars db=fixword.db][brand][/convertchars]/[foto] border=0> > >This Db will grow to 100,000 records in the next year. >Thanks in advance for your advice. > >Rodolfo de la Garza > > >------------------------------------------------------------- >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. >To end your Mail problems go to . > >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 > ======================================================================== Hewitt Consulting... Business Internet Solutions ======================================================================== www.hewittco.com Larry Hewitt larryh@hewittco.com Hewitt Consulting voice: 360.740.1090 Managing Partner cell: 360.269.2287 fax: 360.740.0998 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Associated Messages, from the most recent to the oldest:

    
  1. Re: tmpl Vs DB (larryh 1999)
  2. tmpl Vs DB (Rodolfo de la Garza 1999)
My preference, not knowing how all of the other things are put together, would be to keep data in the database, and code in the pages; ie, keep the data normalized and as simple as possible.The work being performed by WebCat, such as doing the lookups to complete the page code, is pretty efficient compared to holding so much of this stuff in memory.Good luck,Larry>Hi there, > >I have a a question for you guys, > >What of te folowing two solutions, do you think is faster? > >1.- to have into the foto field of the db something like: > admin_X/thumbs/[convertchars >db=fixword.db][brand][/convertchars]/foto1.jpg > admin_Y/thumbs/[convertchars >db=fixword.db][brand][/convertchars]/foto2.jpg > admin_Z/thumbs/[convertchars >db=fixword.db][brand][/convertchars]/foto3.jpg > >and in the tmpl fie > > > > >2.- or to have in the db file something like: > foto1.jpg > foto2.jpg > foto3.jpg > >and in the tmpl file > >db=vendors.db&value=[vendor]&lookInField=vendor&returnField=Folder]/thumbs/ >[convertchars db=fixword.db][brand][/convertchars]/[foto] border=0> > >This Db will grow to 100,000 records in the next year. >Thanks in advance for your advice. > >Rodolfo de la Garza > > >------------------------------------------------------------- >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. >To end your Mail problems go to . > >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 > ======================================================================== Hewitt Consulting... Business Internet Solutions ======================================================================== www.hewittco.com Larry Hewitt larryh@hewittco.com Hewitt Consulting voice: 360.740.1090 Managing Partner cell: 360.269.2287 fax: 360.740.0998 ------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 larryh

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:

[WebDNA] Send Mail and SMTP Host (2015) [WebDNA] Useful (to me) [function]s (2013) Thanks Grant (1997) WebCat2b12 CGI Mac - [shownext] problem (1997) Help name our technology! I found it (1997) Robots fill event log (1997) WebCat and image maps (1997) Newbie problem blah blah blah (1997) [WebDNA] [array] tag (2008) Frames and WebCat (1997) drop down menu (2000) WebCat NT v. Mac (1997) Bug or syntax error on my part? (1997) Date/Time format problems (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997) [WebDNA] [BULK] search tag just not working (2012) Using WebCat for product info requests (1997) Testing (2003) syntax question, not in online refernce (1997) 2.1b3 --> way slow (1997)