Re: Cart date/time
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 66558
interpreted = N
texte = Marko,I was just forced to realize that the time I spent reverse-engineering [cart] was in fact purely academic as Donovan suggested. It makes perfect sense now, but I completely spaced the fact that whether or not you use the shopping cart system, whenever you invoke [cart] a "shopping cart" is created which can be accessed via [orderfile], so, either way works since I already took the time to figure it out, but in reality, it was just navel-gazing on my part (but I did learn a thing or two and I had the time then). So, for future reference, you can still get the info you need using the method that Donovan & Stuart suggested:[text]var_cart=[cart][/text][!] <-- or whatever cart # you need[/!][orderfile file=./[var_cart]] Cart was created on the day: [date]
and the time: [time][/orderfile]-DanOn 29 Mar 2006 12:07:05 +1100 Marko Bernyk
wrote:> True... But with some of the 'modules' I have created with WebCatalog it is easier for me to do >it as variables than not.> > [text]var_car=[cart][/text]> [text]var_date=[date][/text]> [text]var_time=[time][/text]> > and I use this in working modules and databases... mind you I do NOT use Webcatalog as a >shopping cart system - but rather a database and data manipulation engine.> > no one is reinventing the wheel... but I can see instances when you might want to know the >creation date and time of a [cart] value when it is used outside of the shopping order system... >that's all. (as in bad programming design from previous designer of a module)> > -- > Regards,> Marko> > > On Wednesday, 29 March 2006 11:22 AM, Donovan Brooke wrote:> Marko Bernyk wrote:> > >> I use [Cart] all the time as a unique reference ID's for database items - but then again I >>always add [Date] and [time] aswell.> > I wouldn't think adding another date and time would make in> any more unique... time doesn't stop or go backwards. ;-) I suppose> if someone reset the server time to a point in history, then duplicate> carts may be a remote possibility.> > Donovan> > > > -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o> DONOVAN D. BROOKE EUCA Design Center> > <- Web Development (specializing in eCommerce),->> <- Custom Paint, Labels, and Specialty Signage. ->> <- Home and Business Embellishment/Fabrication, ->> <- Glass Blowing, and Art Glass ->> > PH/FAX:> 1 (608) 835-2476> Web:> http://www.egg.bz | http://www.euca.us> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o> > -------------------------------------------------------------> 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/> > > > > -------------------------------------------------------------> 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/-------------------------------------------------------------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:
Marko,I was just forced to realize that the time I spent reverse-engineering [cart] was in fact purely academic as Donovan suggested. It makes perfect sense now, but I completely spaced the fact that whether or not you use the shopping cart system, whenever you invoke [cart] a "shopping cart" is created which can be accessed via [orderfile], so, either way works since I already took the time to figure it out, but in reality, it was just navel-gazing on my part (but I did learn a thing or two and I had the time then). So, for future reference, you can still get the info you need using the method that Donovan & Stuart suggested:[text]var_cart=[cart][/text][!] <-- or whatever cart # you need[/!][orderfile file=./[var_cart]] Cart was created on the day: [date]
and the time: [time][/orderfile]-DanOn 29 Mar 2006 12:07:05 +1100 Marko Bernyk wrote:> True... But with some of the 'modules' I have created with WebCatalog it is easier for me to do >it as variables than not.> > [text]var_car=[cart][/text]> [text]var_date=[date][/text]> [text]var_time=[time][/text]> > and I use this in working modules and databases... mind you I do NOT use Webcatalog as a >shopping cart system - but rather a database and data manipulation engine.> > no one is reinventing the wheel... but I can see instances when you might want to know the >creation date and time of a [cart] value when it is used outside of the shopping order system... >that's all. (as in bad programming design from previous designer of a module)> > -- > Regards,> Marko> > > On Wednesday, 29 March 2006 11:22 AM, Donovan Brooke wrote:> Marko Bernyk wrote:> > >> I use [cart] all the time as a unique reference ID's for database items - but then again I >>always add [date] and [time] aswell.> > I wouldn't think adding another date and time would make in> any more unique... time doesn't stop or go backwards. ;-) I suppose> if someone reset the server time to a point in history, then duplicate> carts may be a remote possibility.> > Donovan> > > > -- > =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o> DONOVAN D. BROOKE EUCA Design Center> > <- Web Development (specializing in eCommerce),->> <- Custom Paint, Labels, and Specialty Signage. ->> <- Home and Business Embellishment/Fabrication, ->> <- Glass Blowing, and Art Glass ->> > PH/FAX:> 1 (608) 835-2476> Web:> http://www.egg.bz | http://www.euca.us> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o> > -------------------------------------------------------------> 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/> > > > > -------------------------------------------------------------> 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/-------------------------------------------------------------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/
"Dan Strong"
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:
math a various prices (1997)
PayPal (was WebCatalog Help) (2002)
2.0 Info (1997)
WebCat2: Formulas.db question (1997)
RE: Explorer oddities (1997)
Flash Stores (2003)
how to post without certain data appearing in the html source (2001)
Formating Tables w/[founditems] (1998)
OT: zipcodes (2002)
[/application] error? (1997)
Comments in db? (1997)
RED QUESTION MARK (1999)
The evolved Server Configuration Queston (2000)
[listfiles] nested in a [loop] (1998)
Can this be done? (1997)
XML Parse with XML WebDNA Syntax... (2004)
Frames and WebCat (1997)
Proper file locations (1997)
Encrypted Databases (2000)
Error.html (1997)