Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Best Perl Module for creating multiple web pages with different information in them?

by sundialsvc4 (Abbot)
on Feb 19, 2013 at 13:51 UTC ( [id://1019562]=note: print w/replies, xml ) Need Help??


in reply to Best Perl Module for creating multiple web pages with different information in them?

If what you want to come up with is 2,000 pages of identically or consistently formatted content, then I say in all seriousness that you could use a word-processor to do that.   It is literally an off-shoot of using shell documents to spit out thousands of customized letters from a database.   There is also software out there, e.g. for static generation of on-line catalog pages.   Once the content has been created, you simply let Apache do what Apache already does with this collection of ordinary files.   No Perl or any other sort of programming would be involved.

It’s real easy to look at a task and to jump to a conclusion as to how to get it done.   My guess is that this is what you have inadvertently done here.   Static pages, statically generated by means of an existing tool, are then statically served up.   Finis.

Replies are listed 'Best First'.
Re^2: Best Perl Module for creating multiple web pages with different information in them?
by marto (Cardinal) on Feb 19, 2013 at 14:23 UTC

    Seriously, suggesting a word processor over some scripting for this task? IMHO this advice isn't ideal, what if they have to make a change, for example add/edit/remove something, your suggestion would mean editing the files again. This is a maintenance nightmare, and a very time consuming, boring repetitive task, you know, the stuff computers are much better than humans at doing?

    Update: fixed typo.

      Heard of "mail merge"?

      package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

        I take your point, but I'm a firm believer in using the right tool for the job. Some simple CGI scripting could replicate the functionality demonstrated in the example site. IMHO doing it right the first time would be easier than messing around with a word processor should.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1019562]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (11)
As of 2024-03-28 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found