Gathering momentum.
Apr. 23rd, 2014 03:03 amI haven't quite psyched myself up to dust off my DW code yet, although my outstanding vgifts code did get committed, and I'm pleased about that. I still have quite a few other branches dangling, though, and some of them just need testing, which means updating my dev environment. Ugh.
In the meantime, I've been spending my time lately writing lightweight webapps using the Perl Dancer framework. I love how little code it requires to get a simple idea up and running, with no "dev environment" at all. Since the web service is built in, I don't have to fuss around with Apache, and it's very easy to attach the Perl debugger if things begin to act weird.
One of my Dancer projects is on Github: Clean All The Things, a tool for tracking housework task status. When I first started that project, it was just a command line script and a database file, but it has gradually grown in complexity. I'm very pleased with how it's turned out, though.
I love using Template Toolkit. I love how it separates the page display logic from the rest of the code, but is still powerful enough to handle concepts like FOREACH. I love that I can edit a page template and reload my browser to see the changes without having to restart the web server. I love how each call to render a template passes its own little package of variables to use, so I don't have to worry about scoping. I don't think I'll ever want to write web pages any other way again.
I do still bump up against occasional quirks, though. Today I was writing a page that used hardcoded hash keys of the form "foo.2a" and TT interpreted that as "foo.2" followed by an unexpected token "a". I had to write it as foo.${'2a'} before it could understand me.
Anyway, to make a long story short, I have been writing code lately, and I'll try to transition back into coding for Dreamwidth after I finish my current pet project.
In the meantime, I've been spending my time lately writing lightweight webapps using the Perl Dancer framework. I love how little code it requires to get a simple idea up and running, with no "dev environment" at all. Since the web service is built in, I don't have to fuss around with Apache, and it's very easy to attach the Perl debugger if things begin to act weird.
One of my Dancer projects is on Github: Clean All The Things, a tool for tracking housework task status. When I first started that project, it was just a command line script and a database file, but it has gradually grown in complexity. I'm very pleased with how it's turned out, though.
I love using Template Toolkit. I love how it separates the page display logic from the rest of the code, but is still powerful enough to handle concepts like FOREACH. I love that I can edit a page template and reload my browser to see the changes without having to restart the web server. I love how each call to render a template passes its own little package of variables to use, so I don't have to worry about scoping. I don't think I'll ever want to write web pages any other way again.
I do still bump up against occasional quirks, though. Today I was writing a page that used hardcoded hash keys of the form "foo.2a" and TT interpreted that as "foo.2" followed by an unexpected token "a". I had to write it as foo.${'2a'} before it could understand me.
Anyway, to make a long story short, I have been writing code lately, and I'll try to transition back into coding for Dreamwidth after I finish my current pet project.