My protip is: writing a plugin by itself is the wrong way to go about it, first of all. First, find a problem that you need solved, even if it's a half made-up problem. Write a library for it which works independently of Rails (unless of course the problem is a Rails problem). And then should Rails integration through, say, helpers, classes, or what have you be necessary, write the modules that pick the methods from your library and expose them to Rails.
I'll give you an analogy: lots of front-end developers write jQuery plugins that should be standalone libraries just because they can't think things through. You can do just the same: write a standalone library, then write the bridge separately. That makes for better software. On Sun, Jun 24, 2012 at 10:05 AM, Mark Wotton <[email protected]> wrote: > It's very difficult to build something in isolation - if it's not > being done for an immediate purpose, then chances are you'll choose > the wrong set of features. > Look at Rails itself - it was extracted from a series of projects, so > only things that they actually used made it in. That's why it was so > much easier to learn than a lot of the feature-encrusted java > frameworks that came before... > > mark > > On Sat, Jun 23, 2012 at 7:13 PM, raj deshmukh <[email protected]> > wrote: >> HI Pat, >> Actually this is for a MS project, so it might not be specific to what I >> do. But I would like to built a general Plugin that people might like to >> use. >> >> Raj >> >> >> On Saturday, June 23, 2012 12:51:38 PM UTC+5:30, Pat Allan wrote: >>> >>> Hi Raj >>> >>> I think it's really best to find something that *you* want to use across >>> more than one project, and make that gem or plugin. If you're not going to >>> use it, it's much much harder to build - and you're less likely to be >>> interested in what you're doing. >>> >>> Cheers >>> >>> -- >>> Pat >>> >>> On 23/06/2012, at 6:17 AM, raj deshmukh wrote: >>> >>> > I want to create a plugin as a part of my project work, I would like to >>> > create something that would be useful to the Ruby/rails community >>> > >>> > Please suggest some ideas. >>> > >>> > -- >>> > You received this message because you are subscribed to the Google >>> > Groups "Ruby or Rails Oceania" group. >>> > To view this discussion on the web visit >>> > https://groups.google.com/d/msg/rails-oceania/-/GwOUiyba_xwJ. >>> > To post to this group, send email to [email protected]. >>> > To unsubscribe from this group, send email to >>> > [email protected]. >>> > For more options, visit this group at >>> > http://groups.google.com/group/rails-oceania?hl=en. >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby or Rails Oceania" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/rails-oceania/-/pFwUxspK2MAJ. >> >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/rails-oceania?hl=en. > > > > -- > A UNIX signature isn't a return address, it's the ASCII equivalent of a > black velvet clown painting. It's a rectangle of carets surrounding a > quote from a literary giant of weeniedom like Heinlein or Dr. Who. > -- Chris Maeda > > -- > You received this message because you are subscribed to the Google Groups > "Ruby or Rails Oceania" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rails-oceania?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
