Jump to content

Club Calendar

Recommended Posts

Over the past few days I've assembled a club calendar using Javascript which reads a club event schedule (array) that resides in its own file. Going forward I'll have Php regenerate the Javascript array file when a user makes a change to the event schedule (from a Mysql table). Such changes would not be frequent so I thought it might be more efficient to keep it all in Javascript.




I would appreciate any suggestions for improvement.

Edited by davej
Link to post
Share on other sites

Hey, those are decent ideas. Thanks. I've become particularly fond of this javascript file approach rather than accessing the database because I think that will avoid some annoying wakeup delays that I see on these cheap webhosts.


I'm also going to change it so that it loads the current date from the server and checks it against the browser date.

Edited by davej
Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...