I''ve just written a tutorial on writing plugins that use the Engines 1.2 plugin. The latest release of Engines changes quite a few things, and while they''re all documented in the rdoc, I''ve pulled them together into a more easily-digestible format for beginners. It''s at http://gwyn.dezyne.net/page/writing_a_plugin_with_engines_ . I''ve also released a plugin called Macaque, which is a brutally simple wiki. It''s at http://gwyn.dezyne.net/page/macaque . I''d be interested in feedback on either or both. Cheers, Gwyn. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Looks nice Gwyn, One suggestion though. I''d go for module Macaque mattr_accessor :option self.option = "something'' end rather than @@option = "something" since it''s better to work with the interface that mattr_accessor guarantees, rather than relying on how it''s implemented :) James On Mar 7, 2:48 pm, "Gwyn Morfey" <dezyne....-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> I''ve just written a tutorial on writing plugins that use theEngines > 1.2 plugin. The latest release ofEngineschanges quite a few things, > and while they''re all documented in the rdoc, I''ve pulled them > together into a more easily-digestible format for beginners. > > It''s athttp://gwyn.dezyne.net/page/writing_a_plugin_with_engines_. > > I''ve also released a plugin called Macaque, which is a brutally simple > wiki. It''s athttp://gwyn.dezyne.net/page/macaque. > > I''d be interested in feedback on either or both. > > Cheers, > > Gwyn.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> mattr_accessor :option > self.option = "something''Done - thanks. Gwyn. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hey Gwyn, It''s useful to have all this information in one place. Thanks! Hammed On 3/8/07, Gwyn Morfey <dezyne.net-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> > > I''ve just written a tutorial on writing plugins that use the Engines > 1.2 plugin. The latest release of Engines changes quite a few things, > and while they''re all documented in the rdoc, I''ve pulled them > together into a more easily-digestible format for beginners. > > It''s at http://gwyn.dezyne.net/page/writing_a_plugin_with_engines_ . > > I''ve also released a plugin called Macaque, which is a brutally simple > wiki. It''s at http://gwyn.dezyne.net/page/macaque . > > I''d be interested in feedback on either or both. > > Cheers, > > Gwyn. > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---