perl beginner looking to write very simple blog software; what do Ineed to know?

perl beginner looking to write very simple blog software; what do Ineed to know?

am 20.08.2010 07:43:11 von Matthew Young

Hi guys. I wrote a post to the Perl subreddit of reddit.com asking
about writing very simple blogging software. Something similar to
this: http://metastatic.org/source/blog/. The original post is here:
http://www.reddit.com/r/perl/comments/d38u2/ask_perl_i_want_ to_write_a_minimalist_piece_of/

Anyway, I got this reply: "Your project sounds very modest in scope
and looks to me like a candidate for a feathery-light, non-framework
approach -- for example, potentially just a script to merge your blog
entries with a template or two, and generate static pages, served by
Apache maybe?"

My questions for you guys are, as a perl neophyte, what do I need to
know to take this feathery-light approach, and where can I learn these
things? I don't have any experience with web programming, but I'm
looking to get started with a project and thought this might be a
good start. Thanks guys.


--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: perl beginner looking to write very simple blog software; what do I need to know?

am 20.08.2010 16:46:06 von Shlomi Fish

On Friday 20 August 2010 08:43:11 Matthew Young wrote:
> Hi guys. I wrote a post to the Perl subreddit of reddit.com asking
> about writing very simple blogging software. Something similar to
> this: http://metastatic.org/source/blog/. The original post is here:
> http://www.reddit.com/r/perl/comments/d38u2/ask_perl_i_want_ to_write_a_mini
> malist_piece_of/
>
> Anyway, I got this reply: "Your project sounds very modest in scope
> and looks to me like a candidate for a feathery-light, non-framework
> approach -- for example, potentially just a script to merge your blog
> entries with a template or two, and generate static pages, served by
> Apache maybe?"
>
> My questions for you guys are, as a perl neophyte, what do I need to
> know to take this feathery-light approach, and where can I learn these
> things? I don't have any experience with web programming, but I'm
> looking to get started with a project and thought this might be a
> good start. Thanks guys.

Well, if you don't want to use a full-blown framework such as Catalyst, then
at least look at one of the lightweight frameworks such as Dancer (
http://perldancer.org/ ) or Mojolicious-Lite (
http://search.cpan.org/perldoc?Mojolicious::Lite ). I've also done some work
with CGI::Application, but it doesn't give you a lot.

For a good templating system, I can recommend http://template-toolkit.org/
(HTML::Template has been unmaintained for a long time, though there seem to be
some active clones and spin-offs on CPAN, and I never really liked it.).

Finally, I should note that Altreus and I are working on a blog engine called
Catable (short for CATAlyst BLog Engine) based on Catalyst, Template Toolkit
and DBIx::Class. You can find what we have so far here:

http://github.com/shlomif/catable/tree

We're planning it to be a full-featured blog engine - not a "very simple" one,
but naturally no one will be forced to make use of all of its feature. If
you'd like to join, then let me know and I may be able to give you some
guidance. (We haven't made a lot of progress with it lately).

Regards,

Shlomi Fish

--
------------------------------------------------------------ -----
Shlomi Fish http://www.shlomifish.org/
Parody on "The Fountainhead" - http://shlom.in/towtf

God considered inflicting XSLT as the tenth plague of Egypt, but then
decided against it because he thought it would be too evil.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/