[dev] [commits] Horde-Hatchery branch master updated. 1b203b4df8810da493c7a13898fade3a77665f66

Chuck Hagenbuch chuck at horde.org
Mon Jan 19 04:32:29 UTC 2009


Quoting Michael M Slusarz <slusarz at horde.org>:

> commit 1b203b4df8810da493c7a13898fade3a77665f66
> Author: Michael M Slusarz <slusarz at curecanti.org>
> Date:   Thu Jan 15 11:05:05 2009 -0700
>
>    Allow remaining images on DIMP main page to be loaded via Data URL
>
>    Loading DIMP's index page on a supported browser, with CSS/JS caching,
>    now results in 0 images that need to be separately loaded.
>
>    Should probably move this to Horde core proper ASAP (along with all
>    JS/CSS caching code) so that other apps can make use of this. This is
>    less effective for non-AJAXy applications since the data needs to be
>    sent on every page load (vs. the image data being cached in CSS).
>    However, some images are generated on the fly/don't reside in the app
>    themes directory so they aren't available to be served via CSS.

I'd like to see all of this implemented as View helpers for the
Horde_View library. We can have a Horde_View_Helper_Assets object that
can (for now) take a $registry object; later either an updated
registry or some other configuration structure, and use that to
generate all the correct paths, etc., without building in a bunch of
static methods or generating tags outside of the view layer.


-chuck



More information about the dev mailing list