473,909 Members | 4,189 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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

Jul 17 '05 #1
21 5858
I noticed that Message-ID: <01************ *************** *****@4ax.com>
from warstar contained the following:
I'm in a bit of a problem I'm given a project making an online
shopping system for a professional barbershop.


I think PHP is definitely a cut above the rest - use it and you will
shave hours off your development time. You could run a pole but a few
people might get stroppy. Be sure to trim your code right down then it
won't take long to comb through to find your mistakes. Pretty soon it
will be tight as a DA.
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #2
warstar <wa*****@NSA.ml > wrote in message
news:<01******* *************** **********@4ax. com>...

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.
The choice of scripting language is not done in a vacuum; it has
to be logically tied to the choice of operating system, HTTP server,
and database engine. And those choices, in turn, are heavily
influenced by performance requirements and cost considerations.
Since you are not telling us anything about performance requirements
and cost considerations, it's impossible to give you a rational
advice.
My choice would be PHP but I hear from many people that asp.net is
better and more stable.
Even if this is true (and opinions vary), how is it relevant to you
if your deployment platform is, say, Linux or FreeBSD?
So I ask you what your experience with asp.net and PHP is.


Both (as well as JSP, Perl, or Python) can be used to develop and
deploy high-performance Web applications. ASP is best when you
deploy on costly, but robust Microsoft-only software stack
(Win2K/IIS/SQL2K); PHP shines when you are willing to pay a small
performance penalty for significant budget cuts and thus decide
to deploy on an open-source software stack.

Cheers,
NC
Jul 17 '05 #3
Nikolai Chuvakhin wrote:

ASP is best when you deploy on costly, but robust Microsoft-only
software stack (Win2K/IIS/SQL2K);
I have not very often seen word "robust" used with any of the MS
products. So I'll have to ask what does the robustness specifically
mean here?

Does it mean that all these layers on this chain, W2k, IIS, SQL2k
and ASP are significantly more robust than the cheaper, mainly open
source counterparts?
I have thought that at least Apache should be a serious challenger
for IIS, when talking about robustness and security.
PHP shines when you are willing to pay a small performance penalty
for significant budget cuts and thus decide to deploy on an
open-source software stack.


Is there some benchmarks available, where one could easiy see the
speed difference between these two choices, and maybe still some
otheralternativ es.

I am *not* a PHP enthusiast myself. I'm just trying to find some
reliable facts for my near future own choices.

Markku Nevalainen
Jul 17 '05 #4
On Sun, 14 Dec 2003 01:26:57 +0000, Geoff Berrow
<bl******@ckdog .co.uk> wrote:
I noticed that Message-ID: <01************ *************** *****@4ax.com>
from warstar contained the following:
I'm in a bit of a problem I'm given a project making an online
shopping system for a professional barbershop.
I think PHP is definitely a cut above the rest - use it and you will
shave hours off your development time. You could run a pole but a few


But what about the error cheking and stuff asp.net dus that with like
3 clicks.
people might get stroppy. Be sure to trim your code right down then it
won't take long to comb through to find your mistakes. Pretty soon it
Where are you basing this on?? the debuger in asp.net helps you debug
never geen a debuger in php
will be tight as a DA.


Thank you
Jul 17 '05 #5
I agree ais there someone who has seen what is more robust win2k or
win2k3 or debian or redhat etc.
Same on the db part any test?
i was allways thinking apache was better then IIS but maybe i'm wrong?

Thanks for you repley

On Sun, 14 Dec 2003 12:20:15 +0200, Markku Nevalainen
<mn************ ***@iki.fi> wrote:
Nikolai Chuvakhin wrote:

ASP is best when you deploy on costly, but robust Microsoft-only
software stack (Win2K/IIS/SQL2K);


I have not very often seen word "robust" used with any of the MS
products. So I'll have to ask what does the robustness specifically
mean here?

Does it mean that all these layers on this chain, W2k, IIS, SQL2k
and ASP are significantly more robust than the cheaper, mainly open
source counterparts?
I have thought that at least Apache should be a serious challenger
for IIS, when talking about robustness and security.
PHP shines when you are willing to pay a small performance penalty
for significant budget cuts and thus decide to deploy on an
open-source software stack.


Is there some benchmarks available, where one could easiy see the
speed difference between these two choices, and maybe still some
otheralternati ves.

I am *not* a PHP enthusiast myself. I'm just trying to find some
reliable facts for my near future own choices.

Markku Nevalainen


Jul 17 '05 #6
I noticed that Message-ID: <9c************ *************** *****@4ax.com>
from warstar contained the following:
Where are you basing this on??


Very bad puns.

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #7
On Sun, 14 Dec 2003 11:42:59 +0000, Geoff Berrow
<bl******@ckdog .co.uk> wrote:
I noticed that Message-ID: <9c************ *************** *****@4ax.com>
from warstar contained the following:
Where are you basing this on??


Very bad puns.

Puns?? sorry my english isn't perfect
Jul 17 '05 #8
Bob
I've been going through the arguement/thought process over and over,
it never seems to end.

I've done databases/website in both platforms.

Factors in my decision are decidedly less technical than business,
hence my decision to "contribute " to this thread. Technical stuff in
my opinon is splitting heads lengthwise. Both are powerful mature
platforms that are only getting better.

My factors:

1) Cost
2) Availability of tools, including database generation/manipulation
and html / asp/php generation.
3) How does this impact my career, will learning this platform hurt
and enhance my money making potential. After all it's all about
money.

Results:

1) Cost, PHP/MySql hands down. Included in cost is the ability to
find examples/tutorials and CODE! The php/mysql community is bar
none.

