473,382 Members | 1,380 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Which is best overall? PHP vs ASP(or ASP.NET) vs Python

I know this is a php newsgroup so obviously most people here like
using php, but I was just wondering what people's opinnions were on
the most diverse/useful and friendly 'scripting' language was.

I like php and have made my choice to use it as my main language, only
the more I look into other languages, the more i see things that I
like in them that I dont necesarrily see in PHP.

For example, the more I use php I realize that php has a serious issue
(in my opinnion anyway) when it comes to nomenclature for it's inbuilt
functions. There seems to be a quite noticable lack of consistency
with function families (especially for case/case-insensitive
versioning).

Theres also a video on Youtube (http://www.youtube.com/watch?v=p-
WXiqrzAf8) by Jacob Kaplan-Moss senior developer of Django that said
he favoured Python over PHP because it was easier to maintain than
large PHP applications.

Ive done a little reading on python myself and it seems packed full of
goodies and quite powerful and quite easy to pick up. Shame about the
fear of curly braces though.

I've also done a bit of python GUI programming and it seems easier to
me than GUI programming with PHP using PHP-GTK for exampe.

--------------------------------------------------------------------------------------------------------------------------------

Anyway, that said, I cant see a problem with using them all for what
they are best at. But you guys must have your own opinnions and I
wouldnt mind hearing them...

Regards,

Paul.

p.s.

Please don't let this post become another stupid argument/slagging
match/name calling thing. Thanks.

Oct 12 '07 #1
11 12087
On Fri, 12 Oct 2007 12:51:29 -0700, macca wrote:
I know this is a php newsgroup so obviously most people here like using
php, but I was just wondering what people's opinnions were on the most
diverse/useful and friendly 'scripting' language was.
PHP/Python are cross platform... ASP isn't... discussion over as far as
I'm concerned.
p.s.

Please don't let this post become another stupid argument/slagging
match/name calling thing. Thanks.
Now you're just asking for it.

--
I told you this was going to happen.

Oct 12 '07 #2
..oO(macca)
>I like php and have made my choice to use it as my main language, only
the more I look into other languages, the more i see things that I
like in them that I dont necesarrily see in PHP.

For example, the more I use php I realize that php has a serious issue
(in my opinnion anyway) when it comes to nomenclature for it's inbuilt
functions. There seems to be a quite noticable lack of consistency
with function families (especially for case/case-insensitive
versioning).
That's a known issue. But keep in mind that PHP wasn't designed on a
drawing table. It's a grown language, with all the benefits and
drawbacks.
>Theres also a video on Youtube (http://www.youtube.com/watch?v=p-
WXiqrzAf8) by Jacob Kaplan-Moss senior developer of Django that said
he favoured Python over PHP because it was easier to maintain than
large PHP applications.
This depends more on the code than on the used language.
>Ive done a little reading on python myself and it seems packed full of
goodies and quite powerful and quite easy to pick up. Shame about the
fear of curly braces though.
Every language has its goodies and syntactical sugar, but every language
has its dark sides as well. Use whatever you prefer.
>Anyway, that said, I cant see a problem with using them all for what
they are best at.
Exactly.
>But you guys must have your own opinnions and I
wouldnt mind hearing them...
My opinion? I don't like Python, but have to use it for scripting in
Paint Shop Pro, because there's no other choice. But for my own projects
I still prefer PHP for various reasons, even if I'm looking at other
architectures like Java/Tomcat or something like that.

Micha
Oct 12 '07 #3
>PHP/Python are cross platform... ASP isn't...

I understand what you mean. I'm not a big fan if ASP myself, However
Sun Chili!Soft ASP
enables ASP on other Web servers and operating systems than WIN/IIS.
So ASP can be used on other platforms. In fact, the first project I
ever came up against ASP it was running on Red Hat.

Oct 13 '07 #4
macca wrote:
>PHP/Python are cross platform... ASP isn't...

I understand what you mean. I'm not a big fan if ASP myself, However
Sun Chili!Soft ASP
enables ASP on other Web servers and operating systems than WIN/IIS.
So ASP can be used on other platforms. In fact, the first project I
ever came up against ASP it was running on Red Hat.

And the way it works isn't worth a damn in the real world. It's fun to
play with on a test system, but I'd never put it on a production server.
Too many problems.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Oct 13 '07 #5
macca schrieb:
I know this is a php newsgroup so obviously most people here like
using php, but I was just wondering what people's opinnions were on
the most diverse/useful and friendly 'scripting' language was.
If you just search a scripting language for quickly solving small
problems: Use Ruby ;-) Ruby is great for this. A colleague of mine used
it to implement solutions to the challenges on the exercise sheets of a
study group in his computer science studies at the university. He was
the only one to implement solutions with a GUI! Some of the solutions
came complete with sliders to change parameters and diagrams
illustrating the solution. All that in some few hundred lines of Ruby.

