Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Perl and Websites

by myoung151279 (Initiate)
on Nov 27, 2003 at 12:59 UTC ( [id://310524]=perlquestion: print w/replies, xml ) Need Help??

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

Greetings,

I have to create an interface for a website, to allow content management. The content itself is generated using perl scripts, parsing directories. Being a novice to perl, am a little confused. Does anyone know of any information sources that look at this topic specifically, as I am having great trouble finding the information that I need. Any other hints along the subject would be greatly appreciated.

Thanks in advance

Matt

Replies are listed 'Best First'.
Re: Perl and Websites
by PodMaster (Abbot) on Nov 27, 2003 at 13:23 UTC
Re: Perl and Websites
by barrd (Canon) on Nov 27, 2003 at 13:28 UTC
    ..."create an interface for a website, to allow content management"... "Being a novice to perl"...
    Eek! :-)

    I've built several interfaces along the lines you have described and here is the best advice I can give you on the subject. The difficult part is error trapping, building a CMS is pretty easy* if you don't care about input from the lusers that use the system.

    Get to know perl well before attempting this, also learn the Db system you will be using inside-out (you will be using a relational Db, not flatfiles?).

    *Getting back to the point, you will be amazed, nay, dismayed by the utter rubbish (and potentially dangerous) content that people will put in using a web based CMS. I can personally guarantee that. So, learn all you can about what is suitable and safe to allow, parse that first, then, and only then allow writing to the Db.

Re: Perl and Websites
by bradcathey (Prior) on Nov 28, 2003 at 02:51 UTC
    The complexities of writing a CMS make it a daunting task, even for the experienced programmers. But, as pointed out in the above replies, there is more to CMS than Perl, or coding of any kind.

    First, there is the architecture. How will the system work, what resources can be used, who will design the database?

    Secondly, there is interface design. I have clients who have paid big bucks for exotic CMS's, but who shun them because of their complexity and difficulty in actual use.

    Thirdly, there are security issues--even well-meaning users can unwittingly input crazy stuff.

    Lastly (well, not really), there's the coding and testing itself.

    IMHO, check out off-the-shelf systems, or open source ones like Typo3. Are you sure you even need a database-driven CMS? Look at editors like Macromedias Contribute.

    Take it from one who is there, learning Perl smartly enough to write a workable and safe CMS will be a long process. "Order out" is my advice.

    —Brad
    "A little yeast leavens the whole dough."

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-23 11:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found