Thread: PHP, ASP or Perl?
-
26-07-2007, 07:25 #1
PHP, ASP or Perl?
All three languages do pretty much similar things, for me the easiest amongst PHP, ASP and Perl to learn has got to be PHP. Anyway, PHP & ASP can do pretty much the same thing, but for me PHP has got to be the best. It's easy to use and finally, I can make my own PHP scripts, after switching from ASP, PHP, etc. PHP is very logical unlike ASP. Nonetheless, both of them can do pretty much the same thing.
Last edited by Ben Stones; 25-02-2008 at 13:29.
Domains Registrations @ £7.49pa! - Download the official eUKhost Android and iOS App!
eNlight Cloud Hosting - Cost-Effective, Autoscaling Cloud Hosting
How does eNlight work? What differences and benefits are there to VPS and Dedicated Servers?
Chat to us on Twitter!
Join our incentive affiliate program now - and earn generous commission with each sale!
How do I contact eUKhost?
Support: Client Area - 0808 262 0455
Sales: sales[@]eukhost.com - 0800 862 0380
Contact eUKhost Management
Customer Relations:
feedback@eukhost.com - 0808 262 0255
Contact:
ben@eukhost.com
Skype: euk_ben
Windows Live Messenger: ben@eukhost.com
Don't ever let other people's thoughts, feelings, perceptions and/or opinions drown over yours. You know yourself the best. Go with what you think is right. Everyone else's opinions or statements about you or others are secondary.
-
26-07-2007, 11:20 #2
Premium Member
- Join Date
- Mar 2007
- Posts
- 485
I like ASP but I've moved over to PHP for the simple reason that it's very well supported via the online community - it's still in development, being a very active open source language and unlike ASP, you don't require a windows server to run it. PHP is fast becoming a very powerful language and to some extent has replaced perl for many web developers. For anyone about to choose a development language I'd certainly suggest PHP.
-
27-07-2007, 12:40 #3
PHP forever!! - it is platform independant and the most supported!
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - We're still plodding on adding new content and features (August 2011)
http://www.djdavid.co.uk - Massive update! (September 2011) - It's now not neglected!!
http://davidsmith.dpscomputing.com (My Personal Website) - New Site (10/2009)
-
31-07-2007, 10:28 #4
I think Perl is almost dead, I would prefer for PHP & ASP, however every language has its own benefits and usess that actually depends on your need.
-
31-07-2007, 18:07 #5
The thing with Perl is that it is old and less supported and seems to be gradually dieing the more it lives on
. Sadly, it does seem to have been superseeded by languages like ASP and PHP. I can't think of any programs that have been updated recently that are still written in Perl although I am sure there is still a couple out there
.
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - We're still plodding on adding new content and features (August 2011)
http://www.djdavid.co.uk - Massive update! (September 2011) - It's now not neglected!!
http://davidsmith.dpscomputing.com (My Personal Website) - New Site (10/2009)
-
01-08-2007, 08:59 #6
Yeah also the reason Perl is fading away it lack interest of good programmers and overshadowed by other languages. However I see a good future of PHP & ROR..
-
01-08-2007, 11:46 #7
Oh yes most definitely, RoR looks like it is going to take off. Once the people at the top of the programming field start forgetting about a language it does tend to go downhill from there unfortunately.
However you still do get avid supporters who continue to use it and program little applications in it which keep some older and less used languages going.
Also, when the community starts to dwindle, more people leave said community for a more well supported language. This works the same for forums software, CMSs, blogs etc as well
.
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - We're still plodding on adding new content and features (August 2011)
http://www.djdavid.co.uk - Massive update! (September 2011) - It's now not neglected!!
http://davidsmith.dpscomputing.com (My Personal Website) - New Site (10/2009)
-
02-08-2007, 11:48 #8
-
25-01-2008, 10:52 #9
I used both ASP and PHP at work, as well as many others, and I find that I code much faster in PHP because there are so many ways of doing things that simplify your code. For example, to print out the letters A to Z separated by a comma
ASP:
Code:<% Dim i For i = 65 To 90 If i > 65 And i < 90 Then Response.Write "," End If Response.Write Chr(i) Next %>That's only a small example, but once you start getting into better object orientated stuff, PHP beats ASP hands down. ASP has no concept of asbtraction, inheritance or interfaces and it can't do reflection or dynamic function calls like PHP's callback feature.PHP Code:<?php
echo implode(',', range('A', 'Z'));
?>
-
25-01-2008, 11:35 #10
PHP all the way
-
25-01-2008, 13:04 #11
I thought ASP was more secure though its complicated.
Anyways, now I'll switch to PHP
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || Skype : mark_ducadi
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________
Please email cmo[at]eukhost.com if you have any questions or need my assistance
-
25-01-2008, 16:35 #12
Are we talking about ASP or ASP.NET?? Certainly PHP is more secure than ASP, well of course that all depends on the code written, but there are more controls in place to secure PHP.
Eg. with PDO you can put your connection string to a database in the php.ini file and then just reference to it in your code. Which means you don't need to code in the database password.
The other thing PHP has over ASP is that it's still maintained.
-
25-01-2008, 21:15 #13
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || Skype : mark_ducadi
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________
Please email cmo[at]eukhost.com if you have any questions or need my assistance
-
25-01-2008, 22:08 #14
About the same, the majority of times its not down the programming language, its down to the configuration of the hosting environment.
Personally I feel like open source solutions are generally more secure, because a security issue can be found by a wider community and so fixed earlier. Whereas with closed source, such as ASP.NET you're mostly reliant on the manufacturers to find them.
That's probably going to upset some people who love ASP.NET, but that's just my opinion.
-
25-01-2008, 22:53 #15
-
26-01-2008, 00:36 #16
Yes that's also true, it's the other side of the coin. However it depends how the bug is found, with open source it's not just hackers who would be looking for them, it's also open for people to find them and highlight as bugs, which would mean it would get fixed quicker.
Originally Posted by flesco
With closed source how can the general public find these security holes? They'd have to hack, and the people who know how to hack are hackers, I don't think they'd want to report that they've found a successful way to hack; so it wouldn't get fixed as quickly.
The majority of the times it down to the coder, not the language.
For example how many of you have developed using inline queries? If you have a login box which does the following query.
ASP
PHPCode:Dim sql sql = "SELECT * FROM user WHERE username = '" & Request.Form("username") & "' AND password = '" & Request.Form("password") & "'"
Both of these are insecure as each other. If a someone knew a username eg. mephisto, then all they need to pass the above login is type the username as mephisto' -- and the password could be anything.PHP Code:$sql = "SELECT * FROM user WHERE username = '" . $_POST['username'] . "' AND password = '" . $_POST['password'] . "'";
Which would make the SQL Server query
everything after the -- is a comment, so this effectivelyCode:SELECT * FROM user WHERE username = 'mephisto' --' AND password = ''
and there you have a sucessful login, regardless of the programing language, just down to the code.Code:SELECT * FROM user WHERE username = 'mephisto'
Best way around this is to use prepared statements, or at least escape your values.
For those who are wondering, I just tried this with eUKHosts forums and it doesn't bypass the login
-
23-06-2008, 07:20 #17
new member
- Join Date
- Jun 2008
- Posts
- 3
Hello
I like both php and asp, PHP is more secure than asp and becoming more powerful language.PHP is good language for web development.
_______________
Website Hosting development
Free templates
-
28-07-2008, 10:42 #18
Hard to contemplate which programming language is the most secure; but oddly there are a lot of security issues being posted in the PHP Bug's database - not sure if this is because they aren't being addressed quickly enough.
You could say that because PHP has more things to work with but ASP is pretty much the same in terms of what it can make, and you could make the same type of application in both PHP and ASP; but it may vary differently to the finishing time.Domains Registrations @ £7.49pa! - Download the official eUKhost Android and iOS App!
eNlight Cloud Hosting - Cost-Effective, Autoscaling Cloud Hosting
How does eNlight work? What differences and benefits are there to VPS and Dedicated Servers?
Chat to us on Twitter!
Join our incentive affiliate program now - and earn generous commission with each sale!
How do I contact eUKhost?
Support: Client Area - 0808 262 0455
Sales: sales[@]eukhost.com - 0800 862 0380
Contact eUKhost Management
Customer Relations:
feedback@eukhost.com - 0808 262 0255
Contact:
ben@eukhost.com
Skype: euk_ben
Windows Live Messenger: ben@eukhost.com
Don't ever let other people's thoughts, feelings, perceptions and/or opinions drown over yours. You know yourself the best. Go with what you think is right. Everyone else's opinions or statements about you or others are secondary.
-
29-07-2008, 09:07 #19
PHP is better in terms of functionality and simplicity. ASP on the other hand is a bulky language meaning that it normally takes 100s of lines just to get something to work which would only take 1 line in PHP. And as we all know PHP is free, meaning that anyone with a computer capable of running Apache can install PHP so they can start to learn it.
And why am I taking the side of PHP when I mainly write in ASP
Josh
Resident Blogger
-
29-07-2008, 09:34 #20
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - We're still plodding on adding new content and features (August 2011)
http://www.djdavid.co.uk - Massive update! (September 2011) - It's now not neglected!!
http://davidsmith.dpscomputing.com (My Personal Website) - New Site (10/2009)
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)


LinkBack URL
About LinkBacks




Reply With Quote






This Leeds based one looks familiar Web Hosting - Best UK Web Hosting Company - Web Hosting UK -...
Are Fasthost4u connected to Eukhost