Best web-scripting language - Page 2

View Poll Results: What kind of Anti-Virus protection do you use?

Voters
10. You may not vote on this poll
  • AVG Anti-Virus

    3 30.00%
  • Mcafee VirusScan

    0 0%
  • Norton Anti-Virus

    7 70.00%
  • Other

    0 0%
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: Best web-scripting language

  1. #11
    Junior Member
    Join Date
    Aug 2001
    Posts
    22
    $people = GetPeople($AntiOnlineForum);
    foreach ($people as $person) {
    Beat($Stronzo);
    Maul($Force);
    Compliment($RWA);
    MakeWittyRemark();
    }
    BEHOLD THE POWER OF PHP.
    Share on Google+

  2. #12
    Senior Member
    Join Date
    Oct 2001
    Posts
    101

    Gotcha

    Ok, gotcha Force. I do agree though about licensing fees being a pain in the ass. Most of the firms I have worked for use IIS and either Access or MS-SQL. Those fees definately take a big chop at profits.
    Code:
    while( true ){
      try{
        wackUpSideTheHead( RWA );
      }catch( NotOnlineException e ){
        waitTillOnline();
        continue();
      }
    }
    I can do that too RWA
    Share on Google+

  3. #13
    Junior Member
    Join Date
    Aug 2001
    Posts
    22
    **nods
    You are a worthy opponent. Hmm should start work on a mauling bot....
    Share on Google+

  4. #14
    Junior Member
    Join Date
    Oct 2001
    Posts
    4

    hrmm ermm

    php rulez .. !!

    -= peace =-
    :: Real Eyes Realize Real Lies ::
    Share on Google+

  5. #15
    Banned
    Join Date
    Jul 2001
    Posts
    264
    Since it is obvious that we are talking about opinion rather than the merrits of each language, I will have to vote for ASP.


    My personal opinion is that they all have their pro's and con's. I'll give you one thought on the subject though - I hate the ability to not declare variables. In ASP I always get problems when I make a variable by accident by spelling it wrong then forget to destroy it later and it causes the server to lag when it happens XXX number of times. Also I highly dislike not having different types of variables to use (the fact that they all start as objects then just hold different types of info). Argh!


    ^ This paragraph struck me as odd ^

    Ever heard of "Option Explicit"? Using this line at the top of each ASP or VB for that matter will force you declair each variable before using it. If you misspell a variable name or do not "dim" it then you will get a compiler error "Undifined variable at line: X" whice is pretty damn easy to figure out where you messed up.

    Now for the PHP vs. ASP death match. Being an avid programmer of both languages, I have come to notice some things about the two that really make a difference. Although both PHP and ASP can be run on *nix and MS platforms these days. I will put it in a nut shell.

    ASP is a mature, flexable, and extreamly robust SSS language. And for developing on NT/IIS or NT/Apache configs. it cannot be outdone. It is however a tad on the slow side, but proper programming standards will help reduce this dramaticly.

    PHP is a fun extreamly easy language, but it is not type safe to any stretch of the imagination. It is kind of flakey and incosistent across different platforms. It does not support the wide range of databases that ASP does, file objects, etc. But it is fast and for developing SSS on Linux/Unix platforms I would have to say that PHP is the one I would use. PHP also works very nicely on NT and you don't have to phuck with all of the permissions snafu's of *nix.

    "g-day"

    -Q


    P.S. I just had to do in ASP since everybody else is fighting with PHP.


    Option explicit

    dim usrArray(3)
    usrArray(0) = "force"
    usrArray(1) = "Stronzo"
    usrArray(2) = "RWA"

    dim strAO
    strAO = getForumName("AntiOnline")

    dim cnt
    dim usr
    dim i

    i=0
    cnt = ubound(usrArray())

    do while i < cnt
    for each usr in strAO
    if(usr=usrArray(i))then
    kill usr
    else: usr=usr
    end if
    next
    i=i+1
    loop










    Share on Google+

  6. #16
    Senior Member
    Join Date
    Sep 2001
    Posts
    800
    I haven't played with any of them yet but this site is PHP and I like all the options that it has and how it is setup. I haven't dealt with much other web languages than html.
    [gloworange]\"A hacker is someone who has a passion for technology, someone who is possessed by a desire to figure out how things work.\" [/gloworange]
    Share on Google+

  7. #17
    Senior Member
    Join Date
    Oct 2001
    Posts
    101
    Originally posted by NoNeckJoe
    Ever heard of "Option Explicit"?
    Ya, but Option Explicit slows down your script signficantly therefore I only use it when I am developing the script then remove it when I am done. What I personally like is being able to do something such as:

    int counter = 0; as opposed to
    Dim intCounter
    intCounter = 0


    But that's just personal opinion.

    BTW. Your program sure isn't very efficient. Let me fix if for you:

    Option explicit

    dim objAO
    Set objAO = getForumName("AntiOnline")

    for each usr in objAO
    if usr.name = "force" Or usr.name = "NoNeckJoe" Or usr.name = "RWA" Then
    kill usr
    end if
    next


    Your big-O = 3n
    My big-O = n plus less memory used.
    Share on Google+

  8. #18
    Senior Member
    Join Date
    Oct 2001
    Posts
    101
    Ooops. accidental post.
    Share on Google+

  9. #19
    Banned
    Join Date
    Nov 2001
    Posts
    168
    Gotta go with php
    Share on Google+

  10. #20
    Senior Member
    Join Date
    Oct 2001
    Posts
    689

    Cool

    I am unfairly biased towards java script since I currently am taking a java class, and I only know a little cgi.
    Wine maketh merry: but money answereth all things.
    --Ecclesiastes 10:19
    Share on Google+

Posting Permissions

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