punch_card_don has asked for the wisdom of the Perl Monks concerning the following question:

Mingling Monks,

As mentined in other recent threads, I have an old static html website to update. The many helpful replies to those threads has lead me to a basic strategy:

A two-stage update. The reasoning is business related, so not much use to diuscuss the obvious technical reasons to do it all in one step.

Step 1: Layout re-design and update navigation - that is, remove frames and go to frameless design; replace old navigation system with a CSS menu system, apply external CSS style formatting, update graphics.

Step 2: Move to a Perl-based Content Management System

So, my question: What can be done in phase 1 to prepare for phase 2? Now, the reason this is somehwat of a Perl question is that whatever can be done to prepare for phase 2 will depend on what Perl CMS is used, so I guess part of this question is for a recommendation of a top Perl-based CMS.

The reason for the CMS is that there is an increasing desire for employees who supply page content to manage that content themselves. They should be able to:

I imagine taking existing html pages to something like

[server side include for all pre-content html] [comment tag] CONTENT [comment tag] [servert side include for all post-content html]
That way, whatever the mark-up requirements of the CMS, I could write a little Perl script that would wander through the hierarchy finding these pre-contenet and post-content tags and automatically insert whatever tags the CMS system needs.

So, in summary, what's a good Perl-based CMS, and what can I do during a re-design/update to make moving to that system later on as easy as possible?

Thanks.




Forget that fear of gravity,
Get a little savagery in your life.

Replies are listed 'Best First'.
Re: Planning for, and selecting a Perl CMS
by ForgotPasswordAgain (Vicar) on Aug 31, 2006 at 14:01 UTC

    I've spent the last four or so years working on/with/for Bricolage (#bricolage on irc.perl.org), and everything you said sounds consistent with it. It's a bit heavyweight and complicated to learn, but it's really flexible (e.g. you can use HTML::Mason, HTML::Template, Template::Toolkit, (or PHP::Interpreter) as template languages). I've imported probably at least 10 different "sites" into our system, through the SOAP interface.

    It's hard to say what you really need to do not knowing your system very well, but consistency is always the main problem I've found. Trying to import sites made with FrontPage, for example, can be awful regardless of what CMS you're going to. You need for the "content" section to be clearly delimited in every HTML file. Then if you used Bricolage you'd need to decide what kind of "elements" you're going to use (Page, Section Header, Teaser Section, Related Links (media link, internal link, external link), Paragraphs, etc.), so having a clear way to map to those elements would be ideal (though it will never happen that way :).

Re: Planning for, and selecting a Perl CMS
by perrin (Chancellor) on Aug 31, 2006 at 18:21 UTC
    Before you jump into a big CMS system, consider your needs. If you need workflow, versioning, structured content (e.g. enter the story title, then the lead paragraph, then add the image, etc.) then consider Krang or Bricolage. If all you need is to let people edit some text files and then slap some CSS and header/footer paint on them, a simple blog-oriented thing like Bloxsom might do it.
Re: Planning for, and selecting a Perl CMS
by jdtoronto (Prior) on Aug 31, 2006 at 15:16 UTC
    My suggestion would be to learn something about a content manager ( we have used Bricolage on a largish site that is yet to be launched ) and then decide how you want to approach the site structure. You will find you have a mass of options and it is best to understand them first, before you try to re-design the site.

    I also have a small team working on a site using Krang as a prototype for a client who is looking at magazine sites. It is specifically magazine oriented so it may not suit you but it is rather robust and well featured also.

    jdtoronto

Re: Planning for, and selecting a Perl CMS
by Anonymous Monk on Feb 10, 2008 at 06:16 UTC
    Hi, I suggest that you start with a flat file perl cms and learn the basics by trying to modify the script (hacks). I recommend you using WebAPP Web Automated Perl Portal, CMS because it is both open source, the best flat db Perl CMS out there and most important because of the great community support there. Jan