Results 1 to 13 of 13
  1. #1
    Newbie
    Join Date
    February 10th, 2005
    Posts
    44
    which language to learn?
    So, I've got some c++ knowledge (computer science student, end of 2nd year) and I want to learn a language to help me manage and grow my websites. I am currently considering Perl or or PHP. I want to do stuff like write (or modify) forum scripts, comment scripts, content management scripts, site search, search engine, and e-cards scripts. I would also like to write a program kind of like a scraper program (but of course I would NOT be using it like those junk scraper sites) that I assume would be an actual executable and not a script.

    What language(s) would you suggest?

  2. #2
    Member infoscott's Avatar
    Join Date
    March 17th, 2005
    Posts
    126
    PHP is the rising star, especially with version 5. 5 Is very well suited for OOP. That version is just not deployed much yet because PHP 4 writers assumed things that break in 5. My second choice would be Python; as there are some interesting things done with it, and I think it's OOP design is a little purer. Python is probably better for programming in the large, if you start working with teams.

  3. #3
    Moderator MichaelColey's Avatar
    Join Date
    January 18th, 2005
    Location
    Mansfield, TX
    Posts
    16,232
    Why not learn both PHP and Perl? PHP is great for web development, and Perl is great for the back end portions of a site (scraping, datafeed processing, and those types of things).
    Michael Coley
    Amazing-Bargains.com
     Affiliate Tips | Merchant Best Practices | Affiliate Friendly? | Couponing | CPA Networks? | ABW Tips | Activating Affiliates
    "Education is the most powerful weapon which you can use to change the world." Nelson Mandela

  4. #4
    ABW Ambassador Snib's Avatar
    Join Date
    January 18th, 2005
    Location
    Virginia
    Posts
    5,303
    I'm with Michael on this one. PHP is great for the front end processing and perl is much faster for data crunching. I really should do more perl myself, but I've gotten lazy - PHP is just too fun and easy!

    - Scott
    Hatred stirs up strife, But love covers all transgressions.

  5. #5
    Full Member
    Join Date
    January 18th, 2005
    Location
    UK
    Posts
    273
    Maybe it is a cultural thing but PHP code seems to encourage the writing of code that is easier to read and more maintainable. However that might be my mainframe roots showing through ( having had bad experiences of people writing assembler code that was a pig to maintain ).

    Don't know if there is an equivalent in Perl but I now try and write all my new PHP using classes which also helps to keep it manageable.

    Les

  6. #6
    Full Member markschok's Avatar
    Join Date
    January 18th, 2005
    Posts
    269
    Definitely PHP. I found it fairly easy to get to grips with compared to PERL. Also, look at the number of scripts available on hotscripts under perl and php. There's more and more under PHP as people are switching over. PHP's more fun too.

  7. #7
    Not Verif-Lidated infoTim's Avatar
    Join Date
    January 18th, 2005
    Location
    Sunny Florida
    Posts
    1,021
    Aside from stright web applications, the past few years I've been using PHP for a lot of things I would have previously written a shell or Perl script for, especially if it involves database manipulation or datafeed processing. It's actually makes a pretty good batch language and you can re-use classes and libraries from the interactive side of your application.

    That's kind of coming full-circle for me, way back in prehistoric times :-) I first started using something called "PHP/FI" as a kind of web-merge utility, taking data from MySQL and using it to create static HTML pages offline.

    - Tim
    Tim
    consultant by day, affiliate by night

  8. #8
    Newbie
    Join Date
    January 18th, 2005
    Location
    Singapore
    Posts
    10
    Go with PHP & Perl.

  9. #9
    Member
    Join Date
    January 21st, 2005
    Posts
    101
    PERL and PHP are both good languages for web development. But so is C++. There are probably more PHP and PERL scripts available to use as a foundation to enhance or modify. But C++ is great for roll-your-own.

  10. #10
    Newbie
    Join Date
    February 10th, 2005
    Posts
    44
    Quote Originally Posted by raywood1
    PERL and PHP are both good languages for web development. But so is C++. There are probably more PHP and PERL scripts available to use as a foundation to enhance or modify. But C++ is great for roll-your-own.
    How is this done? via CGI? Are there any resources you could point me to?

    Thanks everyone for the advice. Good to know I am on the right track.

  11. #11
    ABW Ambassador
    Join Date
    January 18th, 2005
    Location
    Texas, USA
    Posts
    579


    C, C++, HTML, Java, JavaScript, Perl, PHP, Python

    Best,

    RadarCat, Webmaster
    http://www.os2warplinks.com

  12. #12
    Member
    Join Date
    January 18th, 2005
    Posts
    145
    with c on a web environment, you'ld need to have server access (or at least a backend which allows you some ability to execute commands on the server) to compile the c program to run, just like you run the compiled c program on your own computer.

  13. #13
    Member
    Join Date
    January 21st, 2005
    Posts
    101
    Compiling C on server
    I don't know why you have to compile a c program on the server. Actually it can be compiled on any machine as long as the compiler knows the environment and configuration of the target machine.

    Depending on how you set up your application you probably need to be able to install the program on the server, but you don't have to compile it there.

  14. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Replies: 4
    Last Post: July 29th, 2009, 08:28 AM
  2. What Language do you use?
    By wly in forum Voting Booth
    Replies: 5
    Last Post: February 4th, 2005, 04:27 PM
  3. Replies: 9
    Last Post: October 13th, 2004, 08:01 AM
  4. What Language is this?
    By weisinator in forum Midnight Cafe'
    Replies: 19
    Last Post: January 14th, 2003, 06:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •