New User? Register here - Existing Users: Username: Password: [Advanced Login]

 

 

Current Poll

Your preferred Interactive shell?









( 1214 votes ~ 14 comments )

 

Weblog entry #204 for Steve

Perl Is Alive
Posted by Steve on Sat 31 Jan 2009 at 00:48
Tags: ,

A couple of years ago when I wanted to setup this site. I looked around for the software to host it. I knew I wanted "a lightweight CMS a little like slashdot", but more than that I wasn't fussy.

Eventually I settled on a project I found listed on Freshmeat called YAWNS. This was suitable because it was simple, extensible, and coded in Perl.

Over a period of a few months I've updated, reorganized it, and generally made it mine. The original project disappeared from freshmeat, although it is still being used elsewhere, and things kept ticking over.

Recently the creator of the original codebase setup a new site:

The site? Written in perl of course. And using my version of his original software. All very circular.

Still for the first time I've been able to update the code documentation to list another known user.

(The code documentation is woefully incomplete, out of date, and that may well explain the reason why nobody else appears to use it publicly. Though I'm prepared to be surprised.

 

Comments on this Entry

Posted by ajt (195.112.xx.xx) on Sat 31 Jan 2009 at 14:21
[ Send Message | View Weblogs ]

It's nice to see another Perl site and it's good that even though built on the same Yawns technology. It looks very different - which means it must be a decent and adaptable site engine. It's a shame most people go with "me too" PHP web sites...

I've already joined and blogged! I'll probably keep my Perl stuff on use Perl; as I've used it for a long while already but it is a possible place to drop Perl code ideas.

--
"It's Not Magic, It's Work"
Adam

[ Parent | Reply to this comment ]

Posted by Steve (2001:0xx:0xx:0xxx:0xxx:0xxx:xx) on Sat 31 Jan 2009 at 14:27
[ Send Message | View Steve's Scratchpad | View Weblogs ]

The original code that I inherited had a nice templated-based layout, so that each "page" of the site came from a distinct HTML::Template file, that was what allowed me to easily change the layout from the other sites using the code.

I like to think I've improved the layout system by moving the layout to a single master-layout template, and reducing each "page" to a small template which is inserted into the body of the master layout. That way the site can have its global look and feel changed via the editing of a single file.

Steve

[ Parent | Reply to this comment ]

Posted by denny (77.101.xx.xx) on Mon 2 Feb 2009 at 13:25
[ Send Message ]
If I were doing it all again, with the benefit of the intervening years of experience, that's exactly how I'd have done it - indeed, that's how I do structure the templating for projects these days.

Although these days I'd probably use TT rather than HTML::Template. My original reasons for choosing H::T are still valid for people stuck in shared hosting, but these days virtual servers are cheap enough that most people don't stay stuck on shared hosting for long.

[ Parent | Reply to this comment ]

 

 

Flattr