Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: CGI Contact Form / Mailer

by chanio (Priest)
on Feb 14, 2006 at 16:19 UTC ( #530155=note: print w/ replies, xml ) Need Help??


in reply to CGI Contact Form / Mailer

Besides the true reasons previously exposed, I should add that your site is very nicely designed. And that I like the images that you chose. Specially this one: customers.jpg

The whole aspect of the site is very simple and clean. And speaks a lot about what could be expected of the work done. I like the spaces left between the information.

I share your pride of having your good code working as expected. I also did my own form mailer. It was my first code done with CGI::Application and HTML::Template. But I wouldn't show it here, since it might be far from being perfect in what today matters: security, ecology, style, etc.


Comment on Re: CGI Contact Form / Mailer
Re^2: CGI Contact Form / Mailer
by vladb (Vicar) on Feb 14, 2006 at 16:30 UTC
    Thanks for the good mention, chanio. Frankly, I have no idea why, say, I never took the time to look into NMS. I still believe my script is different and I'll stick to using it, with a few minor security fixes in place. Personally, I believe it's different from the one offered through NMS and I find (oddly enough, heh) it to be easier to use. Since I began writing my own mailer script some three years ago (at which time, I doubt, NMS version was in place anyway), it's been always a work in progress.

    Looking back, I don't know what devil pushed me to package it up for public consumption. I should really think twice next time.. or at the least, maybe post it in the Discussion session for some constructive criticism.


    _____________________
    "We've all heard that a million monkeys banging on a million typewriters will eventually reproduce
    the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true."

    Robert Wilensky, University of California

      Well, I used to like Matt's scripts, anyway. He had the spirit of the first american people that populated North America. In other words, he did it all by himself. Not using CPAN modules.

      Then, other fans like me (or that just wanted to correct Matt's big and famous mistakes: NMS), rewrote all those well known scripts correcting all their security flaws and adding some tested modules.

      Why? Because, modules are like 'cans' of experience in specific aspects. I wouldn't dare to write better ones without spending some years in the effort. They are done by people that have to deal with certain issues because of their work and afterwards they decide to share their experience with the perl community to make all our jobs easier, better and 'safer'.

      Normally, after trying coding all by myself (without any module), the next step is doing a newer version all handled by modules. It is very easy after I have understood all what was required to do it on my own. It is a safer code because there are lots of security aspects to take into acount in order to put my code in the web.

      We all have to learn this lesson, since it is never well explained from the start. Don't worry. Next code published, try to do it simpler or with modules. That's all!

        Then, other fans like me (NMS), rewrote all those famous scripts, but correcting all the security flaws and adding modules.

        One small correction. The people who rewrite Matt's scripts were certainly not fans of Matt Wright :)

        --
        <http://dave.org.uk>

        "The first rule of Perl club is you do not talk about Perl club."
        -- Chip Salzenberg

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2014-07-29 01:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls