This is that api I propose. If it is agreed upon by core team then a
patch can easily be created.
# create a demo app with prototype javascript
# in this way current behavior is not changed
> rails init demo
# create a demo app with latest stable jquery
# http://github.com/rails/jquery-ujs should
It is a very good idea! I'm a beginner, and still have some problems
with setting up Rails with a workable database... so it won't be fun,
if a beginner has to pay attention also for choosing the better JS
library - while maybe he doesn't have any idea about Js at all!
Anyway: jQuery is much better
Prototype looks more like Ruby, but I like jQuery better.
On Tue, May 25, 2010 at 2:23 PM, Karl wrote:
> +1 for jQuery.
>
> It's tough to get people to switch, so I think you should have a
> choice. Ship with both perhaps.
>
> But I think the syntax and philosophy of jQuery is more similar to
+1 for jQuery.
It's tough to get people to switch, so I think you should have a
choice. Ship with both perhaps.
But I think the syntax and philosophy of jQuery is more similar to
Ruby than Protoype is similar to Ruby. I think it would be easier for
new people to pick up jQuery than Prototype,
I think that picking a single default that works for the majority,
while retaining the possibility of opting out is the way to go. Having
a command line switch that toggles different implementations may be
nice, but it also incurs a much bigger maintenance work, as the sheer
number of combinations
-/+1
yes - it should be easy to select, but one has to differentiate between first
time users and heavy users.
first time users might not be able to choose between various types of orm,
jslib, testlib ... and so they will choose the default.
i think well thought defaults are important as they
On 25-May-10, at 10:54 AM, Allen Madsen wrote:
I don't particularly care which is the default, but I think it should
be easy to pick either. Maybe a flag on the rails command like -d for
the database. You could do something like:
rails myapp -j=jquery
Allen Madsen
http://www.allenmadsen.com
I don't particularly care which is the default, but I think it should
be easy to pick either. Maybe a flag on the rails command like -d for
the database. You could do something like:
rails myapp -j=jquery
Allen Madsen
http://www.allenmadsen.com
On Mon, May 24, 2010 at 6:10 PM, Yehuda Katz wro
Just to be clear, I don't think there's any doubt that jQuery has far more
users, both in the Rails space and in the general space. So I don't think
that determining that jQuery is used more by Rails 3 users will result in
changing the defaults.
I'd like to hear from other Rails core team members
I suppose once 3.0 is released and it's just as easy to use jQuery
with Rails as Prototype, it should be easy to determine which one
people are using more often and then make that the default for 3.1.
I'm also pretty convinced jQuery will come out far ahead.
On Mon, May 24, 2010 at 18:27, Ryan Big
+1 jQuery
On May 25, 2010, at 2:57 AM, Ryan Bigg wrote:
> Death to prototype! Long live jQuery!
>
> Ryan Bigg / Radar
>
> On 25/05/2010, at 6:17, Rodrigo Rosenfeld Rosas wrote:
>
>> Em 24-05-2010 16:00, Jeff escreveu:
>>> On May 24, 10:54 am, Daniel Schierbeck
>>> wrote:
>>>
Hi there, so
Death to prototype! Long live jQuery!
Ryan Bigg / Radar
On 25/05/2010, at 6:17, Rodrigo Rosenfeld Rosas
wrote:
Em 24-05-2010 16:00, Jeff escreveu:
On May 24, 10:54 am, Daniel Schierbeck
wrote:
Hi there, sorry to bring this topic up yet again, but I feel that
some
time has passed, and
Em 24-05-2010 16:00, Jeff escreveu:
On May 24, 10:54 am, Daniel Schierbeck
wrote:
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 pre
On May 24, 10:54 am, Daniel Schierbeck
wrote:
> 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
14 matches
Mail list logo