I rolled my own backend with Mojolicious. Someone else is pulling together the calendar data for another system and I'm pushing out the associated ical feeds. I making calls to an Oracle database and create calendar events with
where the oracle_to_datetime sub returns DateTime objects and then return a json object withwhile ( my ($name, $stime, $etime, $unid, $loc, $desc) = $sth->fetchro +w_array() ) { my ($start, $end) = oracle_to_datetime($stime, $etime); push @event_list, { start => $start, end => $end, summary => $name, location => $loc, description => $desc, uid => $unid, }; }
to FullCalendar.$self->render(json => \@event_list);
I'm still finding my way with Mojolicious, but I think that's all it needed. Oh, and don't tell anybody how easy it was. My mistake :)
http://act.yapc.eu/lpw2016/ It's that time of year again!
In reply to Re: Good Perl-based web Calendar Frameworks?
by Ea
in thread Good Perl-based web Calendar Frameworks?
by Cody Fendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |