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

Re: Is Perl the most adequate language ?

by BrowserUk (Patriarch)
on Oct 17, 2003 at 12:35 UTC ( [id://299990]=note: print w/replies, xml ) Need Help??


in reply to Is Perl the most adequate language ?

All the languages are more than capable for your purpose. Perl's big advantage is CPAN, most everything you would ever want to do (plus quite a lot that you won't) is there, easily available and free. The other languages aren't quite so well-endowed.

Beyond the presonal preference stakes between, a BDSM language like Python, a "Here's the rope. Pull" language like Perl, and a very clean, orthoganal, very-OO, if somewhat slower language like Ruby, then possible deciding factors might be:

  • Which language do you and the other partisipants know best?
  • How complex a site are you putting together. If you can find what you need amongst the other languages repositories, Python's PyPI with 300+ packages or Runy's RAA with it's 1000+ packages, then that could be a deciding factor.

    CPAN has several thousand individual packages, possibly an order of magntude more than either of the others, and probably several alternatives for any use that you might think of, but that in itself isn't necessarily a complete recommendation.

    The problem comes not only from finding the module(s) that do what you want and deciding which is best for your purpose, but also from working out which ones are robust, efficient, well-documented, well-supported and well-designed for their purpose.

Were I currently in the position of taking on the task you have, I think that I would start by coming up with a paper design for the website. A set of storyboards or use cases or whatever your preferred mthod would be. From that I would hope to get a feel for the complexity and nature of the task.

  1. Will it be mostly static or mostly dynamic pages.
  2. Will the number of the pages tend to grow slowly or rapidly.
  3. What sort of hit rates am I expecting?
  4. Will a single server site be sufficient for the forseable future or do I antisipate having to move to a load-balanced environment?
  5. What would be the consequenses of of the site being off-air due to break-downs?
  6. Is security a major issue?
  7. Is a the use of a database an necessary or desirable criteria of the site?

I think that only once you can answer these questions, and no doubt many of the more web-experienced monks will extend this list considerably, will you be in a position to know exactly what the task is you are facing and therefore what external modules (or even whole application frameworks) would be useful to you.

Only then will your decision be able to based on more than personal preferences for one style of programming (language) over another.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
Hooray!

  • Comment on Re: Is Perl the most adequate language ?

Replies are listed 'Best First'.
Re: Re: Is Perl the most adequate language ?
by woolfy (Chaplain) on Oct 17, 2003 at 13:14 UTC
    I could only agree with you.

    Of course, it depends on what you want. I would not create CBT (Computer Based Training) with Perl, for that I would use TenCORE.

    But for system management I've used and I will again use Perl. And for database management. And for interactive webpages. Etc. I don't like Javascript or PHP, just a feeling, just the looks of them. And Java is of course butt ugly. Maybe I would do some C for specific speed related tasks, but that language would take me a while to pick up on again.

    Therefore: Perl.

      Congrats! You are the lucky winner of our 300,000 new node prize!

      You win a free copy of perl (<smallest> downloadable at your own expense from your nearest CPAN repository </smallest>).


      Examine what is said, not who speaks.
      "Efficiency is intelligent laziness." -David Dunham
      "Think for yourself!" - Abigail
      Hooray!

        I'm so honoured by this magnificent gesture, I'm sitting humble in my chair, trying to map my feelings to words, but can't find the correct regexp. Thanks, thanks, thank you all!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-25 10:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found