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.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Sep 2002
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Survey for paper

    I am currently in a technical writing class and need to conduct a survey in order to write a paper on which server-side technology is best out of PHP, ASP (pre .NET), Perl, Cold Fusion, or JSP. I have already researched alot of websites that discuss the matter, however I would like some opinions of random developers. So anyone who has a few minutes and experience with two or more of the above languages, please take this survey. Thank you.

    1) Which of the above languages do you have experience with?

    2) Of the languages you have experience with, which do you prefer to program with? Why?

    3) in your experience, which of the languages that you have used do you find to...

    -be the most secure?
    -be the easiest to use?
    -have the best platform support?
    -have the best database support?
    -have the best filesystem support?
    -have the best regular expression support?
    -have the best error catching/handling?

    4) any other comments about any of the languages you have experience with?

  • #2
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    1) ASP, PHP, ColdFusion
    2) I prefer to use PHP, I used to be prefer ASP until I really got into PHP. The reasons that PHP is my prefered language now is that it is portable, it works on windows servers and linux. Secondly, I prefer the syntax style over VB. And since we are talking ASP classic, PHP has support for image manipulation.
    3)

    a) Depends on server setup but I'd probably say PHP on Apache.
    b) PHP and ASP are both easy to use
    c) PHP has the best platform support
    d) Well, it depends but PHP with MySQL is really easy to use; PHP has lots of built-in functions for it.
    e) The FileSystemObject in ASP is easier to use, imo.
    f) PHP or ASP
    g) PHP or ASP, ColdFusion is okay but it seems to cause enough errors on its own, lol.
    4) I'd stick away from ColdFusion if you plan to use more than one site on the web server; in fact I'd stay away from it period.
    OracleGuy

  • #3
    Mega-ultimate member
    Join Date
    Jun 2002
    Location
    Winona, MN - The land of 10,000 lakes
    Posts
    1,855
    Thanks
    1
    Thanked 45 Times in 42 Posts
    Wow what a great thread. Anyway here are my respones...

    1) I've worked with all of them, but in order of current use, I'd have to go PHP (70%), PERL (25%), JSP (3%), ASP(<2%), Cold Fusion (almost never)

    2) I prefer to use PHP and PERL for programming mostly because the syntax style is so similar they're practically the same language. I find PERL to be great for high traffic web sites (especially mod_perl) and PHP to be great for most of the other web sites (Medium to low traffic sites). JSP is extremly powerful, but I find it's syntax foreign, and I don't like using ASP and Cold Fusion as both require proprietary technologies to run. Anyone can set up an Apache box regardless of platform, but you need Windows to run ASP, and server support for Cold Fusion

    3)
    a) I find that your code and server configuration are usually the security problem more so than the language you may be using. Although imho, patches to the languages are much faster with OSS than with Proprietary technologies such as ASP and CFM.
    b) For me PHP and PERL are easiest to use, but I think that's just because I use them so often. I think in general, the language you use most will be the easiest to use. BUT I would like to say that the online documentation for PHP is FAR AND AWAY THE BEST I'VE EVER SEEN FOR ANY LANGUAGE!
    c) PHP and PERL have great platform support
    d) Here I think PHP is far and away the best, with native support for mySQL, SQL Server, Oracle and DB2 (plus a few others) along with the ability to use ODBC make it, again imo, the best for DB support.
    e) PERL wins here. Of course I grew up on PERL so that interface seems intuitive now. I find PHPs filesystem interface a bit of a kludge and PERL to be more Unix like.
    f) PHP and PERL in my experience, although Java support is pretty good now as well (for JSP).
    g) I like the error handling in Java (JSP). It seems so very elegant and I've never been able to get a decent custom PHP error handling function up and running. I also like PERLs error handling as well.

    4) I find that OSS languages (PHP, PERL, etc) are by far and away easier to work with, easier to find support information, and have a larger support community than ASP, CFM and the like.

    Hope this helps and good luck with your report!

  • #4
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    1) Which of the above languages do you have experience with?
    ASP and PHP. Tiny bit of JSP

    2) Of the languages you have experience with, which do you prefer to program with? Why?
    PHP. The last years i only do sb-driven webapplications and PHP is created exactly for that: an easy and powerfull language to write webapplications in the simplest possible way.

    Downsides for ASP is bad arraysupport, bad implementation of concatinating strings, bad sessionmanagement which almost requires that the client has cookies enabled + all more advanced features like mailing, uploading, maniulating images,ftp, creating PDF's etc require their own (frequently commercial) module, while in PHP, most of them can be realised with one or a few simple functions.

    3) in your experience, which of the languages that you have used do you find to...

    -be the most secure?

    as state above, this is not a real technologie related issue. sloppy coding is never secure.
    -be the easiest to use?
    PHP. ASP( well, VBscript) doesn't realy looks like anything else, and to me, it's to loose. I like it that variables are immedeately recognisable by their leading $, that lines habve a ; ending etc.
    -have the best platform support?
    PHP. ASP is basically Windows + IIS only (well, there is this apache module for the 12 or 2 coders that use Perl as scriptinglanguage for ASP, and the former Chilisof package to port your 'VBscript ASP's' into 'Perl ASP's' but this all isn't realy mainstream.

    Of course, making it 'platformindependent' creates other problems (like that it realy isn't 100% platformindependent. Not all PHP functions are implemented the same for *nix as for Windows which makes it sometimes hard to make your aps portable
    -have the best database support?
    Probaly PHP, but ASP isn't that bad for the regular 'select and show' operations. PHP however has some nice goodies for most db-formats.
    -have the best filesystem support?
    Probably ASP. FSO-functions and methods are real easy but with PHP, i haven't done much filesytem-work. I don't think it makes much difference in the end.
    -have the best regular expression support?
    Probably PHP. Never looked into regex with ASP.
    -have the best error catching/handling?
    I think ASP has better errorreporting, although being able to set the level of errorreporting at runtime like in PHP is realy nice. In ASP it's an all or nothing deal.

    4) any other comments about any of the languages you have experience with?
    From my limited experience, i'd say that working in a LAMP context is far easier, cheaper and more efficient then developping in a Win-IIS-ASP-MsServer context.
    There are free classes available for almost every imaginable feature in PHP, while for ASP, you almost always end up with a limited selection of commercial modules.
    If you wanna make your living out of programming (employed), then i think that there are more job-offers for ASP (well ASP.NET) and JSP. At least in my region. I hardly ever see people offering jobs for PHP - MySQL coders.
    Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html


  •  

    Posting Permissions

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