You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Howard Lewis Ship <hl...@gmail.com> on 2013/05/26 17:58:38 UTC

jQuery 2.x or stick with 1.x?

What do people think about moving the embedded jQuery library up to the 2.x
version?  I would tend to favor the idea, given that anyone who truly cares
can switch it back.

-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

Re: jQuery 2.x or stick with 1.x?

Posted by Dmitry Gusev <dm...@gmail.com>.
If understand it right jQuery 2.0 won't support IE < 9.

It'd be great if it would be possible to easily enable jQuery 1.9.x for IE
< 9... maybe should embed both versions?

By the way, if I understand it right again, that if one want to support
both IE < 9 and IE >= 9 should declare jQuery like this:

<!--[if lt IE 9]> <script src="jquery-1.9.0.js"></script> <![endif]--> <!--[if
gte IE 9]><!--> <script src="jquery-2.0.0.js"><</script> <!--<![endif]-->

How will this work with JS stacks?


On Sun, May 26, 2013 at 7:58 PM, Howard Lewis Ship <hl...@gmail.com> wrote:

> What do people think about moving the embedded jQuery library up to the 2.x
> version?  I would tend to favor the idea, given that anyone who truly cares
> can switch it back.
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>



-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com

Re: jQuery 2.x or stick with 1.x?

Posted by Bob Harner <bo...@gmail.com>.
Well, according to http://www.netmarketshare.com/, as of April 2013 IE 8
still comprises 23% of desktop browsers worldwide. Because of that, the
majority of apps using Tapestry 5.4 probably must still support IE 8, no
matter how much we don't like it.

Howard or anyone, can you provide the details of how one would switch the
jQuery version in 5.4? I believe switching from Prototype to jQuery just
requires a little configuration in your module class (usually
AppModule.java):

public static void contributeApplicationDefaults(
            MappedConfiguration<String, String> configuration){
    ...
    configuration.add(SymbolConstants.JAVASCRIPT_INFRASTRUCTURE_PROVIDER,
"jquery");}
@Contribute(Compatibility.class)public static void
disableScriptaculous(MappedConfiguration configuration){
    configuration.add(Trait.SCRIPTACULOUS, false);}


On Mon, May 27, 2013 at 11:01 AM, Lenny Primak <lp...@hope.nyc.ny.us>wrote:

> Same here. Big -1 for dropping older IE support. +1 for jq2 if we can keep
> older IE.support.
>
> On May 27, 2013, at 7:21 AM, Barry Books <tr...@gmail.com> wrote:
>
> >> From the jQuery 2.0 release notes:
> >
> > As promised, this version leaves behind the older Internet Explorer 6, 7,
> >> and 8 browsers. In return it is smaller, faster, and can be used in
> >> JavaScript environments where the code needed for old-IE compatibility
> >> often causes problems of its own. *But don’t worry, the jQuery team
> still
> >> supports the 1.x branch which does run on IE 6/7/8.* You can (and
> should)
> >> continue to use jQuery 1.9 (and the upcoming 1.10) on web sites that
> need
> >> to accommodate older browsers.
> >
> >
> > I use Tapestry to build sites for business/government that are still
> using
> > Windows XP and are therefore stuck on IE8. Bootstrap 3.X appears it will
> > support IE8. I can see why people would rather drop older IE support but
> at
> > this point I don't think it's practical if you want your product to be
> used
> > in a business/government environment.
> >
> > So I would say if it's easy to pick (or Dmitry's suggestion) I'm OK with
> > that but if it you are talking about dropping IE8 support I would have to
> > say a *BIG* -1.
> >
> > Barry
> >
> >
> >
> >
> > On Mon, May 27, 2013 at 12:59 AM, Kristian Marinkovic <
> > kristian.marinkovic@gmail.com> wrote:
> >
> >> +1
> >> Am 26.05.2013 19:01 schrieb "Jochen Frey" <jo...@jochenfrey.com>:
> >>
> >>> +1
> >>>
> >>> -- j
> >>>
> >>> On May 26, 2013, at 9:06 AM, Emmanuel DEMEY <de...@gmail.com>
> >>> wrote:
> >>>
> >>>> +1 !!!
> >>>>
> >>>>
> >>>> 2013/5/26 Dimitris Zenios <di...@gmail.com>
> >>>>
> >>>>> +1
> >>>>>
> >>>>>
> >>>>> On Sun, May 26, 2013 at 6:58 PM, Howard Lewis Ship <hlship@gmail.com
> >
> >>>>> wrote:
> >>>>>
> >>>>>> What do people think about moving the embedded jQuery library up to
> >> the
> >>>>> 2.x
> >>>>>> version?  I would tend to favor the idea, given that anyone who
> truly
> >>>>> cares
> >>>>>> can switch it back.
> >>>>>>
> >>>>>> --
> >>>>>> Howard M. Lewis Ship
> >>>>>>
> >>>>>> Creator of Apache Tapestry
> >>>>>>
> >>>>>> The source for Tapestry training, mentoring and support. Contact me
> >> to
> >>>>>> learn how I can get you up and productive in Tapestry fast!
> >>>>>>
> >>>>>> (971) 678-5210
> >>>>>> http://howardlewisship.com
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Emmanuel DEMEY
> >>>> Ingénieur Etude et Développement
> >>>> ATOS Worldline
> >>>> +33 (0)6 47 47 42 02
> >>>> demey.emmanuel@gmail.com
> >>>> http://emmanueldemey.fr/
> >>>>
> >>>> Twitter : @EmmanuelDemey
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> >>> For additional commands, e-mail: dev-help@tapestry.apache.org
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>

