I''m giving a 30 minute overview of Prototype to our development team tomorrow and I''d like some suggestions as to what to cover. Currently my outline covers $ and $$, Array.each, Ajax, and the Class creation/inheritance from 1.6.0. Is there anything else that I''m missing that would be really useful to newbs? Nathan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
On Feb 13, 2008 12:02 AM, emullet <nathan.peel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Is there anything else that I''m missing that would be really useful to > newbs?Event observers? -justin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Christophe Porteneuve
2008-Feb-13 07:28 UTC
Re: Topics for a quick presentation on Prototype
emullet a écrit :> I''m giving a 30 minute overview of Prototype to our development team > tomorrow and I''d like some suggestions as to what to cover. > > Currently my outline covers $ and $$, Array.each, Ajax, and the Class > creation/inheritance from 1.6.0. > > Is there anything else that I''m missing that would be really useful to > newbs?IMHO, you should stress that 99% of the iteration use-cases already have a method for them in Enumerable. The module is way too underused, I believe. Perhaps event-/time-based observers deserve a mention even in such a short run-through. As for the class system, it really depends on what your team will use Prototype for. There are whole categories of users that will rarely use it. -- Christophe Porteneuve aka TDD tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
- Cross browser DOM abstractions (Event.observe, etc.) handled for you - .bind(this) corrects scope nicely when doing OO design - as Christophe points out, Enumerable-y goodness - arguably the most widely used, and thus most supported baseline library for js development (i.e. higher likelihood of finding devs in future who can read the code) On 2/13/08, Christophe Porteneuve <tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org> wrote:> > > emullet a écrit : > > I''m giving a 30 minute overview of Prototype to our development team > > tomorrow and I''d like some suggestions as to what to cover. > > > > Currently my outline covers $ and $$, Array.each, Ajax, and the Class > > creation/inheritance from 1.6.0. > > > > Is there anything else that I''m missing that would be really useful to > > newbs? > > IMHO, you should stress that 99% of the iteration use-cases already have > a method for them in Enumerable. The module is way too underused, I > believe. Perhaps event-/time-based observers deserve a mention even in > such a short run-through. As for the class system, it really depends on > what your team will use Prototype for. There are whole categories of > users that will rarely use it. > > -- > Christophe Porteneuve aka TDD > tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org > > > >-- Ryan Gahl Manager, Senior Software Engineer Nth Penguin, LLC http://www.nthpenguin.com -- WebWidgetry.com / MashupStudio.com Future Home of the World''s First Complete Web Platform -- Inquire: 1-920-574-2218 Blog: http://www.someElement.com LinkedIn Profile: http://www.linkedin.com/in/ryangahl --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
On Feb 13, 6:02 am, emullet <nathan.p...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m giving a 30 minute overview of Prototype to our development team > tomorrow and I''d like some suggestions as to what to cover. > > Currently my outline covers $ and $$, Array.each, Ajax, and the Class > creation/inheritance from 1.6.0. > > Is there anything else that I''m missing that would be really useful to > newbs? > > NathanI gave a ''lightning tallk'' on Prototype a few months back to the PHP UG I''m a member of, the slides are up at http://www.senokian.com/barking/2007/07/11/quick-introduction-to-prototypejs/ if they''re of any use. Greg --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks for the suggestions guys. Thanks for posting that presentation Greg, I might steal some of your examples. On Feb 13, 3:41 am, G Jones <greg.jo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Feb 13, 6:02 am, emullet <nathan.p...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > I''m giving a 30 minute overview of Prototype to our development team > > tomorrow and I''d like some suggestions as to what to cover. > > > Currently my outline covers $ and $$, Array.each, Ajax, and the Class > > creation/inheritance from 1.6.0. > > > Is there anything else that I''m missing that would be really useful to > > newbs? > > > Nathan > > I gave a ''lightning tallk'' on Prototype a few months back to the PHP > UG I''m a member of, the slides are up athttp://www.senokian.com/barking/2007/07/11/quick-introduction-to-prot... > if they''re of any use. > > Greg--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
don''t forget to mention about having to extend some things explicitly in IE On Wed, Feb 13, 2008 at 9:42 AM, emullet <nathan.peel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Thanks for the suggestions guys. Thanks for posting that presentation > Greg, I might steal some of your examples. > > On Feb 13, 3:41 am, G Jones <greg.jo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > On Feb 13, 6:02 am, emullet <nathan.p...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > I''m giving a 30 minute overview of Prototype to our development team > > > tomorrow and I''d like some suggestions as to what to cover. > > > > > Currently my outline covers $ and $$, Array.each, Ajax, and the Class > > > creation/inheritance from 1.6.0. > > > > > Is there anything else that I''m missing that would be really useful to > > > newbs? > > > > > Nathan > > > > I gave a ''lightning tallk'' on Prototype a few months back to the PHP > > UG I''m a member of, the slides are up > athttp://www.senokian.com/barking/2007/07/11/quick-introduction-to-prot... > > if they''re of any use. > > > > Greg > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
For those coming from OOP languages to JS''s prototype mechanism, the ability to extend from a base class is going to be important. It would be interesting to know what you did present and what questions were asked. Is there a Prototype.Evangelism list around? Showing what we do well is always useful. On 13/02/2008, Brian Williams <brianw1975-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> don''t forget to mention about having to extend some things explicitly in IE > > > > > On Wed, Feb 13, 2008 at 9:42 AM, emullet <nathan.peel-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > Thanks for the suggestions guys. Thanks for posting that presentation > > Greg, I might steal some of your examples. > > > > > > On Feb 13, 3:41 am, G Jones <greg.jo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > On Feb 13, 6:02 am, emullet <nathan.p...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > I''m giving a 30 minute overview of Prototype to our development team > > > > tomorrow and I''d like some suggestions as to what to cover. > > > > > > > Currently my outline covers $ and $$, Array.each, Ajax, and the Class > > > > creation/inheritance from 1.6.0. > > > > > > > Is there anything else that I''m missing that would be really useful to > > > > newbs? > > > > > > > Nathan > > > > > > I gave a ''lightning tallk'' on Prototype a few months back to the PHP > > > UG I''m a member of, the slides are up > athttp://www.senokian.com/barking/2007/07/11/quick-introduction-to-prot... > > > > > > > > > if they''re of any use. > > > > > > Greg > > > > > > > > >-- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---