Re: SMSI FTP - calander system
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 43973
interpreted = N
texte = At 9:30 AM 10/2/02, Tom Duke wrote:>>All I ask is that if someone makes some nice improvements that they would>consider sharing them with the list.I've been tinkering with Tom's code to make it US date centric rather then euro-centric. If you load up tom's code on a US date system, you'll get garbage on the quick calendar and who know's what on the searches. Thankfully Tom used the day_to_date method of storing dates as a numerical value rather then in some format. So far so good, but it's slow going as this is a back burner project for me.If you want a head start, search the code for something like {[this_day]/[this_month]/[this_year]} and change that to {[this_month]/[this_day]/[this_year]}Also look for things like {0/1/0000} in [math] contexts and change to {1/0/0000}Also I don't think that the calendar will scale very well. Right every page that gets displayed shows a quick calendar on the right. Well each day in that quick calendar does a search of the events database to determine if the color of the cell should be white (no event) or orange (event)... On the site that we're developing this will not due since there will be too many visitors and too many page views and too many events to make this work without a delay on each page. So I'm working on a scheme where the quick calendar gets update a) once a day at midnight with a background task and then b) only when a new event is added or an esisting event changes dates. That makes the quick calendar fairly static on a day to day basis and should speed up page loads.One more thing Tom... I don't see leap year code in there. Am I not looking in the right place?thanks,--joe-- ____________________________________________________________Joseph D'Andrea ~ http://www.west21.com/ ~ JoeDan@West21.com WEST21.com Internet services for the 21st Century webhosting ~ co-location ~ wireless access WebCat and MGI database programming____________________________________________________________-------------------------------------------------------------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:
At 9:30 AM 10/2/02, Tom Duke wrote:>>All I ask is that if someone makes some nice improvements that they would>consider sharing them with the list.I've been tinkering with Tom's code to make it US date centric rather then euro-centric. If you load up tom's code on a US date system, you'll get garbage on the quick calendar and who know's what on the searches. Thankfully Tom used the day_to_date method of storing dates as a numerical value rather then in some format. So far so good, but it's slow going as this is a back burner project for me.If you want a head start, search the code for something like {[this_day]/[this_month]/[this_year]} and change that to {[this_month]/[this_day]/[this_year]}Also look for things like {0/1/0000} in [math] contexts and change to {1/0/0000}Also I don't think that the calendar will scale very well. Right every page that gets displayed shows a quick calendar on the right. Well each day in that quick calendar does a search of the events database to determine if the color of the cell should be white (no event) or orange (event)... On the site that we're developing this will not due since there will be too many visitors and too many page views and too many events to make this work without a delay on each page. So I'm working on a scheme where the quick calendar gets update a) once a day at midnight with a background task and then b) only when a new event is added or an esisting event changes dates. That makes the quick calendar fairly static on a day to day basis and should speed up page loads.One more thing Tom... I don't see leap year code in there. Am I not looking in the right place?thanks,--joe-- ____________________________________________________________Joseph D'Andrea ~ http://www.west21.com/ ~ JoeDan@West21.com WEST21.com Internet services for the 21st Century webhosting ~ co-location ~ wireless access WebCat and MGI database programming____________________________________________________________-------------------------------------------------------------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/
Joseph D'Andrea
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:
WebCat & Backoffice Solution? (2000)
WebCatalog-NT?'s (1996)
Quit revisited (1997)
Multiple prices (1997)
[spawn] and [formvariables] (1999)
Recording size of uploaded file? (2001)
tax rate off by 1 cent (1997)
[WebDNA] Credit card processing (2012)
SHOWNEXT (1999)
WebCatalog 2.0 & WebDNA docs in HTML ... (1997)
possible, WebCat2.0 and checkboxes-restated (1997)
why is authenticate screwing with me today (2002)
Thanks for tips, more quest (1997)
[WebDNA] Carriage Return/Line Feed Issue (2009)
2nd WebCatalog2 Feature Request (1996)
building / customizing stores (2000)
WebCommerce: Folder organization ? (1997)
No. of items in shopping cart (2000)
Fun with Dates - revisited (1997)
[WebDNA] How does waitforfile actually work? (2009)