If your problems are bigger: Anybody with a C/C++/Java background will
prefer PHP over Python of ASP. When it comes to performance, Python is
out since scalability seems not to be one of the strengths. ASP vs PHP
is a philosophic question. PHP is open source and comes with a great
variety of community-driven extensions and a fun community to help you
with your problems. ASP is closed source and comes with a great variety
of commercial extensions sold at ridiculous prices and consultants
charging by the hour. But after that...

Personally, I dislike Python for its language structure. Magic white
space? Killing apps by changing indentation? No thank you!

OLLi
--
Cordy: "So it was that green card thing?"
Harry: "Nope. It was a madly-in-love-couldn't-live-without-each-other
kinda thing."
[Angel 107]
Oct 13 '07 #6
"Ivan Marsh" <an*****@you.nowwrote in message
news:pa****************************@you.now...
On Fri, 12 Oct 2007 12:51:29 -0700, macca wrote:
>I know this is a php newsgroup so obviously most people here like using
php, but I was just wondering what people's opinnions were on the most
diverse/useful and friendly 'scripting' language was.
Simple. EVERY time I have a problem with a website, it's a certainty to be
an ASP / ASPx / Whatever Microshaft programmed site.

Only 2 hours ago I was trying to spend money on a new electrical from a
major UK retailer and the site fell over twice (even the main homepage
died). You could not add items to the basket. Contact form was stuffed
etc. If you can't reliably use a Microshaft website using a Microshaft
Browser on a Microshaft OS what can you do?

Oct 13 '07 #7
Virginner wrote:
"Ivan Marsh" <an*****@you.nowwrote in message
news:pa****************************@you.now...
>On Fri, 12 Oct 2007 12:51:29 -0700, macca wrote:
>>I know this is a php newsgroup so obviously most people here like using
php, but I was just wondering what people's opinnions were on the most
diverse/useful and friendly 'scripting' language was.

Simple. EVERY time I have a problem with a website, it's a certainty to be
an ASP / ASPx / Whatever Microshaft programmed site.

Only 2 hours ago I was trying to spend money on a new electrical from a
major UK retailer and the site fell over twice (even the main homepage
died). You could not add items to the basket. Contact form was stuffed
etc. If you can't reliably use a Microshaft website using a Microshaft
Browser on a Microshaft OS what can you do?

As much as I dislike Microsoft products, I do have a couple of sites
using VBScript and they work fine.

The problem is not the language. It's the programmer.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Oct 13 '07 #8
>Only 2 hours ago I was trying to spend money on a new electrical from a
>major UK retailer and the site fell over twice (even the main homepage
died). You could not add items to the basket. Contact form was stuffed
etc. If you can't reliably use a Microshaft website using a Microshaft
Browser on a Microshaft OS what can you do?

Talking of this, did anyone else notice that the zend website crashed
the other day also?

>And the way it works isn't worth a damn in the real world. It's fun to
play with on a test system, but I'd never put it on a production server.
Too many problems.
I wasnt aware that there were any major issues with Chilli!soft ASP
but I should have guessed things wouldnt be that easy.
Does anyone use ColdFusion anymore? I just did a course on it last
year but I couldnt really get an idea of who was using it. I quite
liked it though.

Oct 13 '07 #9
"Jerry Stuckle" <js*******@attglobal.netwrote in message
news:uK******************************@comcast.com. ..
Virginner wrote:
>"Ivan Marsh" <an*****@you.nowwrote in message
news:pa****************************@you.now...
>>On Fri, 12 Oct 2007 12:51:29 -0700, macca wrote:

I know this is a php newsgroup so obviously most people here like using
php, but I was just wondering what people's opinnions were on the most
diverse/useful and friendly 'scripting' language was.

Simple. EVERY time I have a problem with a website, it's a certainty to
be an ASP / ASPx / Whatever Microshaft programmed site.

Only 2 hours ago I was trying to spend money on a new electrical from a
major UK retailer and the site fell over twice (even the main homepage
died). You could not add items to the basket. Contact form was stuffed
etc. If you can't reliably use a Microshaft website using a Microshaft
Browser on a Microshaft OS what can you do?


As much as I dislike Microsoft products, I do have a couple of sites using
VBScript and they work fine.

The problem is not the language. It's the programmer.
True, true.

