Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Extract prototype related helpers into a plugin

#1006

This is really a suggestion, maybe I can plant a seed and it will grow into something. I'm sure I'm not the first person to mention this either.

With jQuery in the picture it doesn't make sense to tie rails down to prototype. All of the javascript helpers are prototype specific, etc. Also, with jQuery, javascript helpers in general are not needed because its so easy to write unobtrusive javascript. Wouldn't it be smarter to extract all of this prototype specific code out into a plugin?

Every time I update rails I have to go in and delete the javascript files that I don't want, etc. Just seems very "unrails" like.

At the time rails was created prototype was probably the best choice, but I'm not sure that's true anymore. Maybe it's time to rethink this?

Just something I was thinking about. Thanks for listening.

Reported by Ben Johnson · September 9th, 2008 @ 07:43 PM

State: wontfix
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Frederick Cheung
    Frederick Cheung
    • State changed from new to wontfix

    This was discussed not too long ago on rails core and the consensus seemed to be no

    December 10th, 2008 @ 05:30 PM