<p dir="auto">Hello, as a nice to have if you could render assetic more flexible it would be nice.</p>
<p dir="auto">I explain myself, i a usecase we want to store css in database to generate it on the fly but with assetic it is really really hard. in fact we spend couple of days understanding the bundle and trying to add a DataBaseAsset.</p>
<p dir="auto">We wanted to have an inline editor to stor css in the databse and render it without caching at first time.</p>
<p dir="auto">We tried to add it to assetic with the Injection Pattern but lots of attributes and methods are private. In fact should be protected to be able to extend it.</p>
<p dir="auto">Also Assetic use the twig compiler to write in the cache and not in the runtime.</p>
<p dir="auto">It would be nice to simplify the bundle, i now it's a bit hard to do it but extending it is pretty hard too.</p>
<p dir="auto">Working with general case is nice and assetic is nice because it work but it should be a bit more simple and also it is horrible seeing these private attributes and methods, we need to duplicate code if we want to extend it.</p>
<p dir="auto">May we will write our custom bundle because it don't match our needs.</p>
<p dir="auto">I hope i was clear and i help a bit</p>
<p dir="auto">The drupal team is back!</p>
<p dir="auto">In this drupal issue (==&gt;  <a href="http://drupal.org/node/1599108" rel="nofollow">http://drupal.org/node/1599108</a> ) someone advises to use dependency injection tags like described in this post: <a href="http://symfony.com/doc/master/components/dependency_injection/tags.html" rel="nofollow">http://symfony.com/doc/master/components/dependency_injection/tags.html</a>.</p>
<p dir="auto">I tried to do that but got a fatal error because the addObjectResource function in The ContainerBuilder class has a hard dependency on the config component. We can not use that component....</p>
<p dir="auto">Is there a reason why this is so tightly coupled? Is it possible to soften the coupling? Is there a possibility to rewrite this code to prevent this kinda coupling between those two components (Config and DependencyInjection)</p>
<p dir="auto">Thnx!</p>