Here's another example:
http://www.bacardi.com/html/uk/en-gb/freemixstix/

No graceful exit, just a full dump!
Oct 15 '07 #10
"Virginner" <th*****@LOSEITvirgin.netwrote in message
news:fe**********@aioe.org...
"Jerry Stuckle" <js*******@attglobal.netwrote in message
>The problem is not the language. It's the programmer.

True, true.
Here's another example:
http://www.bacardi.com/html/uk/en-gb/freemixstix/

No graceful exit, just a full dump!
That's what happens when programmers take barter in lieu of cash.
Oct 15 '07 #11
For developing web applications I would say PHP is the best. I've
tried to find other solutions (from Perl to Python to Ruby, though
never ASP) but nothing matches PHP, especially version 5.

You're right, PHP does have a problem with inconsistent naming.
However, PHP also has php.net, hands down one of the best language
resources on the web. In the process of my investigation of other
languages I haven't found anything comparable to it. Many times I've
had to solve a problem I've never encountered before or in a way I
haven't before, but I was able to thanks to php.net and the great
comments there.

Python is a good language and may be a better choice given the
particular situation, but as far as being a friendlier language than
PHP, I would say definitely not.

Hope that helps

Phil

On Oct 12, 3:51 pm, macca <ptmcna...@googlemail.comwrote:
I know this is a php newsgroup so obviously most people here like
using php, but I was just wondering what people's opinnions were on
the most diverse/useful and friendly 'scripting' language was.

I like php and have made my choice to use it as my main language, only
the more I look into other languages, the more i see things that I
like in them that I dont necesarrily see in PHP.

For example, the more I use php I realize that php has a serious issue
(in my opinnion anyway) when it comes to nomenclature for it's inbuilt
functions. There seems to be a quite noticable lack of consistency
with function families (especially for case/case-insensitive
versioning).

Theres also a video on Youtube (http://www.youtube.com/watch?v=p-
WXiqrzAf8) by Jacob Kaplan-Moss senior developer of Django that said
he favoured Python over PHP because it was easier to maintain than
large PHP applications.

Ive done a little reading on python myself and it seems packed full of
goodies and quite powerful and quite easy to pick up. Shame about the
fear of curly braces though.

I've also done a bit of python GUI programming and it seems easier to
me than GUI programming with PHP using PHP-GTK for exampe.

--------------------------------------------------------------------------------------------------------------------------------

Anyway, that said, I cant see a problem with using them all for what
they are best at. But you guys must have your own opinnions and I
wouldnt mind hearing them...

Regards,

Paul.

p.s.

Please don't let this post become another stupid argument/slagging
match/name calling thing. Thanks.


Oct 17 '07 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: uh6uj | last post by:
I have a rather general question regarding choice of language. I stumbled on ASP.NET a little while ago when I first started learnin JavaScript. I thought .NET was great and have started to learn...
10
by: Matthieu Labour | last post by:
Hi, I want to use a c++ version of log4j. But there are 3 of them :log4cpp, log4cplus, log4cx. Whis one is the best ? Thank you
5
by: Placek | last post by:
Good Evening I am a student studying Computing and I am just about to start on my dissertation. I am keen to develop a website that queries data from a database and I decided that I would do...
3
by: Mark | last post by:
Hi From what I understand, you can pass arrays from classic ASP to .NET using interop, but you have to change the type of the.NET parameter to object. This seems to be because classic ASP passes...
4
by: - - Vivian - - - - - - | last post by:
which best software for work with ASP.NET ? to design page join to programming send your suggestions Vivian
1
by: sudhakaranr | last post by:
Hi all, I have data in MySql, I want to create a front end for the database..... which one is easy and standard either tkinter or wx python? We should pick the values from database...
0
by: kjnhu | last post by:
I am using VB express edition 2005 and trying to connect to a 1and1 MS SQL database but need to use asp or .net to do so. I tried the following code, but it will not work. Any suggestions? Dim...
1
by: Jean-Paul Calderone | last post by:
On Mon, 16 Jun 2008 01:37:47 +0900, js <ebgssth@gmail.comwrote: I don't know about ports or macport, but Debian has recently switched to a different policy for python packages which does not...
0
by: davidj411 | last post by:
when does is make sense to use a ASP style Page (.psp) over a Python- based CGI script with IIS. ? http://support.microsoft.com/kb/276494 ASP requires registering the python engine. which...
7
by: David | last post by:
Hi, I am attempting to do URL ReWriting with .NET to my classic ASP app. (Too big to upgrade to .NET at the moment). However, those who have tried will know that classic asp when rewritten...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.