Perl vs. PHP: A Personal Experience
Ever since I converted it from a client-side Javascript-powered affair, my online photo gallery has been written in Perl. There have been some challenges along the way, figuring out how to use hash tables has been one, but everything has worked as expected. However, I am now wondering if it is better to write things in PHP for sake of consistency with the rest to the website. I had a go a rewriting the random photo page and, unless I have been missing something in the Perl world, things do seem more succinct with PHP. For instance, actions that formerly involved several lines of code can now be achieved in one. Reading the contents of a file into an array and stripping HTML/XML tags from a string fall into this category and seeing the number of lines of code halving is a striking observation. I am not going to completely abandon Perl, it’s a very nice language, but I do rather suspect that there is now an increased chance of I having a website whose server-side processing needs are served entirely by PHP.
Other Posts That May Interest You
Place your comment
Topics Discussed
Adobe Apache Blog Blogging Canon Command Line CSS Debian Fedora Firefox GNOME Google hard drive Hardware Installation Internet Explorer Linux Microsoft MySQL Opera Operating System Perl Photoshop Photoshop Elements PHP plugin SAS Software SQL Ubuntu UNIX upgrade VirtualBox Virtualisation Virtual Machine Vista VMware Web Browsers Windows Windows XP WordPress WordPress.com WordPress plugins XHTML XPTwitter Updates
- Delicious: Squidoo : Welcome to Squidoo http://ow.ly/18mKhR 19 hrs ago
- Delicious: SAS software users Headquarters http://ow.ly/18mKhS 19 hrs ago
- Delicious: HTML Forms: jQuery Basics - Getting Started - http://www.htmlgoodies.com http://ow.ly/18mu5z 1 day ago
- Delicious: Enterprise Web Content Management Systems (CMS) | RedDot , now OpenText Web Solutions Group http://ow.ly/18kK8v 2 days ago
- Delicious: Content Management System CMS Reviews, CMS News, CMS Analysis http://ow.ly/18kEcm 2 days ago
- More updates...
Monthly Archives