Earlier quoted context omitted.
Rails philosophy is a full stack framework. Not having to make decisions about your first web app is a huge draw to the framework.
> Rails philosophy is a full stack framework. Not having to make decisions about your first web app is a huge draw to the framework. But you still have to make a lot of decisions. How do you handle user management ? ACL in a Rails app ? AFAIK Rails doesn't come with a default solution to these problems. What do you think is more important for an application ? User management or turbolinks by default ? The former woul…
Drop jQuery as a dependency from Rails
71–80 of 123 posts
Re: Drop jQuery as a dependency from Rails
#72Earlier quoted context omitted.
Sure, DHH said it himself. Rails is for basecamp like apps. Whats the deal?
But is it "for Basecamp like apps". Or is it "for the Basecamp app"? I honestly can't believe a back end framework has minimum supported browser requirements that are basically "use the latest or GTFO".
Most web apps are only tested on the latest browsers anyway, even if they claim to support older browsers. This is true unless you have a very popular app and a very large team.
Re: Drop jQuery as a dependency from Rails
#73Earlier quoted context omitted.
Sure, DHH said it himself. Rails is for basecamp like apps. Whats the deal?
But is it "for Basecamp like apps". Or is it "for the Basecamp app"? I honestly can't believe a back end framework has minimum supported browser requirements that are basically "use the latest or GTFO".
Re: Drop jQuery as a dependency from Rails
#74I never understood why rails has javascript helpers at all. It just does not bring any value in the long run, just complicates stuff. Rails should be js libraries agnostic and not provide any js related helpers out of the box in my opinion.
Re: Drop jQuery as a dependency from Rails
#75--skip-gemfile --skip-git --skip-keeps --skip-active-record --skip-sprockets --skip-spring --skip-javascript --skip-turbolinks --skip-test-unit
Re: Drop jQuery as a dependency from Rails
#76There was an article about a week ago that makes the claim that Rails is tailor-made for Basecamp. This single comment absolutely confirms that point of view: https://github.com/rails/rails/issues/25208#issuecomment-222...
Re: Drop jQuery as a dependency from Rails
#77Omakase implies a certain level of excellence in all the individual choices. I believe Rails is In-N-Out Burger. While it offers few choices, it's reliable and the hamburger is very good. The fries and frontend framework are acceptable but no one goes to In-N-Out for the fries.
Animal Fries tho
Re: Drop jQuery as a dependency from Rails
#78Omakase implies a certain level of excellence in all the individual choices. I believe Rails is In-N-Out Burger. While it offers few choices, it's reliable and the hamburger is very good. The fries and frontend framework are acceptable but no one goes to In-N-Out for the fries.
Animal Fries!!!
[0] http://hackthemenu.com/in-n-out/secret-menu/animal-style-fri...
Re: Drop jQuery as a dependency from Rails
#79Earlier quoted context omitted.
But is it "for Basecamp like apps". Or is it "for the Basecamp app"? I honestly can't believe a back end framework has minimum supported browser requirements that are basically "use the latest or GTFO".
It is for "most web apps" because most web apps are like basecamp, and it isn't "use the latest or GTFO". It is "use the latest by default or add a single line to your gem file if you want to support older browsers." Most web apps are only tested on the latest browsers anyway, even if they claim to support older browsers. This is true unless you have a very popular app and a very large team.
I've worked in web/related fields for about 10 years now, and I've never worked on a project where "fuck it, the latest will do" has been acceptable.
Re: Drop jQuery as a dependency from Rails
#80Rails 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.
Rails is a full-stack framework. One of its strengths is that out of the box you have everything there - database integration, http layer, also JavaScript. Having said that - you have a choice. Rails is about defaults. By default it gives you jQuery, CoffeeScript and TurboLinks, but you don't have to use it at all. I've built a number of Rails apps and most of them use CoffeeScript, but don't use TurboLinks. It took…