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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 1/16/08, DAZ <daz4126-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 Donald http://destiney.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Jan 18, 11:01 pm, "Greg Donald" <gdon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
A plugin would be nicer and easier to manage. On Jan 19, 2008 7:01 AM, Greg Donald <gdonald-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On 1/16/08, DAZ <daz4126-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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 Donald > http://destiney.com/ > > > > >-- Ramon Tayag --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---