Re: Feature req.
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 41704
interpreted = N
texte = Well, you could have a single database of date conversions in globals, anduse it everywhere you did a conversionEx 13 three third Wed WednesdayThen you could convert [date %d] to three or third or Wed depending on yourmoodYou can't really use format here, if for example you got a db from an(unamed stupid source) with 'March 3,5,9' as a 'date' (and sometimes wecan't control how the data comes to us.)You could get real fancy and put things like 'offset' currently used in thedayplanner in there too.Ex 2I want to convert hex colors to 'friendly' names to display to the user. Butwrite the hex to the db. Currently I use a database like>From toRed FF0000FF0000 RedIt would cut the size of the db in half and I think make it easier if Icould name those fields 'friendly' and 'hex' (or whatever the programmerchoses)ex3 is that I have a real estate DB with like 10 separate conversiondatabases that could probably be combined into one. Just making it simplerto remember in eight months which db does what. (particularly when you oftenhave two doing virtually the same thing.ex4 is that sometimes you want to convert more than one thingCity county stateSeattle King WASo now you could convert seattle to 'king', but you'd have to either make anew DB or double the data to convert seattle to waYou can't really use search for this, because if you had a list ofseattle,tacoma,yakimaYou'd have to do a listwords, then a lookup to get a list of countiesLike: king,pierce,yakimaOn 7/18/02 9:01 AM, John Peacock mashed the following keys :> Aaron Lynch wrote:>> What if you could:>> [convertwords words=[words]&db=some.db&from=fromfield&to=tofield] ?>> > > Could you show us an example of how you visualize this working; I have no idea> what you are suggesting (but that may be me)? I don't know what problem you> are > trying to solve.> > FWIW, having more DB's open is not (in general) a bad thing; if you have more> databases but no duplicated data, this is called normalized databases. This> is > a Good Thing (TM).> > John-------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Well, you could have a single database of date conversions in globals, anduse it everywhere you did a conversionEx 13 three third Wed WednesdayThen you could convert [date %d] to three or third or Wed depending on yourmoodYou can't really use format here, if for example you got a db from an(unamed stupid source) with 'March 3,5,9' as a 'date' (and sometimes wecan't control how the data comes to us.)You could get real fancy and put things like 'offset' currently used in thedayplanner in there too.Ex 2I want to convert hex colors to 'friendly' names to display to the user. Butwrite the hex to the db. Currently I use a database like>From toRed FF0000FF0000 RedIt would cut the size of the db in half and I think make it easier if Icould name those fields 'friendly' and 'hex' (or whatever the programmerchoses)ex3 is that I have a real estate DB with like 10 separate conversiondatabases that could probably be combined into one. Just making it simplerto remember in eight months which db does what. (particularly when you oftenhave two doing virtually the same thing.ex4 is that sometimes you want to convert more than one thingCity county stateSeattle King WASo now you could convert seattle to 'king', but you'd have to either make anew DB or double the data to convert seattle to waYou can't really use search for this, because if you had a list ofseattle,tacoma,yakimaYou'd have to do a listwords, then a lookup to get a list of countiesLike: king,pierce,yakimaOn 7/18/02 9:01 AM, John Peacock mashed the following keys :> Aaron Lynch wrote:>> What if you could:>> [convertwords words=[words]&db=some.db&from=fromfield&to=tofield] ?>> > > Could you show us an example of how you visualize this working; I have no idea> what you are suggesting (but that may be me)? I don't know what problem you> are > trying to solve.> > FWIW, having more DB's open is not (in general) a bad thing; if you have more> databases but no duplicated data, this is called normalized databases. This> is > a Good Thing (TM).> > John-------------------------------------------------------------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://search.smithmicro.com/
Aaron Lynch
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:
Kaaaaahhhhhhhnnnnnnn! (1997)
SiteEdit NewFile.html ? (1997)
Interfacing WebMerchant to www.fedex.com (1997)
EIMS & emailer conflicts? (1999)
Which is Faster (1998)
Email Formatting and Encryption (1998)
Note added to [sendmail] in Docs (2004)
Uploading files with 3.0/4.0 (2000)
Multiple Merchant Accounts? (1997)
Plugin or CGI or both (1997)
same bill to and ship to? (1998)
forms and variables (1998)
NewCart+Search with one click ? (1997)
no template caching (1997)
Getting total number of items ordered (1997)
[tcp connect]-dumb question? (1998)
Date Sorting (1997)
[WebDNA] SMTP via gmail is NOT POSSIBLE (2013)
Problem: 3.0 doesn't update carts (1997)
Webcat data and graphing (2000)