Re: jQuery 2.x or stick with 1.x?

Posted by Richard Frovarp <rf...@apache.org>.
On 05/27/2013 11:15 AM, Thiago H de Paula Figueiredo wrote:
> On Mon, 27 May 2013 12:01:11 -0300, Lenny Primak
> <lp...@hope.nyc.ny.us> wrote:
>
>> Same here. Big -1 for dropping older IE support. +1 for jq2 if we can
>> keep older IE.support.
>
> Are there API differences between jQuery 1.9 and 2? If not, I think 1.9
> for IE8- and 2 for anything else is the way to go.
>

Apparently, there is API compatibility between the two.
http://www.theregister.co.uk/2013/04/19/jquery_2_drops_old_ie_support/

Google and Microsoft are dumping support for IE8.

Office 365 already doesn't support IE 6 and 7. It's dumping support for 
IE8 in a year:
http://community.office365.com/en-us/wikis/manage/office-365-and-internet-explorer-8.aspx

Microsoft has indicated that they are going with a current and previous 
version of IE support platform. This means IE9 and IE10.

Google on the other hand has already dumped support for IE8.
http://support.google.com/a/bin/answer.py?hl=en&answer=33864



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: jQuery 2.x or stick with 1.x?

Posted by Thiago H de Paula Figueiredo <th...@gmail.com>.
On Mon, 27 May 2013 12:01:11 -0300, Lenny Primak <lp...@hope.nyc.ny.us>  
wrote:

> Same here. Big -1 for dropping older IE support. +1 for jq2 if we can  
> keep older IE.support.

Are there API differences between jQuery 1.9 and 2? If not, I think 1.9  
for IE8- and 2 for anything else is the way to go.

-- 
Thiago H. de Paula Figueiredo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: jQuery 2.x or stick with 1.x?

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
Same here. Big -1 for dropping older IE support. +1 for jq2 if we can keep older IE.support. 

On May 27, 2013, at 7:21 AM, Barry Books <tr...@gmail.com> wrote:

