[dev] [commits] Horde branch kronolith_4_2 updated. 8044581937160bfff837d08817b5b8a60624b3fb
Michael M Slusarz
slusarz at horde.org
Mon Sep 30 18:52:48 UTC 2013
Quoting "Michael J. Rubinsky" <mrubinsk at horde.org>:
> commit e042dd72bdcfd92f401f4eedeadc430166ae4157
> Author: Michael J Rubinsky <mrubinsk at horde.org>
> Date: Sat Sep 28 00:43:17 2013 -0400
>
> Improve kronolith initialization.
>
> First stab at reducing the amount of work needed to initialize Kronolith.
> Lazy loads the most resource intesive calendar lists and e.g., no longer
> polls for external calendars on each rpc request unless
> explicitly needed.
>
> Among other things, improves performance of ActiveSync requests since we
> don't attempt to load external calendars like Facebook Events or Weather.
>
> kronolith/lib/Ajax/Application/Handler.php | 30 +-
> kronolith/lib/Application.php | 20 +-
> kronolith/lib/Block/Month.php | 2 +-
> kronolith/lib/Block/Monthlist.php | 6 +-
> kronolith/lib/Block/Prevmonthlist.php | 2 +-
> kronolith/lib/Block/Summary.php | 2 +-
> kronolith/lib/Calendar/External.php | 4 +-
> kronolith/lib/Calendar/External/Tasks.php | 2 +-
> kronolith/lib/Calendar/Holiday.php | 4 +-
> kronolith/lib/Calendar/Internal.php | 4 +-
> kronolith/lib/Calendar/Remote.php | 4 +-
> kronolith/lib/Calendar/Resource.php | 2 +-
> kronolith/lib/Calendar/ResourceGroup.php | 2 +-
> kronolith/lib/CalendarsManager.php | 549
> +++++++++++++++++++
> kronolith/lib/Driver/Ical.php | 6 +-
> kronolith/lib/Driver/Kolab.php | 6 +-
> kronolith/lib/Driver/Sql.php | 4 +-
> kronolith/lib/Event.php | 4 +-
> kronolith/lib/Event/Sql.php | 6 +-
> kronolith/lib/Kronolith.php | 363 ++-----------
> kronolith/lib/View/Day.php | 2 +-
> kronolith/lib/View/Month.php | 2 +-
> kronolith/lib/View/Year.php | 2 +-
> kronolith/new.php | 5 +-
> kronolith/package.xml | 7 +-
> kronolith/search.php | 6 +-
> kronolith/templates/edit/edit.inc | 6 +-
> kronolith/templates/smartmobile/javascript_defs.php | 18 +-
> 28 files changed, 680 insertions(+), 390 deletions(-)
> create mode 100644 kronolith/lib/CalendarsManager.php
>
> http://github.com/horde/horde/commit/e042dd72bdcfd92f401f4eedeadc430166ae4157
> http://git.horde.org/horde-git/-/commit/e042dd72bdcfd92f401f4eedeadc430166ae4157
Don't use global objects. CalendarsManager should be instantiated
through the injector.
michael
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the dev
mailing list