jrockway's Journal
http://use.perl.org/~jrockway/journal/
jrockway's use Perl Journalen-ususe Perl; is Copyright 1998-2006, Chris Nandor. Stories, comments, journals, and other submissions posted on use Perl; are Copyright their respective owners.2012-01-25T02:26:12+00:00pudgepudge@perl.orgTechnologyhourly11970-01-01T00:00+00:00jrockway's Journalhttp://use.perl.org/images/topics/useperl.gif
http://use.perl.org/~jrockway/journal/
Catalyst book is out!
http://use.perl.org/~jrockway/journal/35112?from=rss
<p>
My <a href="http://www.packtpub.com/catalyst-perl-web-application/book">Catalyst
book</a> is out and is beginning to appear in the hands of fellow
Catalyst users! You can buy it from Amazon and local book stores, but
it looks like the publisher
(<a href="http://www.packtpub.com/">Packt</a>) has the best price
right now.
</p><p>
Basically, this book covers getting started with Catalyst. The goal
is to take you from "what's MVC?" to being able to write complete web
applications with Catalyst. We'll build a few complete applications
including an address book, a mini-blog, and ChatStat (which is
basically <a href="http://ircxory.jrock.us/">Ircxory</a> but with a
Template Toolkit interface instead of one built with
Template::Declare).</p><p>
Along the way you'll learn all about Catalyst, DBIx::Class, and the
Template Toolkit. I cover REST interfaces, AJAX (with Jemplate), RSS,
testing, deployment, and more. The book is very hands-on oriented; I
usually explain what sort of code I want to write, write the code, and
then explain what the code does. If necessary, we look at theoretical
examples of when related features would be useful, and then move on to
the next piece of code.
</p><p>
The full PR blurb is on
the <a href="http://www.packtpub.com/catalyst-perl-web-application/book">book's
website</a>, so please take a look.
</p>jrockway2007-12-16T08:37:34+00:00booksperl buzz
http://use.perl.org/~jrockway/journal/34113?from=rss
Looks like Andy Lester has started his own version of use.perl at <a href="http://perlbuzz.com/">http://perlbuzz.com/</a>.
<br>
TMTOWTDI!jrockway2007-08-15T06:58:46+00:00journalemacs template for perl modules
http://use.perl.org/~jrockway/journal/33244?from=rss
<p>Here's the template.el template I use for<nobr> <wbr></nobr>.pm files:</p><p><code><br># Copyright (c) (>>>YEAR<<<) Jonathan Rockway <jrockway@cpan.org></code></p><p><code>package (>>>PACKAGE_NAME<<<);<br>use strict;<br>use warnings;<br>(>>>POINT<<<)<br>1;<br>>>>TEMPLATE-DEFINITION-SECTION<<<<br>("PACKAGE_NAME" (insert-string<br>(let ((filename (buffer-file-name)))<br>
(if (string-match "lib/\\(.+\\)[.]pm$" filename)<br>
(let ((mod (match-string 1 filename)))<br>
(while (string-match "/" mod)<br>
(setq mod (replace-match "::" nil nil mod)))<br>
mod)<br>
(if (string-match "\\([^/]+\\)[.]pm$" filename)<br>
(match-string 1 filename)<br>
"UNKNOWN")))<br>))<br></code><br>The nice part is that it knows what the name of your module is. If you C-x C-f lib/Foo/Bar/Baz.pm, then the package declaration at the top will say Foo::Bar::Baz (and will auto-create lib/Foo/Bar for you). I've been using this for a few months and realized that it's too convenient to keep to myself<nobr> <wbr></nobr>:)</p>jrockway2007-05-10T20:17:14+00:00journalPlanet Catalyst in Japanese
http://use.perl.org/~jrockway/journal/31379?from=rss
<p>Planet Catalyst is now bilingual!</p><p>I've been noticing that a lot of Japanese bloggers have been blogging about Catalyst, so I asked <tt>jwang++</tt> to set up a Japanese language Planet Catalyst. The result is here:</p><p><a href="http://planet.catalystframework.org/jp/">http://planet.catalystframework.org/jp/</a></p><p>This is in addition to the English version at:</p><p><a href="http://planet.catalystframework.org/">http://planet.catalystframework.org/</a></p><p>Even if you don't read Japanese, you might find the code examples intriguing. If you find something that looks particularly interesting, I'll translate it and post it (with the permission of the original author).</p><p>Finally, if you'd like to have your blog included, please let us know (#catalyst-dev on irc.perl.org).</p><p>Thanks to all the contributing bloggers!</p>jrockway2006-10-22T06:11:14+00:00journal