2) Edge to Php/mysql in number of tools, however MS has released Web
Matrix this is a real neat professional all in one tool that
integrates html/asp/database quite nicely. And yo, it is free. yup
free. Remember IE/Netscape? However it only supports MS SQL Sever
and Access. That's the hook. Tough to compete with the world's
richest guy.

I my self use, homesite/php/mysql and will soon use navicat. Four
tools vs one. I paid for homesite and will for navicat.

3) This is the hardest, in the corporate world right now, asp / aspx
will pay the most. ASPX will become dirt common. PHP has been
fighting the rebel image and in MY OPINON is making serious headway,
and is becoming accepted. The edge however to ASP/ASPX due to sheer
marketing might of MS.

Pesonally as someone who cut his teeth on the original K&R edition of
"C" I like php. To me aspx gets too wrapped up in framework.

But hey, I am a corporate guy and I do asp and aspx also.

Bottom line, if cash is short go with php. Otherwise go where your
heart leads php or aspx.
But I must say the one thing burns my *ss about MS is the constant
forced upgrading. The new technology never seems to be compatible
with the older technology. You must upgrade or die. I am tired of
having to go back and update my programs because they are no longer
compatible with the new OS.

Make no mistake the profit drive in MS is strong, as it should be, you
will pay. Web Matrix may be free but it locks you in to MSSQL Server,
and that is not free. Plus MS based websites cost more, they have to
pay licensing fees the php/mysql guys don't have to.

Do what you want and feel secure in your decision.

warstar <wa*****@NSA.ml > wrote in message news:<3j******* *************** **********@4ax. com>...
I agree ais there someone who has seen what is more robust win2k or
win2k3 or debian or redhat etc.
Same on the db part any test?
i was allways thinking apache was better then IIS but maybe i'm wrong?

Thanks for you repley

On Sun, 14 Dec 2003 12:20:15 +0200, Markku Nevalainen
<mn************ ***@iki.fi> wrote:
Nikolai Chuvakhin wrote:

ASP is best when you deploy on costly, but robust Microsoft-only
software stack (Win2K/IIS/SQL2K);


I have not very often seen word "robust" used with any of the MS
products. So I'll have to ask what does the robustness specifically
mean here?

Does it mean that all these layers on this chain, W2k, IIS, SQL2k
and ASP are significantly more robust than the cheaper, mainly open
source counterparts?
I have thought that at least Apache should be a serious challenger
for IIS, when talking about robustness and security.
PHP shines when you are willing to pay a small performance penalty
for significant budget cuts and thus decide to deploy on an
open-source software stack.


Is there some benchmarks available, where one could easiy see the
speed difference between these two choices, and maybe still some
otheralternati ves.

I am *not* a PHP enthusiast myself. I'm just trying to find some
reliable facts for my near future own choices.

Markku Nevalainen

Jul 17 '05 #9
With total disregard for any kind of safety measures warstar
<wa*****@NSA.ml > leapt forth and uttered:
Where are you basing this on?? the debuger in asp.net helps you
debug never geen a debuger in php


I thought the debugger was a function of the IDE software. And PHP
does have one, in fact it has two that I know of:

http://www.phpedit.com/
http://www.zend.com/store/products/zend-studio.php

Personally I like PHP for it's flexibility. Languages such as C# or
Java may be very powerful but they're also very verbose and writing
a simple script is a pain as you're forced to adhere to both the OO
class structures and strong typing.

Hello world in PHP:
<?php echo 'Hello World'; ?>

Hello world in C#:

using System;
public class HelloWorld {
public static void Main() {
System.Console. WriteLine("Hell o World");
}
}

Not much different in Java:

public class Helloworld {
public static void main(String[] args) {
System.out.prin tln("Hello World");
}
}

So if you're looking at web programming then go with PHP as it has
everything you could possibly want and is relatively simple to code
as well. If things such as form validation is a requirement then I
suggest you take a look at WACT (Web Application Component Toolkit)
which does a good job at matching the more useful features of
ASP.NET: http://wact.sourceforge.net/

--
There is no signature.....
Jul 17 '05 #10

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

Similar topics

3
2624
by: Vikram M Gautam | last post by:
hello, does any know of any php script which can change the language of the webpage on the fly, i have seen many websites which have several language options to choose from thanks
2
1455
by: Josh Close | last post by:
I saw a question in a PHP list about the differences between php and perl, and what the advantages between the two are, but I think I was the only person that mentioned anything about python in the discussion. This makes me wonder what the python group things about these other languages. Python vs. Perl. vs. PHP vs. C# (and other .NET languages) vs. Java vs. C vs. C++ vs. whatever other language you can think of.
15
4317
by: Birahim FALL | last post by:
Hi, I'm very fresh to PostgreSQL, coming from Oracle. I want to developp web applications based on apache and postgresql. Is there an equivalent of OWA server (Oracle Web Application server) for postgresql. Shortly, OWA provides an apache module and a set of stored procedures/functions that generate html pages. A simple example could be the following procedure :
12
1365
by: warstar | last post by:
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,
17
1987
by: Arthur van Dorp | last post by:
Hi all This is a bit off topic but I don't know where else to ask (please tell me if you know). I'm going to build a web application. The choice of the underlying database wasn't difficult. After a few preliminary tests I'm confident that PostgreSQL is absolutely up to the task. But I'm at a loss regarding the "middleware". I know Apache quite well, so I wouldn't mind continuing using it. But what language/application server/whatever do...
3
1265
by: Paul | last post by:
Looking for recommendations on a programming language for a web application. I am soliciting recommendations on a programming language for a web application described below. Actually, it is not real, just an example of what the real application would do. I do not want to stimulate any debates between respondents. Everyone is entitled to their opinion. Let me be the one to privately decide on the validity of the comments. All options...
0
10035
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9877
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11346
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10919
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9725
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8097
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7248
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6138
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4336
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.