Is My Perl, CGI, MYSQL Site Obsolete?
That is the question that one person asks in the web programming discussion forum at WebProWorld.
Member ericjw says:
I am not a back-end person, but I try my hardest to understand. I have recently been considering a phase 2 design for our site. It’s a match-making style website in a niche industry. I had several programmers actually turn my work down because it was written in Perl. He then was telling me about re-engineering my site.
The site works fine, but it could really be improved with a usability expert and programmer to get the site to peak efficiency.
Do I have a dinoasar on my hands? What are the implications for future growth? Am I trying to try to grow my business on something that will be obsolete in several years?
These are all fair questions to which a few WebProWorld posters seemed eager to answer. Member stymiee replies:
Perl has been passed by PHP in terms of popularity for web-based software. But Perl itself is hardly obsolete. The odds are they just don’t know Perl and are trying to convince you to redo your site so they can get the job and the big payday.
You will find it a little more difficult to find Perl programmers then other more popular languages but you should still be able to do it without it costing you an arm and a leg.
Then came Kgun with a thoughtful answer (or opinion at least):
1. I have not coded a single line in Perl and do not know the language. I know PHP fairly well.
2. I have not coded a single line in C#, but have participated on seminars demonstrating C#. To me it looked like a simplified version of C++, the same as Java IMO.
3. C++, C#, Java, PHP and Perl are all C inspired languages. C++ is the OO language I know best.
If the only tool you have is a hammer, soon everything starts to look like a nail. Who can hit the nail on the head?
Use the language that you master and your company / institution supports. Any better?
I am not PHP, but a little (Borland C++ Builder) religious
Regarding security: If you are on an Apache server as many are, learn to tame that server, especially how to use .htaccess to improve security on your site.
I think the owner of this forum, know .htaccess better than most of us and look at the free downloads. He also knows ASP and the MS IIS web server.
Final word: The fine thing with OO PHP is that you can write a database connection class (API) that can be used independent of platform, be it MySQL, PostgreSQL … If you do it correct, you need only change a single line in your code to change database platform.
Please check out the thread and add your two cents to the discussion or at the very least read what other members have added.