>> From the jQuery 2.0 release notes:
> 
> As promised, this version leaves behind the older Internet Explorer 6, 7,
>> and 8 browsers. In return it is smaller, faster, and can be used in
>> JavaScript environments where the code needed for old-IE compatibility
>> often causes problems of its own. *But don’t worry, the jQuery team still
>> supports the 1.x branch which does run on IE 6/7/8.* You can (and should)
>> continue to use jQuery 1.9 (and the upcoming 1.10) on web sites that need
>> to accommodate older browsers.
> 
> 
> I use Tapestry to build sites for business/government that are still using
> Windows XP and are therefore stuck on IE8. Bootstrap 3.X appears it will
> support IE8. I can see why people would rather drop older IE support but at
> this point I don't think it's practical if you want your product to be used
> in a business/government environment.
> 
> So I would say if it's easy to pick (or Dmitry's suggestion) I'm OK with
> that but if it you are talking about dropping IE8 support I would have to
> say a *BIG* -1.
> 
> Barry
> 
> 
> 
> 
> On Mon, May 27, 2013 at 12:59 AM, Kristian Marinkovic <
> kristian.marinkovic@gmail.com> wrote:
> 
>> +1
>> Am 26.05.2013 19:01 schrieb "Jochen Frey" <jo...@jochenfrey.com>:
>> 
>>> +1
>>> 
>>> -- j
>>> 
>>> On May 26, 2013, at 9:06 AM, Emmanuel DEMEY <de...@gmail.com>
>>> wrote:
>>> 
>>>> +1 !!!
>>>> 
>>>> 
>>>> 2013/5/26 Dimitris Zenios <di...@gmail.com>
>>>> 
>>>>> +1
>>>>> 
>>>>> 
>>>>> On Sun, May 26, 2013 at 6:58 PM, Howard Lewis Ship <hl...@gmail.com>
>>>>> wrote:
>>>>> 
>>>>>> What do people think about moving the embedded jQuery library up to
>> the
>>>>> 2.x
>>>>>> version?  I would tend to favor the idea, given that anyone who truly
>>>>> cares
>>>>>> can switch it back.
>>>>>> 
>>>>>> --
>>>>>> Howard M. Lewis Ship
>>>>>> 
>>>>>> Creator of Apache Tapestry
>>>>>> 
>>>>>> The source for Tapestry training, mentoring and support. Contact me
>> to
>>>>>> learn how I can get you up and productive in Tapestry fast!
>>>>>> 
>>>>>> (971) 678-5210
>>>>>> http://howardlewisship.com
>>>> 
>>>> 
>>>> 
>>>> --
>>>> Emmanuel DEMEY
>>>> Ingénieur Etude et Développement
>>>> ATOS Worldline
>>>> +33 (0)6 47 47 42 02
>>>> demey.emmanuel@gmail.com
>>>> http://emmanueldemey.fr/
>>>> 
>>>> Twitter : @EmmanuelDemey
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: dev-help@tapestry.apache.org
>> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: jQuery 2.x or stick with 1.x?

Posted by Barry Books <tr...@gmail.com>.
>From the jQuery 2.0 release notes:

As promised, this version leaves behind the older Internet Explorer 6, 7,
> and 8 browsers. In return it is smaller, faster, and can be used in
> JavaScript environments where the code needed for old-IE compatibility
> often causes problems of its own. *But don’t worry, the jQuery team still
> supports the 1.x branch which does run on IE 6/7/8.* You can (and should)
> continue to use jQuery 1.9 (and the upcoming 1.10) on web sites that need
> to accommodate older browsers.


I use Tapestry to build sites for business/government that are still using
Windows XP and are therefore stuck on IE8. Bootstrap 3.X appears it will
support IE8. I can see why people would rather drop older IE support but at
this point I don't think it's practical if you want your product to be used
in a business/government environment.

So I would say if it's easy to pick (or Dmitry's suggestion) I'm OK with
that but if it you are talking about dropping IE8 support I would have to
say a *BIG* -1.

Barry




On Mon, May 27, 2013 at 12:59 AM, Kristian Marinkovic <
kristian.marinkovic@gmail.com> wrote:

> +1
> Am 26.05.2013 19:01 schrieb "Jochen Frey" <jo...@jochenfrey.com>:
>
> > +1
> >
> > -- j
> >
> > On May 26, 2013, at 9:06 AM, Emmanuel DEMEY <de...@gmail.com>
> > wrote:
> >
> > > +1 !!!
> > >
> > >
> > > 2013/5/26 Dimitris Zenios <di...@gmail.com>
> > >
> > >> +1
> > >>
> > >>
> > >> On Sun, May 26, 2013 at 6:58 PM, Howard Lewis Ship <hl...@gmail.com>
> > >> wrote:
> > >>
> > >>> What do people think about moving the embedded jQuery library up to
> the
> > >> 2.x
> > >>> version?  I would tend to favor the idea, given that anyone who truly
> > >> cares
> > >>> can switch it back.
> > >>>
> > >>> --
> > >>> Howard M. Lewis Ship
> > >>>
> > >>> Creator of Apache Tapestry
> > >>>
> > >>> The source for Tapestry training, mentoring and support. Contact me
> to
> > >>> learn how I can get you up and productive in Tapestry fast!
> > >>>
> > >>> (971) 678-5210
> > >>> http://howardlewisship.com
> > >
> > >
> > >
> > > --
> > > Emmanuel DEMEY
> > > Ingénieur Etude et Développement
> > > ATOS Worldline
> > > +33 (0)6 47 47 42 02
> > > demey.emmanuel@gmail.com
> > > http://emmanueldemey.fr/
> > >
> > > Twitter : @EmmanuelDemey
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: dev-help@tapestry.apache.org
> >
> >
>

Re: jQuery 2.x or stick with 1.x?

