# (announce) Engines 1.2 plugin creation tutorial

**URL:** <https://www.ruby-forum.com/t/announce-engines-1-2-plugin-creation-tutorial/88015>\
**Category:** Rails\
**Created:** [March 7, 2007, 3:51pm UTC](https://www.ruby-forum.com/t/announce-engines-1-2-plugin-creation-tutorial/88015 "2007-03-07T15:51:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gwyn\_Morfey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/f9ae1b/32.png) [@Gwyn\_Morfey](https://www.ruby-forum.com/u/Gwyn_Morfey)\
**Post date:** [March 7, 2007, 3:51pm UTC](https://www.ruby-forum.com/t/announce-engines-1-2-plugin-creation-tutorial/88015/1 "2007-03-07T15:51:44Z")

</div>

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\_](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](http://gwyn.dezyne.net/page/macaque) .

I’d be interested in feedback on either or both.

Cheers,

Gwyn.

---

<div class="post-metadata">

**Author:** ![Gwyn\_Morfey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/f9ae1b/32.png) [@Gwyn\_Morfey](https://www.ruby-forum.com/u/Gwyn_Morfey)\
**Post date:** [March 8, 2007, 10:33am UTC](https://www.ruby-forum.com/t/announce-engines-1-2-plugin-creation-tutorial/88015/2 "2007-03-08T10:33:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Gwyn\_Morfey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/f9ae1b/32.png) [@Gwyn\_Morfey](https://www.ruby-forum.com/u/Gwyn_Morfey)\
**Post date:** [March 8, 2007, 11:01am UTC](https://www.ruby-forum.com/t/announce-engines-1-2-plugin-creation-tutorial/88015/3 "2007-03-08T11:01:25Z")

</div>

> ```
> mattr_accessor :option
> self.option = "something'
> 
> ```

Done - thanks.

Gwyn.

---

<div class="post-metadata">

**Author:** ![Gwyn\_Morfey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/f9ae1b/32.png) [@Gwyn\_Morfey](https://www.ruby-forum.com/u/Gwyn_Morfey)\
**Post date:** [March 8, 2007, 1:50pm UTC](https://www.ruby-forum.com/t/announce-engines-1-2-plugin-creation-tutorial/88015/4 "2007-03-08T13:50:54Z")

</div>

Hey Gwyn,

It’s useful to have all this information in one place. Thanks!

Hammed
