This post originated from an RSS feed registered with Perl Buzz
by Chris Winters.
Original Post: Hitting your stride
Feed Title: cwinters.com
Feed URL: http://www.cwinters.com/raw/cwinters_perl.rdf
Feed Description: Chris Winters on Perl, programming and technology
It's a wonderful feeling when you're working on a project and the barrier between an idea and the implementation is almost nonexistent. I was doing work on OI2 last night, trying to get another content generator besides the Template Toolkit working. (Yes, Text::Template works, HTML::Template is coming soon.) Along the way I thought of an feature to swap content generators -- having the option to declare your output destination (template name) in the configuration rather than specify it in the code. (It's not required because I don't want to force people to declare too much.) This makes it easy to create a new action that uses the same code but sends its data to a different output destination and uses a different processing engine-- true MVC! What's fantastic is that took about ten minutes to implement, document and test out. ...