Building a better Calendar... with no JavaScript
Moderator: General Moderators
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
Building a better Calendar... with no JavaScript
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.
::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.
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
http://webcalendar.sourceforge.net/demo/week.php
Default colors are pretty bad, but they can be fixed, like here: http://www.jpsband.org/calendar/month.php
Default colors are pretty bad, but they can be fixed, like here: http://www.jpsband.org/calendar/month.php
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
-
Charles256
- DevNet Resident
- Posts: 1375
- Joined: Fri Sep 16, 2005 9:06 pm
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
viewtopic.php?t=38254&highlight=
refer to my first post in that thread:-D
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.
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.
::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
Ya, no JS! So when are going to finish it I need a nice tv guide event planner,
yj
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
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.
* 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.
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/
http://wact.sourceforge.net/examples/sh ... tml_macro/