|
Recent
Articles |
Enterprise 2.0 in a Box A small dream of mine came true. We've been preaching an ecosystem of tools for some time now. We've helped customers stitch them together in interesting ways.
Using External JavaScript Source Files By now most web designers and developers know that JavaScript causes a real headache for search engine spiders.
Creating an RSS 2.0 Feed If you can learn HTML, you can easily learn how to build your own RSS 2.0 feeds. I'll take you through the steps to creating an RSS feed from scratch.
Hit Counter 2.0, Or "Web 2.0 Metrics" Way back in the early days of the Web (you know, before AdSense, blog spam, web mail, and dynamic HTML) were these things called hit counters.
The ROR Advantage: No Spider Discrimination! Search engine optimization is a very complex science, but at its heart is the simple rule: to format your website in such a way that spiders can immediately recognize and index its content.
Webtop, RIA, and "Webified" There were some interesting discussions late last week regarding Rich Internet Applications (RIA), a new term called "webified", and the webtop.
Firefox 2 Beta 2 Available To You The obligatory notice about the Firefox 2 Beta 2 browser being a developer preview release made available for testing purposes only has been duly noted.
Firefox Developers Invited To Microsoft Sam Ramji of Microsoft's Open Source Software Lab extended an invitation to Mozilla's Firefox development team to spend some time at Redmond to receive Vista support for the Firefox browser and Thunderbird...
Go Jam With Google Code The fourth annual coding competition presented by Google offers the top 100 programmers...
Yahoo Search SDK Updated Newer libraries and new languages for Yahoo Search's software development kit have brought support for Ruby, Lua, and Ajax widgets to developers.
Webmaster Questions for CMS Developers Before Oneupweb, I worked at an online children's store. One of my many duties there (my desk was always covered in toys) was to manage our store's migration to an entirely new e-commerce platform.
Why Web Standards Could Be Making You Ill As the Internet moves from its haphazard, low-tech beginnings towards what some have called 'the semantic web', people are becoming ever more concerned with making their web pages and blogs (and the HTML and CSS code behind them) as high quality as possible...
|
|
 |
 |
|
11.22.06 Is My Perl, CGI, MYSQL Site Obsolete?
By Chris Crum
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.
My impression:
• C# and Java are as stated above simplified versions of C++. Was C++ too difficult for mainstream developement?
• PHP is becoming a fully OO language, has a large user community, a growing number of class libraries and extensions.
All languages have their pros and cons. I do not know Ajax. PHP is very flexible, the closest you can come to JavaScript with a server side (scripting) language in creating dynamic behaviour and user interaction on a web site as far as I know. May be Perl is equally flexible. The loose typing of PHP, its inbuild variables has its advantages. Because it is an interpreted (scripting) language it is more flexible (at runt time) than a compiled language. For some dynamic webpages, you need the flexibility that only Java Script can offer and the flexibility that PHP can offer as a serverside language. I would not have written an authentication system in JavaScript. Some people would perhaps not have written it in PHP. What about Perl?
Subjective facts:
• If I should develope a number chruncing system for a financial institution today, I would definitely not use Fortran (I know fortran fairly well). But Fortran programs will continue to live for years in large financial institutions.
• According to what I have skimmed and read about Perl, Perl is comparable to PHP in functionality. I think I have read that somebody mean that Perl is better on security related projects. I am not sure how relevant that argument is today if it is true, since you can improve security in PHP (e.g. session handling) by writing your own classes.
• Time is sometimes a critical factor and you have to take a decision, I personally choose PHP as a comparable flexible interpreted language to Perl.
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.
About the Author: Chris is a staff writer for WebProNews. Visit WebProNews for the latest ebusiness news.
|