Rails should stop messing with Javascript all together. Drop JQuery, CoffeeScript, TurboLinks and what not and let the users decide what to use, make it optional. Rails shouldn't require a JS engine in order to run.
Drop jQuery as a dependency from Rails
11–20 of 123 posts
Re: Drop jQuery as a dependency from Rails
#12Earlier quoted context omitted.
Is this a legacy thing? I'm a web dev for 10 years now and never used jQuery directly. (I used Ember for half a year, which seems to have jQuery as dependency)
So did you do JS development back in 2006 without jQuery?
Re: Drop jQuery as a dependency from Rails
#13Earlier quoted context omitted.
Is this a legacy thing? I'm a web dev for 10 years now and never used jQuery directly. (I used Ember for half a year, which seems to have jQuery as dependency)
So did you do JS development back in 2006 without jQuery?
Re: Drop jQuery as a dependency from Rails
#14Rails should stop messing with Javascript all together. Drop JQuery, CoffeeScript, TurboLinks and what not and let the users decide what to use, make it optional. Rails shouldn't require a JS engine in order to run.
Re: Drop jQuery as a dependency from Rails
#15Re: Drop jQuery as a dependency from Rails
#16As a web dev for the last 15 years or so, this is amazing news. The browsers are finally getting to a point where the pain jQuery solved, is going away.
Re: Drop jQuery as a dependency from Rails
#17Rails should stop messing with Javascript all together. Drop JQuery, CoffeeScript, TurboLinks and what not and let the users decide what to use, make it optional. Rails shouldn't require a JS engine in order to run.
Yep, I use Rails to host Sidekiq background workers. Have absolutely no use for the front-end stuff.
Re: Drop jQuery as a dependency from Rails
#18Re: Drop jQuery as a dependency from Rails
#19Earlier quoted context omitted.
Is this a legacy thing? I'm a web dev for 10 years now and never used jQuery directly. (I used Ember for half a year, which seems to have jQuery as dependency)
If you've been a web dev for 10 years then you'll know that the most fundamental tool for scripting is a pain point (document ready), jQuery did a good job of abstracting the nuances away, see: http://stackoverflow.com/questions/799981/document-ready-equ...
I'm also not sure I'd call document ready the most fundamental as a lot of people (including me) used to use onclick='' and onload='' directly on elements back then when we all loaded script tags in the head.
Re: Drop jQuery as a dependency from Rails
#20Rails should stop messing with Javascript all together. Drop JQuery, CoffeeScript, TurboLinks and what not and let the users decide what to use, make it optional. Rails shouldn't require a JS engine in order to run.
The problem is if the prototype is successful, it becomes the production system and all the things that helped initial development start to hurt maintenance. That though is a different topic.
My point is having Rails give a good set of starting vectors for all things web development is a big part of why it is so quick to get started, it's what makes it great for prototyping.