Not hard, at all. I've written dozens.
As I mentioned briefly in the last post, I started to write CatalystX::SimpleLogin.. This worked ok, but I then tried to refactor it as a set of traits you could automatically apply via config... At which point it all blew up, as if to remind me that writing anything really generically IS HARD WORK.
Witness the epic yak shaving exercise I then managed to indulge in, resulting in a Catalyst branch, new CatalystX::Component::Traits, new MooseX::Traits::Pluggable, new Catalyst::Controller::ActionRole, more patches on Catalyst::Action::REST, and last but not least new MooseX::MethodAttributes.
So all of this is going to block ::SimpleLogin from getting to CPAN for a while, and role combination with method attributes roles (which this really needs before I go much further) hasn't really gone anywhere since I last posted.
I should probably use this all as an excuse to stop hacking on CX::SimpleLogin any more, at least until I've finished the code for YAPC some.. :)
- How hard could writing a login form possibly be?