Sunday 31. May, 2009
So, it seems that people are actually reading my ramblings. For instance, Franck Cuny read my description of the Mojo routes graph generator. Then he took it upon himself to write the Catalyst equivalent. That is just so awesome!
Frank says “For the moment only private actions are graphed.”, hopefully, it can be extended to understand chained actions. I can’t wait to test it out on the iusethis code base. Now I can just hand this graph to Arne when he wants to know which template matches which action.
Wednesday 27. May, 2009
We are testing out Sebastian’s Mojolicious framework for use in a Nordaaker project. Mojolicious uses an routes-based dispatcher, which is nice, but sometimes it’s hard to keep track of how everything is routed. Luckily Melo already has an excellent solution for this:
Just check out MojoX::Routes::AsGraph , which can generate these lovely graphs for you. It can even generate Ascii graphs, if you’re a hard-core console user (Thanks to vti for telling me about that, as well as showing me this module in the first place :).
13:46 < vti> my $graph = MojoX::Routes::AsGraph->graph($r)->as_ascii;
With that the above graph looks something like this:

Would be nice to see something similar for Catalyst, to visualize all the chains and dispatch points.