Witch language to choose? (PHP or asp.net)

W

warstar

Hello all,

I'm in a bit of a problem I'm given a project making an online
shopping system for a professional barbershop. But I'm with a small
problem in witch language to make the system.
My choice would be PHP but I hear from many people that asp.net is
better and more stable.
So I ask you what your experience with asp.net and PHP is.

Thank you already,
Warnar
 
H

Hermit Dave

asp.net is pretty cool... you have a fully object oriented way of writing
websites...
you might be tempted to tell me that even java's object oriented but wait a
sec.
asp.net has html controls and web controls and associated events and yes it
makes the code a lot cleaner
but at the end of the day its really your wish and clients budget...

yes asp.net is a lot more stable and fast after the first run...

chao..

Hermit Dave
 
E

Egbert Nierop \(MVP for IIS\)

warstar said:
Hello all,

I'm in a bit of a problem I'm given a project making an online
shopping system for a professional barbershop. But I'm with a small
problem in witch language to make the system.
My choice would be PHP but I hear from many people that asp.net is
better and more stable.
So I ask you what your experience with asp.net and PHP is.

If there would be a PERL.NET you can use that language for that ASp.NET
framework(!).

PHP is not a webserver framework, it is an language add-on including
libraries that utilizes the CGI interface.

And yes, if you ask here the obvious answer would be: "ASP.NET is cool!"
If you ask the same in a PHP newsgroup the answer would be: "PHP is cool!"
 
E

Eric Veltman

warstar said:
I'm in a bit of a problem I'm given a project making an online
shopping system for a professional barbershop. But I'm with a small
problem in witch language to make the system.
My choice would be PHP but I hear from many people that asp.net is
better and more stable.
So I ask you what your experience with asp.net and PHP is.

Both have their charms. For instance ..

PHP advantages over ASP.NET :

- Very lightweight and fast, runs on cheap, slow hardware.
- Runs on just about every platform you can imagine.
( Though ASP.NET runs on many platforms as well
if you use the open source Mono framework. )
- Very cheap and widely available hosting.
- A lot of freedom for developer, compose your own
web development framework by choosing the right components.

ASP.NET advantages over PHP :

- It's a web development framework, providing solutions to the
statelessness of the web, good solutions for componentization
of the user interface ( i.e. user controls ), separation of
logic and layout, etc.
- Good support of unicode ( nice for international apps )
- Languages supported by ASP.NET and the class library are
modern and completely OO and support exception handling,
which I personally find a big plus.

Of course there are more examples for both and I don't
want this to turn into a flamewar. I like both.
Choose based on your needs.

Best regards,

Eric
 
W

warstar

If there would be a PERL.NET you can use that language for that ASp.NET
framework(!).

PHP is not a webserver framework, it is an language add-on including
libraries that utilizes the CGI interface.

And yes, if you ask here the obvious answer would be: "ASP.NET is cool!"
If you ask the same in a PHP newsgroup the answer would be: "PHP is cool!"

That's why i ask it so the ASP.Net people who say "ASP.NET is cool"
and to the php people who say "PHP is cool".
Thanks
 
W

warstar

Thanks for the small war :D i can really use this in disiting witch
'language' to use.
Thank you
 
J

John Timney \(Microsoft MVP\)

Its not a question of language, if your using Linux and mySQL for example
then you might be better off using PHP, if its windows and SQL server then
you will get better support from the MS community.

Foget about the language until you have though a little wider about the
problem - what do you deploy to - what are you developing on - can you get
an off the shelf solution already.

ASP.NET is not more stable than PHP, and PHP is not more stable than
ASP.NET - I can make both crash easily if I code the wrong way. but either
designed and developed correctly could provide a solution for you. What
langauge skills do you have, what platforms background do you have etc tec
should all come into play.

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
 
S

Sami Vaaraniemi

Having implemented a web application using both technologies, here are my
comments.

The biggest difference in my opinion is that ASP.NET gives you compile-time
safety. In my experience, this is not just a buzzword but a real tangible
benefit. The interpreted nature of PHP tends to cause some bugs to be found
later rather than sooner. You can address this issue to some extent with
e.g., heavy unit testing.

Another difference is the tools support. I don't think there is anything in
the PHP world that would match VS.NET, especially the debugger.

The third difference is the price. PHP and things that go with it, e.g.,
Linux, MySQL are (almost) free. With ASP.NET, the OS and the tools are not
free - there are very cheap tools for ASP.NET too, but they are not as nice
as VS.NET. Also, ASP.NET hosting tends to be more expensive than PHP
hosting. The price difference is somewhat offset by the fact that with
PHP/Linux/MySQL you may end up spending more time with compiling PHP and
related software (e.g., drivers).

The bottom line is that you can get the job done using either technology. I
find that I'm more productive with ASP.NET, thanks to compile-time safety
and tools.

Sami
 
J

Janwillem Borleffs

warstar said:
I'm in a bit of a problem I'm given a project making an online
shopping system for a professional barbershop. But I'm with a small
problem in witch language to make the system.
My choice would be PHP but I hear from many people that asp.net is
better and more stable.
So I ask you what your experience with asp.net and PHP is.

The advantage of PHP is that it runs on almost any operating system,
including many free ones, while asp.net needs an expensively licenesed
Microsoft environment.


JW
 
R

r

warstar said:
Hello all,

I'm in a bit of a problem I'm given a project making an online
shopping system for a professional barbershop. But I'm with a small
problem in witch language to make the system.
My choice would be PHP but I hear from many people that asp.net is
better and more stable.
So I ask you what your experience with asp.net and PHP is.

Thank you already,
Warnar

As far as code developement goes; Visual Studio has a debugger that's hard
to beat. I'm using ActiveState Komodo for php and it's ok but VS will run
rings around it.
R
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,020
Latest member
GenesisGai

Latest Threads

Top