Re: Showif date > other date
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 56783
interpreted = N
texte = Nice oneThanks for all that very valuable information, I'm glad I asked now :D I amvery interested in the concept of the generic append / replace (I must checkthe archives) I have to say and it should definitely be documented somewhereor added to one of the many webdna resources. Has anybody done anythinglike a fusebox model for webdna as this sounds like the sort of thing thatwould plug into a "fusebox"?CheersAlanP.S. I have only really skimmed the topic of fuseboxes but it seems like agood solid model that could be implemented within our community if notalready.on 3/12/04 4:00 AM, Kenneth Grome at webdna@kengrome.com wrote:>> On Mar 11, 2004, at 7:19 PM, Kenneth Grome wrote:>> >>> Actually I haven't had to do any range searches on the dates we>>> store like this, but if I did I would probably just add a>>> "daysSince0000" field to my db first, then run the range search on>>> that new field.>> >> Only reason I ask is it just seems easier to store the dates as>> numbers or normal dates in one field and split it apart using>> [getchars] than to do all that. :)> > > In some situations you're right, I agree with you. For those who> need to put a lot of range searches into their code, using a single> field may same more time than using the techniques I've described.> > It's just that in my experience I find a greater time saving by> storing my dates as three separate components, because for one thing> this technique *also* allows me to use generic append and replace> code that looks something like this:> > [replace > db=xxx.db&eqskudata=[sku]][formvariables][name]=[url][value][/url]&[/formvaria> bles][/replace]> > Coding with generic append and replace contexts saves me tons of> time. I'm always adding new fields or changing field names or> deleting fields in my db's as I develop my sites, and this technique> saves me from having to change all my append and replace contexts> every time I change a db field.> > And since I don't need to do range searches on my dates very often,> this approach is the best for me in many cases. But it's not the> best for everyone, nor is is the best for me in every situation.> > Still, it is something to consider:> > 1- if you find yourself spending too much time writing customized> appends and replaces, and/or ...> > 2- if you find it easier to populate form fields directly -- by using> the *entire* field -- value rather than extracting parts of the value> via getchars, middle, listwords, etc.> > :)-------------------------------------------------------------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:
Nice oneThanks for all that very valuable information, I'm glad I asked now :D I amvery interested in the concept of the generic append / replace (I must checkthe archives) I have to say and it should definitely be documented somewhereor added to one of the many webdna resources. Has anybody done anythinglike a fusebox model for webdna as this sounds like the sort of thing thatwould plug into a "fusebox"?CheersAlanP.S. I have only really skimmed the topic of fuseboxes but it seems like agood solid model that could be implemented within our community if notalready.on 3/12/04 4:00 AM, Kenneth Grome at webdna@kengrome.com wrote:>> On Mar 11, 2004, at 7:19 PM, Kenneth Grome wrote:>> >>> Actually I haven't had to do any range searches on the dates we>>> store like this, but if I did I would probably just add a>>> "daysSince0000" field to my db first, then run the range search on>>> that new field.>> >> Only reason I ask is it just seems easier to store the dates as>> numbers or normal dates in one field and split it apart using>> [getchars] than to do all that. :)> > > In some situations you're right, I agree with you. For those who> need to put a lot of range searches into their code, using a single> field may same more time than using the techniques I've described.> > It's just that in my experience I find a greater time saving by> storing my dates as three separate components, because for one thing> this technique *also* allows me to use generic append and replace> code that looks something like this:> > [replace > db=xxx.db&eqskudata=[sku]][formvariables][name]=[url][value][/url]&[/formvaria> bles][/replace]> > Coding with generic append and replace contexts saves me tons of> time. I'm always adding new fields or changing field names or> deleting fields in my db's as I develop my sites, and this technique> saves me from having to change all my append and replace contexts> every time I change a db field.> > And since I don't need to do range searches on my dates very often,> this approach is the best for me in many cases. But it's not the> best for everyone, nor is is the best for me in every situation.> > Still, it is something to consider:> > 1- if you find yourself spending too much time writing customized> appends and replaces, and/or ...> > 2- if you find it easier to populate form fields directly -- by using> the *entire* field -- value rather than extracting parts of the value> via getchars, middle, listwords, etc.> > :)-------------------------------------------------------------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/
Alan White
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:
Couple of questions (1999)
Separate SSL Server (1997)
Re:Searching for ALL / empty form field *the FINAL answer* (1997)
notification solutions (1997)
Unexpected error (1997)
[WebDNA] Anyone knows how to shell reboot? (2013)
Re[3]: 2nd WebCatalog2 Feature Request (1996)
converted seed value? (1998)
[OT] Templates (For Sale) sites (2004)
Adding multiple items to Cart at one time, & append contextproblem (1998)
RE: Just a thought (1998)
Shipping.db (1998)
When do we get to request new features? (1999)
can WC render sites out? (1997)
WC1.6 to WC2 date formatting (1997)
search results through frames (2000)
WebCat2 - [include] tags (1997)
Fw: Cookies, checking if's enabled... (2004)
[SearchString] usage (1997)
Logging purchases (1997)