Re: [Proto-Scripty] Thiking to revive the prototype helpers from Rails 2.3 for Rails 5+

2020-02-29 Thread Walter Lee Davis
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

> On Feb 28, 2020, at 7:27 PM, Mathieu Jobin  wrote:
> 
> 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
> 
> -- 
> 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-scriptaculous+unsubscr...@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.

-- 
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-scriptaculous+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prototype-scriptaculous/014E450A-2421-4511-A4F6-DF9A4B54C903%40wdstudio.com.


[Proto-Scripty] Thiking to revive the prototype helpers from Rails 2.3 for Rails 5+

2020-02-29 Thread Mathieu Jobin
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

-- 
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-scriptaculous+unsubscr...@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.