{"id":3923,"date":"2014-05-12T23:07:49","date_gmt":"2014-05-12T23:07:49","guid":{"rendered":"http:\/\/www.bartbusschots.ie\/blog\/?p=3923"},"modified":"2014-08-04T20:33:12","modified_gmt":"2014-08-04T20:33:12","slug":"xkpasswd-2-0-want-to-watch-the-sausage-get-made","status":"publish","type":"post","link":"https:\/\/www.bartbusschots.ie\/s\/2014\/05\/12\/xkpasswd-2-0-want-to-watch-the-sausage-get-made\/","title":{"rendered":"XKPasswd 2.0 &#8211; Want to Watch the Sausage get Made?"},"content":{"rendered":"<p>I&#8217;m betting most people won&#8217;t be interested in this, but if anyone&#8217;s curious how this programmer goes about building up a perl module from scratch, you can watch along on as I build XKPasswd 2.0 over on GITHub: <a href=\"https:\/\/github.com\/bbusschots\/xkpasswd.pm\" title=\"XKPasswd.pm project on GITHub\" target=\"_blank\">github.com\/bbusschots\/xkpasswd.pm<\/a>.<\/p>\n<p>I&#8217;m re-implementing XKPasswd from scratch. The resulting functionality will be mostly the same, but with some additions. The reason for starting over is two-fold. Firstly, the first implementation of XKPasswd was very much a prototype, and as with any prototype, I learned some valuable lessons, and there are lots of things I&#8217;d do differently if I was doing it again. Secondly, the first version of XKPasswd is almost three years old now, and since then, my Perl skills have increased a lot. Probably the single biggest difference between the me of 2014 and the me of 2011 is that I read <a href=\"http:\/\/shop.oreilly.com\/product\/9780596001735.do\" title=\"Perl Best Practices by Conway\" target=\"_blank\">Perl Best Practices<\/a>, and started to run all my Perl code through <a href=\"http:\/\/search.cpan.org\/perldoc?Perl%3A%3ACritic\" title=\"Perl Critic on CPAN\" target=\"_blank\">Perl Critic<\/a>. Another big difference is that, thanks to <a href=\"http:\/\/jquery.com\" title=\"The JQuery JavaScript Library\" target=\"_blank\">JQuery<\/a>, I&#8217;ve fallen in love with Code References in all the languages I use that support them, including Perl.<\/p>\n<p>Since this is a re-write, I&#8217;m really focusing on building a solid foundation, so I&#8217;m starting with the utility functions that will let me build up functionality gradually, and I&#8217;m writing the user documentation in parallel with the code. Before every commit to GITHub, everything that&#8217;s done so far is getting documented with POD, and, the code has to pass Perl Critic with no warnings.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m betting most people won&#8217;t be interested in this, but if anyone&#8217;s curious how this programmer goes about building up a perl module from scratch, you can watch along on as I build XKPasswd 2.0 over on GITHub: github.com\/bbusschots\/xkpasswd.pm. I&#8217;m re-implementing XKPasswd from scratch. The resulting functionality will be mostly the same, but with some [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[12,440,16],"tags":[410,408,267],"series":[],"class_list":["post-3923","post","type-post","status-publish","format-standard","hentry","category-computers-tech","category-tech-projects","category-programming","tag-hsxkpasswd","tag-open-source","tag-perl"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7t9xK-11h","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/posts\/3923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/comments?post=3923"}],"version-history":[{"count":2,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/posts\/3923\/revisions"}],"predecessor-version":[{"id":3926,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/posts\/3923\/revisions\/3926"}],"wp:attachment":[{"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/media?parent=3923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/categories?post=3923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/tags?post=3923"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/www.bartbusschots.ie\/s\/wp-json\/wp\/v2\/series?post=3923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}