A
A
Anton2014-12-24 19:09:43
symfony
Anton, 2014-12-24 19:09:43

Should I replace Assetic with bower + grunt in Symfony2, or combine them?

In general, a dependency manager is always good, and bower suits me perfectly for this role. It also seems right to me to use Grunt.JS, as it is more native (but there is a dependency on node.js).
But the question arises, can such a bundle fully replace the work of assetic?
After all, in addition to packaging and compression, it monitors versioning, selects all assets from bundles, and integrates with twig...
It would be interesting to hear the opinion of those who have already tried to do all this - is it worth doing this at all?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2014-12-24
@brud

I agree with maxclax , it's not worth it. Better bower + gulp + your node-visitors for twig.

A
Alex, 2014-12-24
@shoomyst

Of course it's worth it.
Assetic is so, a toy for the first time. Then constant brakes start to enrage, the flexibility of nodejs tools begins to be lacking. Now I don’t really follow the development of the asset, but as far as I know, this whole thing has not been moving in the most active way lately.
The asset has some advantages in terms of integration into symfony / twig, but if the project claims to be some kind of seriousness, I advise you to immediately lay down nodejs + bower + grunt / gulp at the start of the project - ultimately this bundle will override all the advantages of the asset.

M
maxclax, 2014-12-24
@maxclax

not worth it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question