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]> 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] Zend Framework Team | http://framework.zend.com Zend Technologies Ltd. http://www.zend.com -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
