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

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

am 12.10.2007 21:51:29 von Macca

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.

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

am 12.10.2007 22:19:51 von Ivan Marsh

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.

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

am 12.10.2007 22:33:26 von Michael Fesser

..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

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

am 13.10.2007 03:46:17 von Macca

>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.

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

am 13.10.2007 04:09:00 von Jerry Stuckle

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.
jstucklex@attglobal.net
==================

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

am 13.10.2007 14:34:24 von oliver.graetz

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]

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

am 13.10.2007 16:10:41 von Virginner

"Ivan Marsh" wrote in message
news:pan.2007.10.12.20.19.51.330208@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?

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

am 13.10.2007 16:53:21 von Jerry Stuckle

Virginner wrote:
> "Ivan Marsh" wrote in message
> news:pan.2007.10.12.20.19.51.330208@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.
jstucklex@attglobal.net
==================

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

am 13.10.2007 17:33:13 von Bucky Kaufman

"Virginner" wrote in message
news:Bl4Qi.15764$DB2.11694@newsfe1-win.ntli.net...
> "Ivan Marsh" wrote in message

> 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?

That's a sign of bad web design, not bad tech.
Unfortunately, it's very common for people of bad character to get so
rabidly angry about Microsoft - blaming them for what people do with their
products.

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

am 13.10.2007 17:46:32 von Macca

>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.

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

am 13.10.2007 17:53:17 von Bucky Kaufman

"macca" wrote in message
news:1192290392.517159.177940@v29g2000prd.googlegroups.com.. .
> >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?

I've been having a problem with it for MONTHS.
Whenever I tried to download the 100MB or so of Zend Studio 5.5, it craps
out during the last few megs - corrupting the download, irreparably.


> 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.

I used it at Nortel in the 90's.
There are still several job postings here in Dallas for CF developers.

It's a great way for marketing types to pretend they're developers - but
that's about it.

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

am 15.10.2007 16:29:28 von Virginner

"Jerry Stuckle" wrote in message
news:uKydnXqfZc23QY3anZ2dnUVZ_hzinZ2d@comcast.com...
> Virginner wrote:
>> "Ivan Marsh" wrote in message
>> news:pan.2007.10.12.20.19.51.330208@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!

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

am 15.10.2007 16:42:27 von Bucky Kaufman

"Virginner" wrote in message
news:fevtg9$p4l$1@aioe.org...
> "Jerry Stuckle" wrote 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.

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

am 17.10.2007 02:42:27 von mozillalives

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 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.
>
> 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.
>
>