On 2012-10-09 15:07, Brian Katzung wrote:
My previous message appears to have gone to the bit bucket (no sign
of it in almost 24 hours; my apologies if this pops up as a repost).
My "yet another text template module" has these as some major design
goals:
* Absolutely bare-bones syntax (it is my hope that even
non-programmer users (with some limited training) can edit templates)
* "String-sized" templates (like "useful and still fits in a
varchar(255)")
* Control over maximum text length and number of template "steps"
executed in order to prevent accidental or malicious
denial-of-service
attacks
It is content agnostic, and initially targeted toward application
message localization, but there is nothing that makes it specific to
that use. I plan on using it in a CMS system I'm developing, but
there's nothing that makes it specific to that either. It's not a
derivative of another template system. (I searched CPAN for
template-related stuff, including Template::Toolkit and company,
Text::Template, and (HTML::)Mason and didn't see anything similar; if
I missed another similar package, I would love to hear about that
too.)
I've been developing under "Text::TemplateLite" (for light-weight
syntax, size, and resource usage), but I realize it's yet another one
of those "Simple, Easy, Reduced, Tiny,..." names and I'm hoping
someone can share some specific wisdom rather than general
guidelines.
I'd honestly try coming up with some semi-random name for it; either a
random acronym (i.e. BASTT - Brian's Awesome Text Templates) or just
open a dictionary and pick a word at random. There are enough
templating systems out there that trying to pick a meaningful name for
it is probably meaningless. Then release it under
Text::YourAwesomeName.
Daniel T. Staal
---------------------------------------------------------------
This email copyright the author. Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes. This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------