well unless a solution like composer to manage js dependencies pops up, i think symfony people should agree on one and only one bundle for each of the major javascript libraries. that would certainly help. @jordi: what do you think? should we start an effort on that or is there any chance for a real solution of the problem?
cheers,david Am 29.08.2012 13:27, schrieb Michael C: > Indeed, he posted an article on his company's blog about it[1] but I think > this issue could be even more widespread. If you want a symfony website and > you want an admin panel to administrate someone's blog bundle and someone > else's KB bundle and then you make your own CMS bundle the chances are there > won't be just one admin bundle that is used by a KB and a blog, meaning > you'd have to have two admin panels essentially to manage each script or try > and adapt it so that the two admin panels combine into one UI or creating > your own KB/Blog to use one of the two admin bundles, which just makes the > problem even bigger as now there are more blog/KB bundles un-necessarily in > the world. > > One item is too easily duplicated as people see another admin bundle, don't > like a couple of things about it so they create a new one; which results in > lots of bundles requiring their own choice of admin bundle resulting in > applications with multiple bundles that do the same thing. > > In a way, the only way this could be solved is with a set of suggested > standards for admin bundles, serializers etc. but this could be seen as > unfair on other bundles of that do the same thing. > > [1] - http://nelm.io/blog/2012/05/an-appeal-to-all-package-managers/ > > Thanks > > Michael C > UKB > >> -----Original Message----- >> From: David Buchmann [mailto:da...@liip.ch] >> Sent: 29 August 2012 09:22 >> To: symfony-devs@googlegroups.com >> Cc: Michael C >> Subject: Re: [symfony-devs] Template {{ asset() }} and multiple including > the >> same JS lib >> >> when i last discussed with jordi, one of the brains behind composer, he > was >> looking for a solution for managing javascript dependencies. its kind of > strange >> to need symfony bundles for javascript code, just so the php composer can > track >> them. >> >> if somebody has good ideas (i.e. knows if there is a decent dependency >> management system for javascript) please help the composer people out to >> solve this one. >> >> cheers,david >> >> Am 28.08.2012 20:33, schrieb Michael C: >>> Well, those bundles could just include a jQuery Bundle using composer >>> and use that. >>> >>> The problem being is that there are multiple jQuery bundles^[1] , none >>> of them official. >>> >>> >>> >>> [1] - http://packagist.org/search/?q=jQuery >>> >>> >>> >>> Thanks >>> >>> >>> >>> Michael C >>> >>> UKB >>> >>> >>> >>> *From:*symfony-devs@googlegroups.com >>> [mailto:symfony-devs@googlegroups.com] *On Behalf Of *Ivan Lubomir >>> *Sent:* 28 August 2012 19:20 >>> *To:* symfony-devs@googlegroups.com >>> *Subject:* [symfony-devs] Template {{ asset() }} and multiple >>> including the same JS lib >>> >>> >>> >>> I see in many bundles the same libraries as jquery.js. So, if try use >>> diffrent bundles, we can get terrible porridge. >>> Is it possible to add in {{ asset() }} as second param string like tag, > so: >>> >>> {{ asset('bundles/bestwork/js/jquery.js', 'jquery') }} >>> >>> that allow include jquery once independed on other bundles? >>> >>> -- >>> If you want to report a vulnerability issue on symfony, please send it >>> to security at symfony-project.com >>> >>> You received this message because you are subscribed to the Google >>> Groups "symfony developers" group. >>> To post to this group, send email to symfony-devs@googlegroups.com >>> <mailto:symfony-devs@googlegroups.com> >>> To unsubscribe from this group, send email to >>> symfony-devs+unsubscr...@googlegroups.com >>> <mailto:symfony-devs+unsubscr...@googlegroups.com> >>> For more options, visit this group at >>> http://groups.google.com/group/symfony-devs?hl=en >>> >>> -- >>> If you want to report a vulnerability issue on symfony, please send it >>> to security at symfony-project.com >>> >>> You received this message because you are subscribed to the Google >>> Groups "symfony developers" group. >>> To post to this group, send email to symfony-devs@googlegroups.com To >>> unsubscribe from this group, send email to >>> symfony-devs+unsubscr...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/symfony-devs?hl=en >> >> -- >> Liip AG // Agile Web Development // T +41 26 422 25 11 >> CH-1700 Fribourg // PGP 0xA581808B // www.liip.ch > -- Liip AG // Agile Web Development // T +41 26 422 25 11 CH-1700 Fribourg // PGP 0xA581808B // www.liip.ch -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en