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:

    
  1. Re: SMSI FTP - calander system THANKS! (Donovan Brooke 2002)
  2. Re: SMSI FTP - calander system THANKS! (dale's stuff 2002)
  3. Re: SMSI FTP - calander system (Dan Strong 2002)
  4. Re: SMSI FTP - calander system (Brian Fries 2002)
  5. Re: SMSI FTP - calander system (Dan Strong 2002)
  6. Re: SMSI FTP - calander system THANKS! (Donovan 2002)
  7. Re: SMSI FTP - calander system (Tom Duke 2002)
  8. Re: SMSI FTP - calander system THANKS! (Clement Ross 2002)
  9. Re: SMSI FTP - calander system THANKS! (Pat McCormick 2002)
  10. Re: SMSI FTP - calander system (Dan Strong 2002)
  11. Re: SMSI FTP - calander system (Joseph D'Andrea 2002)
  12. Re: SMSI FTP - calander system (Brian Fries 2002)
  13. Re: SMSI FTP - calander system (Tom Duke 2002)
  14. Re: SMSI FTP - calander system (Jesse Williams-Proudman 2002)
  15. Re: SMSI FTP - calander system (Kenneth Grome 2002)
  16. Re: SMSI FTP - calander system (Palle Bo Nielsen 2002)
  17. Re: SMSI FTP - calander system (Gary Krockover 2002)
  18. Re: SMSI FTP - calander system (Tom Duke 2002)
  19. Re: SMSI FTP - calander system (Andrew Simpson 2002)
  20. Re: SMSI FTP - calander system (Alan White 2002)
  21. Re: SMSI FTP - calander system (Steve Craig 2002)
  22. Re: SMSI FTP - calander system (Stuart Tremain 2002)
  23. Re: SMSI FTP - calander system (marc malacarme 2002)
  24. Re: SMSI FTP - calander system (Michael Davis 2002)
  25. Re: SMSI FTP - calander system (dale's stuff 2002)
  26. Re: SMSI FTP - calander system (Michael Quattrone 2002)
  27. Re: SMSI FTP - calander system (Pat McCormick 2002)
  28. Re: SMSI FTP - calander system (Pat McCormick 2002)
  29. Re: SMSI FTP - calander system (Tom Duke 2002)
  30. SMSI FTP - calander system (Joseph D'Andrea 2002)
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)