Re: Feature req.
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 41712
interpreted = N
texte = Aaron Lynch wrote:> Ex 2> > I want to convert hex colors to 'friendly' names to display to the user. But> write the hex to the db. Currently I use a database like> > From to> Red FF0000> FF0000 Red> > It would cut the size of the db in half and I think make it easier if I> could name those fields 'friendly' and 'hex' (or whatever the programmer> choses)OK, the light comes on. You want to be able to specify the source and destination field names for [convertwords] so you could have a single conversion database with multiple columns depending on the exact need at the time. I can see that as a good extensions too. This is typically solved in Perl by a hash of arrays where the key (from) field determines which set of answers you are interested in, then you use the offset into the array to chose the exact value you are interested in...John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------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:
Aaron Lynch wrote:> Ex 2> > I want to convert hex colors to 'friendly' names to display to the user. But> write the hex to the db. Currently I use a database like> > From to> Red FF0000> FF0000 Red> > It would cut the size of the db in half and I think make it easier if I> could name those fields 'friendly' and 'hex' (or whatever the programmer> choses)OK, the light comes on. You want to be able to specify the source and destination field names for [convertwords] so you could have a single conversion database with multiple columns depending on the exact need at the time. I can see that as a good extensions too. This is typically solved in Perl by a hash of arrays where the key (from) field determines which set of answers you are interested in, then you use the offset into the array to chose the exact value you are interested in...John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4720 Boston WayLanham, MD 20706301-459-3366 x.5010fax 301-429-5747-------------------------------------------------------------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/
John Peacock
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:
Multiple download orders of the same product? (1997)
Server slowing down. (1997)
Single Link browsing (1997)
WebCat2b15MacPlugin - [protect] (1997)
text size limitation (1997)
Append error (2002)
practicing safe queries.. (2000)
A Couple Photos from the SmithMicro Booth at MacWorld (2000)
[WebDNA] Dreamweaver Tag Libraries and Snippets (2010)
Sorting by date (1997)
[OT] Browser's search via javascript? (2003)
Running 2 two WebCatalog.acgi's (1996)
Erotic Sites (1997)
proper way to check if a container is empty? (2000)
WebCat2b15MacPlugin - [protect] (1997)
F2 to F3 rocky transition (1997)
PCS Emailer's role ? (1997)
SSL and reg web*L and reg web* (1997)
bug? template caching and apache transfer byte log (1999)
Do triggers work on Macs? (2000)