Thiking to revive the prototype helpers from Rails 2.3 for Rails 5+

37 views
Skip to first unread message

Mathieu Jobin

unread,
Feb 29, 2020, 11:39:17 AM2/29/20
to Prototype & script.aculo.us
I think the JS world as gone bad... I really like how things were with prototype JS and friends.
especially the helpers in ruby...

I wonder if there would be other people interested in using them.
I believe the last version was in rails 2.3.18, and prototype 1.6.0 was included at the time.

so I would try to make this work with rails 5 and 6, first.
then upgrading the library to 1.7.3+

would anyone else uses them? or would like to participate?

cheers,

Mathieu

Walter Lee Davis

unread,
Feb 29, 2020, 11:51:32 AM2/29/20
to prototype-s...@googlegroups.com
I have used Prototype.js in Rails up to 4.2, and it worked well there. Goodies like the sortable list and other Script.aculo.us bits were usable there as well. I didn't try very hard to use them in 5, because by that time I was also working to use Bootstrap, and that was harder to use without jQuery. While it is possible to use both at once, I refuse to do that to my visitors.

It's ironically quite a bit easier to use Prototype in Rails >= 6, because there is no longer a hard dependency on jQuery. And the next Bootstrap will no longer require jQuery either.

As far as the Rails bits, I agree, it would be nice to have some of that back. Perhaps we could start by writing some helpers first, and then extract them out to a gem.

Walter
> --
> You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to prototype-scripta...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/prototype-scriptaculous/fba2902f-c375-4c62-9419-747654cb12be%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages