Re: RFC: SWISH::API
Nic Gibson <[email protected]> Tue, 26 Sep 2006 03:19:11 -0700 (PDT)
| Newsgroups | gmane.comp.web.swish-e |
|---|---|
| Message-ID | <[email protected]> |
On Sep 22, 2006, at 21:58, Peter Karman wrote: > I am in the midst of making some changes to SWISH::API and while > I'm at it, > thinking about Swish-e 3. I wondered what others think about the > current > implementation of SWISH::API. Are there things you like about it? > Things you don't? > > There was a thread here http://swish-e.org/archive/ > 2004-11/8620.html about this > subject awhile back. Just before the last release, as a matter of > fact. > > Here are some thoughts I've had; please comment. > > 1. Make it easier to subclass > > 2. As in the link above, let new() accept an array or arrayref of > index names. > Or better yet, key/value pairs like other OO Perl modules. > > 3. Add an indexing API of some kind. > > Don't worry about whether the current code would support your API > ideas. Just > toss 'em out here. > -- > Peter Karman . http://peknet.com/ . [email protected] > A really minor thing that manages to drive me crazy is the method naming conventions being so different to perl's standards (ok, conventions). Upper case methods, in other words. cheers nic