Generator or Plugin

I’ve made a very simple CMS to help build simple web site. It contains
a page model and allows you to add new pages using the markdown
language. I’d like to abstract this functionality as I feel that I
might want to use it in future sites that I build. and have been
reading the Rails recipe book. My options appear to be: Write a
generator that will produce all the relevant code or Create a plugin
that will add this functionality to a site. Has anybody got any
suggestions/reasons why I should go with one or the other, or is there
a third way?

cheers,

DAZ

On 1/16/08, DAZ [email protected] wrote:

I’ve made a very simple CMS to help build simple web site. It contains
a page model and allows you to add new pages using the markdown
language. I’d like to abstract this functionality as I feel that I
might want to use it in future sites that I build. and have been
reading the Rails recipe book. My options appear to be: Write a
generator that will produce all the relevant code or Create a plugin
that will add this functionality to a site. Has anybody got any
suggestions/reasons why I should go with one or the other, or is there
a third way?

Copy and paste?


Greg D.
http://destiney.com/

On Jan 18, 11:01 pm, “Greg D.” [email protected] wrote:

Copy and paste?

hmmm…there are quite a number of files and folders involved. I’m not
sure this is the most efficient way of doing it?

DAZ

A plugin would be nicer and easier to manage.

On Jan 19, 2008 7:01 AM, Greg D. [email protected] wrote:

suggestions/reasons why I should go with one or the other, or is there


Ramon T.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs