stvn and I decided to add a transparent persistence layer to
Tree::Simple for work-related purposes. As most projects are wont to do, this ended up being a complete rewrite with better error-handling, a basic event model, transparent persistence to both a file and/or DB (or both simultaneously) and a straightened-out API. Because of the API changes (and cause
stvn hates the name Tree::Simple), it was decided that this would be its own distro. And, thus the problems start.
My development names were "Forest" (for the distro) and "Tree"/"Tree::Binary" for the two trees I've implemented thus far. I obviously cannot upload with those names as Tree is owned by Schwern and Tree::Binary is owned by stvn. But, it's very likely that if you're using Forest, you haven't downloaded Tree (which hasn't been updated in years) or Tree::Binary (because it doesn't have all the really great features Forest does). And, it makes a lot more sense to call it "Tree" instead of "Forest::Tree" or "II::Tree", etc.
So, here's the idea stvn came up with - we call it Forest (containing the distro-level documentation, but no code), Forest::Tree, and Forest::Tree::Binary. (The persistence layer is already called Forest::Persist, with various subclasses from there.) And you will be able to do:
- use Forest 'Tree'; (or something) which will load Forest::Tree, but alias it to Tree
- use Forest; will load the whole distro, but provide no aliasing
- use Forest ':all'; will load the whole thing and alias away the "Forest::"
Basically, Forest would act as a class loader of sorts. You don't have to use it, but I know we would.
Does anyone have an opinion on this? What about other ideas? Neither stvn and I don't feel comfortable asking Schwern for "Tree" because it's a TLN with a ton of other modules underneath it. I know I'd be miffed if someone came along and took over a TLN right from under (over?) me, especially when their stuff had nothing to do with mine.
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.