No, sounds good Marius... go for it. Cheers, Tim
On 23 Feb 2010, at 11:00, Marius wrote: > I opened this ticket: > http://www.assembla.com/spaces/liftweb/tickets/363-liftrules-jqueryversion-should-not-be-there- > > I realize that this would bring a slight breaking change but I believe > it is worth it. > > Folks please speak up if you think otherwise. > > Br's, > Marius > > On Feb 23, 10:25 am, Marius <marius.dan...@gmail.com> wrote: >> (yeah forgive me :) ...) >> >> On Feb 23, 10:18 am, Jeppe Nejsum Madsen <je...@ingolfs.dk> wrote: >> >> >> >>> +1 (and we might as well add 1.4.2 as well/instead :-) >> >>> On Tue, Feb 23, 2010 at 9:11 AM, Marius <marius.dan...@gmail.com> wrote: >>>> Guys, >> >>>> This has been added not so long ago, and I am aware that I should >>>> express my perspective on this back then as now it might be too late. >>>> IMHO LiftRules or other Lift parts except the JsArtifacts and maybe >>>> ResourceServer should not even be aware of the underlying JS framework >>>> thus the JQuery name in LiftRules is very unsound to me. >> >>>> Here is other proposal of keeping things decoupled: >> >>>> . >>>> We currently have JQueryArtifacts which holds the JQuery >>>> implementation. >> >>>> We add in the JsArtifacts this: >> >>>> trait JsArtifacts { >>>> ... >>>> def version >>>> } >> >>>> then >> >>>> case class JQueryArtifacts1_3_2 extends JQueryArtifacts { >>>> def version = "1.3.2-min" >>>> } >> >>>> case class JQueryArtifacts1_4_1 extends JQueryArtifacts { >>>> def version = "1.4.1-min" >>>> } >> >>>> Then to select one or another we use the existent mechanism: >> >>>> LiftRules.jsArtifacts = JQueryArtifacts1_3_2 // by default and people >>>> can change this easily >> >>>> then in ResourceServer we can easily make the version selection. >> >>>> In this way LiftRules has no idea about JQuery, YUI etc .... and it >>>> doesn't need to. it is only about feeding different implementations of >>>> JsArtifact. >> >>>> Thoughts? >> >>>> Br's, >>>> Marius >> >>>> -- >>>> You received this message because you are subscribed to the Google Groups >>>> "Lift" group. >>>> To post to this group, send email to lift...@googlegroups.com. >>>> To unsubscribe from this group, send email to >>>> liftweb+unsubscr...@googlegroups.com. >>>> For more options, visit this group >>>> athttp://groups.google.com/group/liftweb?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to lift...@googlegroups.com. > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.