Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 3 123 LastLast
Results 1 to 15 of 37
  1. #1
    New Coder
    Join Date
    Feb 2003
    Location
    dudley west mids uk
    Posts
    90
    Thanks
    0
    Thanked 0 Times in 0 Posts

    php, asp, perl or cold fusion?

    which one of thses is the best server side language, and are that any features that vary from language to language, cheers hAsAaKi
    HASAAKI v.2.0 now up come and visit us at http://www.online-addicts.com/~joehall

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Canada
    Posts
    253
    Thanks
    0
    Thanked 0 Times in 0 Posts
    so far i know about perl and php.
    php is the better choice between them IMO.

  • #3
    Regular Coder
    Join Date
    Nov 2002
    Location
    Bristol, UK
    Posts
    932
    Thanks
    0
    Thanked 0 Times in 0 Posts
    OK:

    PHP - free, very powerful, "easy" to learn, reliable, fast, secure, works on both Windows and Linux platforms as well as others. Designed for making dynamic webpages.

    ASP - Microsoft hence not free; you get it with IIS and Windows licenses but of course Linux costs nothing and is arguably "better" (well, more reliable and secure for a start!) as a server. Not as fast as PHP, although pretty secure, only works to it's full capabilities on a Windows platform, although you can get *some* of the functionality for free on Linux by using mod_asp for Apache. Stuff like Chillisoft is generally not worth looking at. ASP is also not quite as easy to learn as PHP.

    Perl - Different aim to the others, Perl is not designed for writing dynamic webpages but rather is more multi-purpose. It's good at webpages but not as easy to learn or use as PHP. It is very fast, though, and secure, however not so great on a Windows platform - you're better off on Linux.

    ColdFusion - kind of a one-trick pony, it seemed to have a brief spurt of popularity and then disappeared except in die-hard circles. Absolutely no reason to use it over ASP, and definitely not over PHP. Plus you need licensing etc. Medium difficulty to learn but you will have a LOT of trouble finding hosting for it, compared to the others... It's not as fast as the others, either, but it's security is OK AFAIK.

    I have used all of the above - indeed, I write PHP every day, Perl every few days, and ASP when I have to! I have not used ColdFusion for about two years now, thankfully, although it is included with Macromedia Studio MX, I don't even bother to install it

    So, my advice, use PHP, and possibly Perl for some stuff. Leave the other two well alone unless you've got no choice

    ::] krycek [::
    ithium | SOAPI | SDP | PTPScript manual
    "ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."

  • #4
    Senior Coder
    Join Date
    Aug 2002
    Location
    A 4D universe
    Posts
    1,337
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Stick with php, you are almost certainly guaranteed to get hosting that supports it, without having to pay additional costs, as you would if you used ColdFusion.

    If you want to learn it quickly, head over to www.devshed.com - they have some pretty nifty tutorials there.
    http://www.mudsplat.com - Web design, print, and marketing solutions.

  • #5
    New Coder
    Join Date
    Feb 2003
    Location
    dudley west mids uk
    Posts
    90
    Thanks
    0
    Thanked 0 Times in 0 Posts
    can i use php in a .html file, like skip between the two using <?php tags? andif i save a [age as .php can i use html in that(vice versa). hAsAaKi
    HASAAKI v.2.0 now up come and visit us at http://www.online-addicts.com/~joehall

  • #6
    Regular Coder
    Join Date
    Nov 2002
    Location
    Bristol, UK
    Posts
    932
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by hallj999
    can i use php in a .html file, like skip between the two using <?php tags? andif i save a [age as .php can i use html in that(vice versa). hAsAaKi
    that's kinda that idea, but you have to have it named as .php, not .html

    ::] krycek [::
    ithium | SOAPI | SDP | PTPScript manual
    "ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."

  • #7
    Senior Coder
    Join Date
    Aug 2002
    Location
    A 4D universe
    Posts
    1,337
    Thanks
    0
    Thanked 0 Times in 0 Posts
    @ Krycek, only if you are not using the include tag...
    http://www.mudsplat.com - Web design, print, and marketing solutions.

  • #8
    Regular Coder
    Join Date
    Nov 2002
    Location
    Bristol, UK
    Posts
    932
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by ionsurge
    @ Krycek, only if you are not using the include tag...
    true but inadvisable. you should still name your include files as .php, for security. I tend to use .inc.php and .ini.php

    ::] krycek [::
    ithium | SOAPI | SDP | PTPScript manual
    "ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."

  • #9
    Senior Coder
    Join Date
    Aug 2002
    Location
    A 4D universe
    Posts
    1,337
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Haha, great idea Krycek, thanx...
    http://www.mudsplat.com - Web design, print, and marketing solutions.

  • #10
    New Coder
    Join Date
    Feb 2003
    Location
    dudley west mids uk
    Posts
    90
    Thanks
    0
    Thanked 0 Times in 0 Posts
    so i can use html in a php page, cheers lads, hAsAaKi
    HASAAKI v.2.0 now up come and visit us at http://www.online-addicts.com/~joehall

  • #11
    Senior Coder
    Join Date
    Aug 2002
    Location
    A 4D universe
    Posts
    1,337
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yep, no problems at all whatsoever!


    Have fun!


    http://www.mudsplat.com - Web design, print, and marketing solutions.

  • #12
    New Coder
    Join Date
    Feb 2003
    Location
    dudley west mids uk
    Posts
    90
    Thanks
    0
    Thanked 0 Times in 0 Posts
    cheers for the help. while im here, i want to make a new website with my new found freind mr php. but what do you think about actually planning my website down to every last detail on paper and then implementing it, intsead of doing what i normally do and do it as i go along, hAsAaKi
    HASAAKI v.2.0 now up come and visit us at http://www.online-addicts.com/~joehall

  • #13
    Regular Coder
    Join Date
    Nov 2002
    Location
    Bristol, UK
    Posts
    932
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by ionsurge
    Haha, great idea Krycek, thanx...
    no worries

    It's just that, if you use .inc or .ini then potentially someone could type the filename into their browser and see the file contents. Bad, bad, bad!

    Also, I just thought of this - there is nothing to prevent you putting php into a .html file and then including that, but of course that is bad practice, and not just because of security

    ::] krycek [::
    ithium | SOAPI | SDP | PTPScript manual
    "ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."

  • #14
    Senior Coder
    Join Date
    Aug 2002
    Location
    A 4D universe
    Posts
    1,337
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Always plan it out on paper, especially the directory structure. Then you know what you have to do, and not do anything that is not needed.


    That is the best way to do things.
    http://www.mudsplat.com - Web design, print, and marketing solutions.

  • #15
    Regular Coder
    Join Date
    Nov 2002
    Location
    Bristol, UK
    Posts
    932
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by hallj999
    cheers for the help. while im here, i want to make a new website with my new found freind mr php. but what do you think about actually planning my website down to every last detail on paper and then implementing it, intsead of doing what i normally do and do it as i go along, hAsAaKi
    well, I tend to plan stuff in my head and then just jump right in there... whatever you do on paper, you will end up changing, so it kinda reaches a point when you are sailing along coding and the code keeps changing hourly

    Although, that said, planning stuff like database structure is important get that working on paper first otherwise you'll get stuck later

    ::] krycek [::
    ithium | SOAPI | SDP | PTPScript manual
    "ithium is a non-profit webhost, which is pretty much unique. The mission of ithium is to provide free hosting resources for worthwhile and needy non-profit projects, which otherwise may not be able to obtain such facilities. The money from commercial customers goes to maintain ithium's servers and further development."


  •  
    Page 1 of 3 123 LastLast

    Posting Permissions

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