@Marco Pivetta & everyone

Thanks for your help :)

I will try both to see which one is suitable for my need.


On Sunday, July 21, 2013, Marco Pivetta wrote:

> @Andy there's another module called BaconAssetLoader (
> https://github.com/Bacon/BaconAssetLoader ) which basically deploys your
> assets into the `public/` directory.
>
> The one I and RWOverdijk developed uses a different approach because we
> basically need to see changed assets as soon as it happens (if no file
> caching strategy is set).
>
>
>
> Marco Pivetta
>
> http://twitter.com/Ocramius
>
> http://ocramius.github.com/
>
>
> On 20 July 2013 17:40, Andy L. <[email protected] <javascript:_e({},
> 'cvml', '[email protected]');>> wrote:
>
>> 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:_e({}, 'cvml', '[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:_e({}, 'cvml',
>> '[email protected]');> <javascript:;>
>> > Zend Framework Team     | http://framework.zend.com
>> > Zend Technologies Ltd.
>> > http://www.zend.com
>> >
>>
>>
>> --
>> Warmest regards,
>>
>> Andy L.
>>
>
>

-- 
Warmest regards,

Andy L.

Reply via email to