Posted by Kristian Marinkovic <kr...@gmail.com>.
+1
Am 26.05.2013 19:01 schrieb "Jochen Frey" <jo...@jochenfrey.com>:

> +1
>
> -- j
>
> On May 26, 2013, at 9:06 AM, Emmanuel DEMEY <de...@gmail.com>
> wrote:
>
> > +1 !!!
> >
> >
> > 2013/5/26 Dimitris Zenios <di...@gmail.com>
> >
> >> +1
> >>
> >>
> >> On Sun, May 26, 2013 at 6:58 PM, Howard Lewis Ship <hl...@gmail.com>
> >> wrote:
> >>
> >>> What do people think about moving the embedded jQuery library up to the
> >> 2.x
> >>> version?  I would tend to favor the idea, given that anyone who truly
> >> cares
> >>> can switch it back.
> >>>
> >>> --
> >>> Howard M. Lewis Ship
> >>>
> >>> Creator of Apache Tapestry
> >>>
> >>> The source for Tapestry training, mentoring and support. Contact me to
> >>> learn how I can get you up and productive in Tapestry fast!
> >>>
> >>> (971) 678-5210
> >>> http://howardlewisship.com
> >
> >
> >
> > --
> > Emmanuel DEMEY
> > Ingénieur Etude et Développement
> > ATOS Worldline
> > +33 (0)6 47 47 42 02
> > demey.emmanuel@gmail.com
> > http://emmanueldemey.fr/
> >
> > Twitter : @EmmanuelDemey
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: dev-help@tapestry.apache.org
>
>

Re: jQuery 2.x or stick with 1.x?

Posted by Jochen Frey <jo...@jochenfrey.com>.
+1

-- j

On May 26, 2013, at 9:06 AM, Emmanuel DEMEY <de...@gmail.com> wrote:

> +1 !!!
> 
> 
> 2013/5/26 Dimitris Zenios <di...@gmail.com>
> 
>> +1
>> 
>> 
>> On Sun, May 26, 2013 at 6:58 PM, Howard Lewis Ship <hl...@gmail.com>
>> wrote:
>> 
>>> What do people think about moving the embedded jQuery library up to the
>> 2.x
>>> version?  I would tend to favor the idea, given that anyone who truly
>> cares
>>> can switch it back.
>>> 
>>> --
>>> Howard M. Lewis Ship
>>> 
>>> Creator of Apache Tapestry
>>> 
>>> The source for Tapestry training, mentoring and support. Contact me to
>>> learn how I can get you up and productive in Tapestry fast!
>>> 
>>> (971) 678-5210
>>> http://howardlewisship.com
> 
> 
> 
> -- 
> Emmanuel DEMEY
> Ingénieur Etude et Développement
> ATOS Worldline
> +33 (0)6 47 47 42 02
> demey.emmanuel@gmail.com
> http://emmanueldemey.fr/
> 
> Twitter : @EmmanuelDemey

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Re: jQuery 2.x or stick with 1.x?

Posted by Emmanuel DEMEY <de...@gmail.com>.
+1 !!!


2013/5/26 Dimitris Zenios <di...@gmail.com>

> +1
>
>
> On Sun, May 26, 2013 at 6:58 PM, Howard Lewis Ship <hl...@gmail.com>
> wrote:
>
> > What do people think about moving the embedded jQuery library up to the
> 2.x
> > version?  I would tend to favor the idea, given that anyone who truly
> cares
> > can switch it back.
> >
> > --
> > Howard M. Lewis Ship
> >
> > Creator of Apache Tapestry
> >
> > The source for Tapestry training, mentoring and support. Contact me to
> > learn how I can get you up and productive in Tapestry fast!
> >
> > (971) 678-5210
> > http://howardlewisship.com
> >
>



-- 
Emmanuel DEMEY
Ingénieur Etude et Développement
ATOS Worldline
+33 (0)6 47 47 42 02
demey.emmanuel@gmail.com
http://emmanueldemey.fr/

Twitter : @EmmanuelDemey

Re: jQuery 2.x or stick with 1.x?

Posted by Dimitris Zenios <di...@gmail.com>.
+1


On Sun, May 26, 2013 at 6:58 PM, Howard Lewis Ship <hl...@gmail.com> wrote:

> What do people think about moving the embedded jQuery library up to the 2.x
> version?  I would tend to favor the idea, given that anyone who truly cares
> can switch it back.
>
> --
> Howard M. Lewis Ship
>
> Creator of Apache Tapestry
>
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
>
> (971) 678-5210
> http://howardlewisship.com
>