diff options
| author | Franck Cuny <franckcuny@gmail.com> | 2016-07-02 20:04:59 -0700 |
|---|---|---|
| committer | Franck Cuny <franckcuny@gmail.com> | 2016-07-02 20:04:59 -0700 |
| commit | 8f187c573954b6c8d1650ac33a164c52e032ac16 (patch) | |
| tree | c605d0cf51d272393006e5486bfdc24984cf801f /_posts/2009-05-30-catalystx-dispatcher-asgraph.md | |
| parent | Update some posts to make the tests pass. (diff) | |
| download | lumberjaph-8f187c573954b6c8d1650ac33a164c52e032ac16.tar.gz | |
Stop using Jekyll.
Moving away from Jekyll to Hugo. This commit clean up the old files to
prepare for the migration.
Diffstat (limited to '')
| -rw-r--r-- | _posts/2009-05-30-catalystx-dispatcher-asgraph.md | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/_posts/2009-05-30-catalystx-dispatcher-asgraph.md b/_posts/2009-05-30-catalystx-dispatcher-asgraph.md deleted file mode 100644 index c9165fd..0000000 --- a/_posts/2009-05-30-catalystx-dispatcher-asgraph.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -layout: post -title: CatalystX::Dispatcher::AsGraph -summary: In which I wrote a module to visualize routes in Catalyst. ---- - -This morning I saw [this post](http://marcus.nordaaker.com/awesome-route-graph-with-mojoxroutesasgraph/) from Marcus Ramberg about [MojoX::Routes::AsGraph](http://search.cpan.org/perldoc?MojoX::Routes::AsGraph). I liked the idea. But as I Catalyst instead of Mojo, I thought I could give a try and do the same thing for Catalyst dispatcher, and I've coded CatalystX::Dispatcher::AsGraph. For the moment only private actions are graphed. - -<img src='/static/imgs/routes-300x249.webp' alt='routes'> - -You use it like this: `perl bin/catalyst_graph_dispatcher.pl --appname Arkham --output routes.png` - -You can create a simple script to output as text if you prefer: - -{% highlight perl %} -#!/usr/bin/perl -w -use strict; -use CatalystX::Dispatcher::AsGraph; - -my $graph = CatalystX::Dispatcher::AsGraph->new_with_options(); -$graph->run; -print $graph->graph->as_txt; -{% endhighlight %} - -The code is on [my git server](http://git.lumberjaph.net/p5-catalystx-dispatcher-asgraph.git/) for the moment. - -For thoses who are interested by visualization, I'll publish soon some (at least I think) really nice visualisations about CPAN, Perl, and his community, that we have created at [$work](http://rtgi.fr). |
