Page 1 of 1
Building a better Calendar... with no JavaScript
Posted: Fri Nov 18, 2005 4:11 pm
by Ambush Commander
God, what is it with programmers and JavaScript? You give 'em sprinkles and they'll make the whole cake with it.
WebCalendar is an application I'm trying and while it's fairly good on the feature side, the site is as dependent on JavaScript as a crack-whore is on cocaine. And the user interface is terrible.
::sighs::
I really don't want to roll my own, because I understand the intricacies of the global time system, but this is preposterous. Does anyone have any suggestions for an open-source php calendar
that doesn't abuse JavaScript? Thank you.
Posted: Fri Nov 18, 2005 4:17 pm
by jayshields
Do you have a URL for a live demo?
Posted: Fri Nov 18, 2005 4:22 pm
by Ambush Commander
Posted: Fri Nov 18, 2005 5:01 pm
by sweatje
I have used
this one, but it still uses js.
Posted: Fri Nov 18, 2005 5:05 pm
by Ambush Commander
I am not pathologically opposed to JavaScript: I'm pathologically opposed to it when it is misused. So if the application degrades gracefully when JavaScript is turned off, I'm using it. Going off to check it out.
Edit - Oh, it's totally made out of JavaScript. That's a no go, unfortunantely.
Posted: Fri Nov 18, 2005 5:09 pm
by Burrito
viewtopic.php?t=31864
there is a little JS, but the meat of it is php
Posted: Fri Nov 18, 2005 5:11 pm
by Ambush Commander
Gah, the code is all borked... plus it doesn't schedule events... (sorry, should have been a bit more clear).
Posted: Fri Nov 18, 2005 11:17 pm
by Charles256
yes..i realize the code could be prettyed upa b it but it's ALL PHP
viewtopic.php?t=38254&highlight=
refer to my first post in that thread:-D
Posted: Sat Nov 19, 2005 7:38 am
by sheila
I've been working with ActiveCalendar
http://www.micronetwork.de/activecalendar/
It uses CSS. It took me a while to figure out events and I had to hack part of it to get it to do exactly what I wanted. Still better than starting from scratch. No javascript but it does allow you to add JS to links. I use JS for popup windows.
Posted: Sat Nov 19, 2005 10:03 am
by yum-jelly
::Ambush Commander::
Ya, no JS! So when are going to finish it I need a nice tv guide event planner,

Boy am I lazy! I think it looks good, maybe some CSS would make it much prettier for those that think beauty comes before content! No JS is really nice as it seems people think it's more widely used than it really is. Another bookmark added. Oh, ya how about the year view, why not even up the monthly calendars adding previous ending and next starting days to fill the rows with even content, also adding week numbers would be cool!
yj
Posted: Sat Nov 19, 2005 11:09 am
by Ambush Commander
These are all things the hefty JavaScript solutions do but not the more bare bones PHP classes.
*
PHP Event Calendar looks promising: it does use JavaScript but degrades nicely when it's not enabled. yum-jelly: it doesn't have very good HTML and the default styling is pretty bad; also doesn't allow week at view or day at view or show week numbers. But if the code is clean, these are features that I could probably easily add.
*
Calendar - A bit too procedural for my tastes, and doesn't have any persistence coding.
*
Active Calendar - is not a prepackaged script: it's a php class, so it sorta targets a different demographic. If I'm in a coding mood (and right now I'm still refactoring my main project so I don't want to start writing another applicatiion) it may be my class of choice.
One sort of has to wonder: is a TABLE contextually correct in the context of DATEs?
Still soliciting suggestions.
Posted: Sat Nov 19, 2005 11:41 am
by sweatje
Harry Fuecks build a calendar component for WACT using PEAR::Calendar. Demo's online with source at:
http://wact.sourceforge.net/examples/sh ... tml_macro/