Thought I''d try and contribute to the growing prototype ecosystem. tabs: http://tetlaw.id.au/view/blog/fabtabulous-simple-tabs-using-prototype/ field validation: http://tetlaw.id.au/view/blog/really-easy-field-validation-with-prototype/ Both real easy and clean to use. Hope y''all can use them somehow. Cheers -- Andrew
Andrew Kaspick
2006-Apr-27 14:15 UTC
Re: Prototype based tabs and field validation. Enjoy!
Nice use of the effects with the validations, looks good. On 4/27/06, Andrew Tetlaw <atetlaw-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Thought I''d try and contribute to the growing prototype ecosystem. > > tabs: > http://tetlaw.id.au/view/blog/fabtabulous-simple-tabs-using-prototype/ > > field validation: > http://tetlaw.id.au/view/blog/really-easy-field-validation-with-prototype/ > > Both real easy and clean to use. Hope y''all can use them somehow. > > Cheers > -- > Andrew > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >
Whitcraft, Jon
2006-Apr-27 14:17 UTC
RE: Prototype based tabs and field validation. Enjoy!
I agree. That is awesome! Jon Whitcraft Web Application Developer Online Services - Indianapolis Motor Speedway (317) 492-8623 -----Original Message----- From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Andrew Kaspick Sent: Thursday, April 27, 2006 10:15 AM To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: Re: [Rails-spinoffs] Prototype based tabs and field validation. Enjoy! Nice use of the effects with the validations, looks good. On 4/27/06, Andrew Tetlaw <atetlaw-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Thought I''d try and contribute to the growing prototype ecosystem. > > tabs: > http://tetlaw.id.au/view/blog/fabtabulous-simple-tabs-using-prototype/ > > field validation: >http://tetlaw.id.au/view/blog/really-easy-field-validation-with-prototyp e/> > Both real easy and clean to use. Hope y''all can use them somehow. > > Cheers > -- > Andrew > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs ******************** ******************** This E-mail (and attachments) may contain confidential/privileged information intended only for the named addressee(s). If you are not an intended recipient, do not read, copy, disseminate or take any action based on the content of this E-mail. Please notify the sender by reply E-mail and erase this E-mail from your system. Your assistance is appreciated. E-mail transmission may not be secure or error-free. The company is not responsible for any loss/damage arising from any virus transmitted. ******************** ********************
Everything looks great. But I have one minor beef with the validation stuff. It has to do with the $ shortcut functions and the fact that that potentially pollutes the global namespace. The practice of defining global functions this way is something that, for my projects, the prototype library helps me avoid (via using a namespacing convention throughout my class libraries). The $ shortcut thing... it beckons back to the days of having myriad libraries in a project and all of a sudden you add a new one and something somewhere breaks because the authors named their functions the same. If everyone writing "the prototype way" keeps adding $[pick a letter of the alphabet] functions, I can see this becoming a problem... there''s only 26 letters in the alphabet, collisions are imminent. Other than that, fine tools. Thank you for the contribution. On 4/27/06, Whitcraft, Jon <jwhitcraft-1LwPDYEpVrH2eFz/2MeuCQ@public.gmane.org> wrote:> > I agree. That is awesome! > > Jon Whitcraft > Web Application Developer > Online Services - Indianapolis Motor Speedway > (317) 492-8623 > > -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of > Andrew Kaspick > Sent: Thursday, April 27, 2006 10:15 AM > To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Subject: Re: [Rails-spinoffs] Prototype based tabs and field validation. > Enjoy! > > Nice use of the effects with the validations, looks good. > > > On 4/27/06, Andrew Tetlaw <atetlaw-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Thought I''d try and contribute to the growing prototype ecosystem. > > > > tabs: > > http://tetlaw.id.au/view/blog/fabtabulous-simple-tabs-using-prototype/ > > > > field validation: > > > http://tetlaw.id.au/view/blog/really-easy-field-validation-with-prototyp > e/ > > > > Both real easy and clean to use. Hope y''all can use them somehow. > > > > Cheers > > -- > > Andrew > > _______________________________________________ > > Rails-spinoffs mailing list > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > ******************** > ******************** > This E-mail (and attachments) may contain confidential/privileged > information intended only for the named addressee(s). If you are not an > intended recipient, do not read, copy, disseminate or take any action based > on the content of this E-mail. Please notify the sender by reply E-mail and > erase this E-mail from your system. Your assistance is appreciated. E-mail > transmission may not be secure or error-free. The company is not responsible > for any loss/damage arising from any virus transmitted. > ******************** > ******************** > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
On 28/04/06, Ryan Gahl <ryan.gahl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> If everyone writing "the prototype way" keeps adding $[pick a letter > of the alphabet] functions, I can see this becoming a problem...Well, perhaps I was trying to be ''too cute'' adding those shortcuts. I''ll re-release it if they really must go.> Other than that, fine tools. Thank you for the contribution. >Thanks! and thanks all! -- Andrew
I think you should just make a $FU function in reply :) Just kiddin'' Greg> -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org[mailto:rails-spinoffs-> bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Andrew Tetlaw > Sent: Thursday, April 27, 2006 8:40 AM > To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Subject: Re: [Rails-spinoffs] Prototype based tabs and fieldvalidation.> Enjoy! > > On 28/04/06, Ryan Gahl <ryan.gahl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > If everyone writing "the prototype way" keeps adding $[pick a letter > > of the alphabet] functions, I can see this becoming a problem... > > Well, perhaps I was trying to be ''too cute'' adding those shortcuts. > I''ll re-release it if they really must go. > > > Other than that, fine tools. Thank you for the contribution. > > > > Thanks! and thanks all! > > > > -- > Andrew > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Andreas Wahlin
2006-May-01 17:40 UTC
Re: Prototype based tabs and field validation. Enjoy!
I think it''s a great work, but I think I will have to toss in my vote on letting the global functions go, they don''t really serve any real critical purpouse do they? Andreas On Apr 27, 2006, at 16:39 , Andrew Tetlaw wrote:> On 28/04/06, Ryan Gahl <ryan.gahl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> If everyone writing "the prototype way" keeps adding $[pick a letter >> of the alphabet] functions, I can see this becoming a problem... > > Well, perhaps I was trying to be ''too cute'' adding those shortcuts. > I''ll re-release it if they really must go. > >> Other than that, fine tools. Thank you for the contribution. >> > > Thanks! and thanks all! > > > > -- > Andrew > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
That''s awesome :-) On 4/27/06, Gregory Hill <Gregory_Hill-l9nu40+TWxQ@public.gmane.org> wrote:> > I think you should just make a $FU function in reply :) > > Just kiddin'' > > Greg > > > -----Original Message----- > > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > [mailto:rails-spinoffs- > > bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Andrew Tetlaw > > Sent: Thursday, April 27, 2006 8:40 AM > > To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > Subject: Re: [Rails-spinoffs] Prototype based tabs and field > validation. > > Enjoy! > > > > On 28/04/06, Ryan Gahl <ryan.gahl-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > If everyone writing "the prototype way" keeps adding $[pick a letter > > > of the alphabet] functions, I can see this becoming a problem... > > > > Well, perhaps I was trying to be ''too cute'' adding those shortcuts. > > I''ll re-release it if they really must go. > > > > > Other than that, fine tools. Thank you for the contribution. > > > > > > > Thanks! and thanks all! > > > > > > > > -- > > Andrew > > _______________________________________________ > > Rails-spinoffs mailing list > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs