Hi Enrico,

Thanks for the link, I am taking a look at it. It seems good & useful.

But now these questions come to my mind. The module caches assets,
loads, and sends them as an mvc response. Is this kind of approach good for
production & scalability? Is there a way to just dump the assets to a
directory, and serve them as a regular static files (without the need
of php) ?



On Saturday, July 20, 2013, Enrico Zimuel wrote:

> Hi Andy,
>
> you can use this AssetManager module:
> https://github.com/RWOverdijk/AssetManager
> It should cover all your needs.
>
> Here you can find also a blog post that shows how to use it:
> http://ocramius.github.io/blog/asset-manager-for-zend-framework-2/
>
> Regards,
> Enrico Zimuel
>
> On Sat, Jul 20, 2013 at 9:29 AM, Andy L. <[email protected]<javascript:;>>
> wrote:
> > Hi everyone,
> >
> > How do you manage asset / static files in ZF2? I don't see it in manuals
> /
> > docs.
> >
> > - Say i have 3 modules, each has its own asset (static file : css, js),
> how
> > do you load your css in view script?
> >
> > - Do you symlink your assets to public directory? Do you symlink manually
> > or do you use a tool?
> >
> > - I'd like to have an asset management module, that I can configure the
> > base url so I can serve my asset via other base url, eg via CDN. Does
> > anyone has any recommendations?
> >
> >
> >
> >
> >
> > --
> > Warmest regards,
> >
> > Andy L.
>
> --
> Enrico Zimuel
> Senior PHP Engineer     | [email protected] <javascript:;>
> Zend Framework Team     | http://framework.zend.com
> Zend Technologies Ltd.
> http://www.zend.com
>


-- 
Warmest regards,

Andy L.

Reply via email to