List Info

Thread: Nitro Prototype helpers




Nitro Prototype helpers
user name
2006-12-18 19:45:25
there is no need to add any helpers for jquery  it is as
simple as
it gets, adding an   extra layer of ruby above jquery would
only
complicate things. Jquery may not be the best design but it
works very
well with the current nitro design (this is not perfect
either ).

-g.

On 12/18/06, Jonathan Buch <johnoxyliquit.de> wrote:
> Hi,
>
> > does anyone use the nitro Prorotype javascript
helpers? I would like
> > to remove them. It seems to me they are not really
useful. You can use
> > JQuery to do whatever a (rails/rjs) system does
only better.
>
> could you add the jquery, but only deprecate the
prototype helpers?
>
> class MyController < Nitro::Controller
>    helper :javascript_prototype
> end
>
> We can remove those then in a few iterations after
people who still use
> prototype switched to jquery.
>
> I removed javascript from Oxy just because it creates
more load...  If I
> had a better system I'd probably still using it. :P
>
> Jo
>
> --
> Feel the love
> http://pinkjuice.c
om/pics/ruby.png
> _______________________________________________
> Nitro-general mailing list
> Nitro-generalrubyforge.org
> h
ttp://rubyforge.org/mailman/listinfo/nitro-general
>


-- 
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
_______________________________________________
Nitro-general mailing list
Nitro-generalrubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/nitro-general
Nitro Prototype helpers
user name
2006-12-19 08:36:24
Hi,
> there is no need to add any helpers for jquery  it is as
simple as
> it gets, adding an   extra layer of ruby above jquery
would only
> complicate things. Jquery may not be the best design
but it works very
> well with the current nitro design (this is not perfect
either ).

Ah, this is good.  :P  Then I propose to add a big 'will be
deprecated'
mark in the next release and remove it after that.

Jo

_______________________________________________
Nitro-general mailing list
Nitro-generalrubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/nitro-general
Nitro Prototype helpers
user name
2006-12-19 09:37:44
Ok.

On 12/19/06, Jonathan Buch <johnoxyliquit.de> wrote:
> Hi,
> > there is no need to add any helpers for jquery
 it
is as simple as
> > it gets, adding an   extra layer of ruby above
jquery would only
> > complicate things. Jquery may not be the best
design but it works very
> > well with the current nitro design (this is not
perfect either ).
>
> Ah, this is good.  :P  Then I propose to add a big
'will be deprecated'
> mark in the next release and remove it after that.
>
> Jo
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-generalrubyforge.org
> h
ttp://rubyforge.org/mailman/listinfo/nitro-general
>


-- 
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
_______________________________________________
Nitro-general mailing list
Nitro-generalrubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/nitro-general
Nitro Prototype helpers
user name
2006-12-20 09:20:16
On 12/19/06, Jonathan Buch <johnoxyliquit.de> wrote:
> Hi,
> > there is no need to add any helpers for jquery
 it
is as simple as
> > it gets, adding an   extra layer of ruby above
jquery would only
> > complicate things. Jquery may not be the best
design but it works very
> > well with the current nitro design (this is not
perfect either ).
>
> Ah, this is good.  :P  Then I propose to add a big
'will be deprecated'
> mark in the next release and remove it after that.

Do we need to deprecate the prototype-helpers?
i would imagine that one can use either... also avoiding
changes.
I mean, the helpers are not broken or anything, so why
remove the functionality?
it is just that one has to use either one, since they
conflict with each other.

how about aliasing the current :javascript helper to be
:prototype and
add the :jquery helper as well?

not so sure about additional helpers which build upon
these... are
there any? i think i remember something... gotta investigate


^manveru

>
> Jo
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-generalrubyforge.org
> h
ttp://rubyforge.org/mailman/listinfo/nitro-general
>
_______________________________________________
Nitro-general mailing list
Nitro-generalrubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/nitro-general
Nitro Prototype helpers
user name
2006-12-20 09:20:16
On 12/19/06, Jonathan Buch <johnoxyliquit.de> wrote:
> Hi,
> > there is no need to add any helpers for jquery
 it
is as simple as
> > it gets, adding an   extra layer of ruby above
jquery would only
> > complicate things. Jquery may not be the best
design but it works very
> > well with the current nitro design (this is not
perfect either ).
>
> Ah, this is good.  :P  Then I propose to add a big
'will be deprecated'
> mark in the next release and remove it after that.

Do we need to deprecate the prototype-helpers?
i would imagine that one can use either... also avoiding
changes.
I mean, the helpers are not broken or anything, so why
remove the functionality?
it is just that one has to use either one, since they
conflict with each other.

how about aliasing the current :javascript helper to be
:prototype and
add the :jquery helper as well?

not so sure about additional helpers which build upon
these... are
there any? i think i remember something... gotta investigate


^manveru

>
> Jo
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-generalrubyforge.org
> h
ttp://rubyforge.org/mailman/listinfo/nitro-general
>
_______________________________________________
Nitro-general mailing list
Nitro-generalrubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/nitro-general
Nitro Prototype helpers
user name
2006-12-20 13:18:35
I would like to simplify the framework, and in the process
remove some
code that is not really useful and is hard to maintain. I
don't think
that the prototype helpers are that useful. Perhaps we can
provide
them as nitro plugins (or nitro components). Anw, this is
food for
thoughts...

-g.

On 12/20/06, Michael Fellinger <m.fellingergmail.com> wrote:
> On 12/19/06, Jonathan Buch <johnoxyliquit.de> wrote:
> > Hi,
> > > there is no need to add any helpers for
jquery  it is as
simple as
> > > it gets, adding an   extra layer of ruby
above jquery would only
> > > complicate things. Jquery may not be the best
design but it works very
> > > well with the current nitro design (this is
not perfect either ).
> >
> > Ah, this is good.  :P  Then I propose to add a big
'will be deprecated'
> > mark in the next release and remove it after that.
>
> Do we need to deprecate the prototype-helpers?
> i would imagine that one can use either... also
avoiding changes.
> I mean, the helpers are not broken or anything, so why
remove the functionality?
> it is just that one has to use either one, since they
conflict with each other.
>
> how about aliasing the current :javascript helper to be
:prototype and
> add the :jquery helper as well?
>
> not so sure about additional helpers which build upon
these... are
> there any? i think i remember something... gotta
investigate 
>
> ^manveru
>
> >
> > Jo
> >
> > _______________________________________________
> > Nitro-general mailing list
> > Nitro-generalrubyforge.org
> > h
ttp://rubyforge.org/mailman/listinfo/nitro-general
> >
> _______________________________________________
> Nitro-general mailing list
> Nitro-generalrubyforge.org
> h
ttp://rubyforge.org/mailman/listinfo/nitro-general
>


-- 
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
_______________________________________________
Nitro-general mailing list
Nitro-generalrubyforge.org
h
ttp://rubyforge.org/mailman/listinfo/nitro-general
Nitro Prototype helpers
user name
2006-12-20 20:11:22
I agree that Prototype helpers aren't that useful and jQuery should be the "default" js library for Nitro. And it's so easy to create a plugins and get the helpers, that one who miss them can easily create the plugin and post it in LoxParts

On 12/20/06, George Moschovitis < george.moschovitisgmail.com">george.moschovitisgmail.com> wrote:
I would like to simplify the framework, and in the process remove some
code that is not really useful and is hard to maintain. I don't think
that the prototype helpers are that useful. Perhaps we can provide
them as nitro plugins (or nitro components). Anw, this is food for
thoughts...

[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )