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 Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 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:

    
  1. Re: Feature req. (Kenneth Grome 2002)
  2. [table] (was Re: Feature req.) (Rob Marquardt 2002)
  3. Re: Feature req. (Brian Fries 2002)
  4. Re: Feature req. (Andrew Simpson 2002)
  5. Re: Feature req. (Scott Anderson 2002)
  6. Re: Feature req. (Andrew Simpson 2002)
  7. Re: Feature req. (Donovan Brooke 2002)
  8. Re: Feature req. (Donovan Brooke 2002)
  9. Re: Feature req. (Scott Anderson 2002)
  10. Re: Feature req. (Kenneth Grome 2002)
  11. Re: Feature req. (Kenneth Grome 2002)
  12. Re: Feature req. (Alain Russell 2002)
  13. Re: Feature req. (Scott Anderson 2002)
  14. Re: Feature req. (Brian Fries 2002)
  15. Re: Feature req. (Clint Davis 2002)
  16. Re: Feature req. (Stuart Tremain 2002)
  17. Re: Feature req. (Kenneth Grome 2002)
  18. Re: Feature req. (John Peacock 2002)
  19. Re: Feature req. (Jesse Williams-Proudman 2002)
  20. Re: Feature req. (John Peacock 2002)
  21. Re: Feature req. (Brian Fries 2002)
  22. Re: Feature req. (dale's stuff 2002)
  23. Re: Feature req. (Jesse Williams-Proudman 2002)
  24. Re: Feature req. (John Peacock 2002)
  25. Re: Feature req. (Aaron Lynch 2002)
  26. Re: Feature req. (Nitai @ ComputerOil 2002)
  27. Re: Feature req. (John Peacock 2002)
  28. Re: Feature req. (Jesse Williams-Proudman 2002)
  29. Re: Feature req. (Brian Fries 2002)
  30. Re: Feature req. (Nitai @ ComputerOil 2002)
  31. Feature req. (Aaron Lynch 2002)
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 Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 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)