Re: [Rails-core] Default JavaScript library

2010-06-14 Thread Xavier Noria
We discussed in this thread usage stats. Usage stats seem to favor Prototype, though of course it has been the default since the beginning and that matters. On the other hand, stats about what people prefer *now* suggest that's clearly jQuery: http://survey.hamptoncatlin.com/survey/stats I t

Re: [Rails-core] Default JavaScript library

2010-05-28 Thread Daniel Schierbeck
I think Rails 3.1 would be the appropriate target. Daniel -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-c...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Andrew Kaspick
I'd like to see vbscript as the default, but I guess we can wait until Rails 3 ships first. On Thu, May 27, 2010 at 4:57 PM, Ryan Bigg wrote: > > On 28 May 2010 07:24, Norman Clarke wrote: >> >> Why? SQLite3 was made the default database in 2.0.2 and the world >> didn't stop. It's a change that

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Ryan Bigg
On 28 May 2010 07:24, Norman Clarke wrote: > Why? SQLite3 was made the default database in 2.0.2 and the world > didn't stop. It's a change that affects people creating new Rails > applications - not ones that have already been created. > There's a big difference between changing the default dat

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Yehuda Katz
I agree. Let's get 3.0 out and table this until then. Deal? Yehuda Katz Architect | Engine Yard (ph) 718.877.1325 On Thu, May 27, 2010 at 2:24 PM, Norman Clarke wrote: > Why? SQLite3 was made the default database in 2.0.2 and the world > didn't stop. It's a change that affects people creating

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Norman Clarke
Why? SQLite3 was made the default database in 2.0.2 and the world didn't stop. It's a change that affects people creating new Rails applications - not ones that have already been created. I'm a big fan of jQuery too but maybe at this point it would be nice to take an issue off the core team's tabl

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Daniel Schierbeck
I personally disagree. With a limit backwards compatibility, current Prototype users could have a simple command line switch to regain their old default. Furthermore, I feel that the default JS library is the least coupled piece of Rails 3 -- changing it is rather unobtrusive, as long as bindings a

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Ryan Bigg
I would not go changing this in a minor release. Major or bust. Ryan Bigg / Radar On 28/05/2010, at 1:58, Norman Clarke wrote: On Thu, May 27, 2010 at 12:45, Xavier Noria wrote: On Thu, May 27, 2010 at 5:32 PM, Yehuda Katz wrote: The idea that 16% of Rails users use jQuery is divorced f

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Ernie Miller
On May 27, 2010, at 12:51 PM, Daniel Schierbeck wrote: > Xavier, I for one never use jRails -- in fact, neither do most of the > rails devs i know. We do, however, use jQuery. > > The JavaScript helpers in Rails 2.3 were rather ugly, from a jQuery point > of view, which probably explains why not

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Daniel Schierbeck
Xavier, I for one never use jRails -- in fact, neither do most of the rails devs i know. We do, however, use jQuery. The JavaScript helpers in Rails 2.3 were rather ugly, from a jQuery point of view, which probably explains why not that many people felt like using jRails. Daniel On Thu, May 27,

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Xavier Noria
On Thu, May 27, 2010 at 5:55 PM, Andy Jeffries wrote: > I completely disagree, just because people don't use jrails, doesn't > mean they're a prototype user.  I generally bring in jQuery manually > and delete all the prototype cruft from my projects, but I then write > my own jQuery code to do sp

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Adam Hunter
Taking a sampling of libraries from the home pages of the six example sites listed on http://rubyonrails.org/ (Who is already on Rails?) jQuery: Twitter, Shopify, Yellow Pages, Github Prototype: Basecamp, Lighthouseapp I only looked at the source of the home pages, and may have missed a jQuery

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Norman Clarke
On Thu, May 27, 2010 at 12:45, Xavier Noria wrote: > On Thu, May 27, 2010 at 5:32 PM, Yehuda Katz wrote: > >> The idea that 16% of Rails users use jQuery is divorced from reality. > > But you are talking perceptions, and the sample talks numbers. > > Of course 16% has to be taken with some margin

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Andy Jeffries
> Of course 16% has to be taken with some margins, but you can't deny it > makes difficult to claim that the vast majority of Rails developers > use jQuery exclusively, which was the claim in (1). That is a strong > claim! (1 was originally stated as a feeling not a fact, that's fine). > > If the p

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Mateo Murphy
On 27-May-10, at 11:32 AM, Yehuda Katz wrote: The idea that 16% of Rails users use jQuery is divorced from reality. I can devise some experiments to prove that, but I have seen no evidence in my travels of a huge amount of people using anything else. I freely agree that people use Protoype, Moo

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Xavier Noria
On Thu, May 27, 2010 at 5:32 PM, Yehuda Katz wrote: > The idea that 16% of Rails users use jQuery is divorced from reality. But you are talking perceptions, and the sample talks numbers. Of course 16% has to be taken with some margins, but you can't deny it makes difficult to claim that the vas

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Yehuda Katz
The idea that 16% of Rails users use jQuery is divorced from reality. I can devise some experiments to prove that, but I have seen no evidence in my travels of a huge amount of people using anything else. I freely agree that people use Protoype, MooTools and Dojo. The number of people who do so, in

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Jarkko Laine
On 27.5.2010, at 18.11, Yehuda Katz wrote: > At every talk I give at a conference, I ask whether people use jQuery > in their Rails apps. In every case, close to 100% of the room raises > their hands. In all fairness, I think that's a bit misleading question. I raised my hand when you asked it i

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Xavier Noria
On Thu, May 27, 2010 at 4:58 PM, Albert Llop wrote: > Projects using jQuery dont necessarily use jRails so I dont think that 16% > is a real indicator of the usage of jQuery in Rails projects. As I said, I don't expect that to be a significant percent. > At least to me it seems like the problem

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Yehuda Katz
At every talk I give at a conference, I ask whether people use jQuery in their Rails apps. In every case, close to 100% of the room raises their hands. jRails is a replacement for the Rails helpers only; I personally know a huge number of people who use jQuery with jRails. In short jRails usage !=

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Albert Llop
Projects using jQuery dont necessarily use jRails so I dont think that 16% is a real indicator of the usage of jQuery in Rails projects. At least to me it seems like the problem of having Prototype as default affects mostly to new people. Advanced users will just install jRails and use jQue

Re: [Rails-core] Default JavaScript library

2010-05-27 Thread Xavier Noria
On Mon, May 24, 2010 at 5:54 PM, Daniel Schierbeck wrote: >  1. It is my feeling that the vast majority of the Rails community use > jQuery exclusively. This report from RailsLab says jRails is used by about 16% of RPM users: http://railslab.newrelic.com/2010/05/25/state-of-the-stack-a-ruby-on-

[Rails-core] Default JavaScript library

2010-05-24 Thread Daniel Schierbeck
Hi there, sorry to bring this topic up yet again, but I feel that some time has passed, and that the landscape has changed. Currently, Prototype is the default option in Rails. While switching to jQuery is pretty easy, it's not as easy as not having to switch at all, and this being Rails and all,