Page 1 of 1

General question about PHP

Posted: Thu Sep 21, 2006 1:02 am
by w3stfa11
I have to create an online gradebook for a project for one of my classes. We can use whichever language we want. I was at first thinking of doing it in PHP, but some of my classmates mentioned they were going to use ASP .NET. So, I'm stuck. Would PHP be a good candidate for this type of project? Are there any frameworks that would help? How would it compare with ASP .NET? I don't know either language very well, but I do know C++ and Java and the very basics of C#. I could really use anyone's advice on this.

Thank you.

Edit: I forgot to mention, I will also be using a database, either mySQL or MS SQL Server.

Posted: Thu Sep 21, 2006 1:17 am
by Luke
You have to know the responses you're going to get on a site called "php developer's network" are going to be a little biased to say the least :wink:

Posted: Thu Sep 21, 2006 2:22 am
by daedalus__
You'll pick up on PHP really fast.

Posted: Thu Sep 21, 2006 2:47 am
by Jenk
If both options were 'free' I'd chose ASP.NET. Because they are not, PHP.

Posted: Fri Sep 22, 2006 9:19 am
by w3stfa11
I thought ASP .NET was free?

edit: nm, you mean free as in free speech.

Posted: Fri Sep 22, 2006 9:36 am
by onion2k
w3stfa11 wrote:I thought ASP .NET was free?

edit: nm, you mean free as in free speech.
He did, but for the record ASP.NET generally only runs on Windows servers* so there is always a licencing cost implication.

* There's Mono, but I'm not sure thats really up to a production environment rollout yet.

Posted: Fri Sep 22, 2006 4:22 pm
by alvinphp
Well, you are asking if you should do PHP or .NET in a PHP forum. Unless you asked this same question in a .NET forum you seem to have already made up your mind. Since you say you know Java why don't you build it in that language using JSP/Servlets?

Re: General question about PHP

Posted: Fri Sep 22, 2006 4:29 pm
by AKA Panama Jack
w3stfa11 wrote:I have to create an online gradebook for a project for one of my classes. We can use whichever language we want. I was at first thinking of doing it in PHP, but some of my classmates mentioned they were going to use ASP .NET. So, I'm stuck. Would PHP be a good candidate for this type of project? Are there any frameworks that would help? How would it compare with ASP .NET? I don't know either language very well, but I do know C++ and Java and the very basics of C#. I could really use anyone's advice on this.

Thank you.

Edit: I forgot to mention, I will also be using a database, either mySQL or MS SQL Server.
I have had the misfortune to program in ASP and let me say the language was created by a dyslexic idiot. But then again it was created by Microsoft so what should I expect. :D

For the most part the language doesn't make much LOGICAL sense in the syntax. While PHP is very close to C++ and far easier to follow and use. The other big problem I had with ASP is how the server would error out when interpreting the code for no reason. Refreshing the page would cause it to work. This was on a major server farm running IIS.

Honestly if you want EASE of use and a far more STABLE environment you will program in PHP and avoid ASP like the Black Plague. I would NEVER consider ASP.NET to be an Enterprise environment no matter what Microsoft says.

Posted: Fri Sep 22, 2006 4:54 pm
by playuk
I did an amount of dev in ASP.NET using C# a while ago. There are positives and negatives to the language. As AKA Panama Jack says you do get some cryptic error messages with ASP and some of the ways in which you have to do things are a bit backwards. In its defence it can be a lot quicker for getting a web application off the ground. I also found it let hasstle to write error handling routines because there are already structures built into the programming environment itself. An example of this is the validation controls for forms.

Posted: Mon Sep 25, 2006 4:29 am
by acidHL
I had a play with ASP.NET recently (writing in C#).

Is it me or does the form validation only work in IE? That put me off right away. 8O

Posted: Mon Sep 25, 2006 8:20 am
by AKA Panama Jack
Well ASP is a Microsoft product. ;)

Posted: Mon Sep 25, 2006 11:59 am
by panic!
I've had the fortune of using ASP and it sucked, for example having to buy a module to use file uploads...Might be different in .net, I don't know.

Posted: Mon Sep 25, 2006 2:17 pm
by Jenk
.NET is a lot different to classic.

Re: General question about PHP

Posted: Mon Sep 25, 2006 2:59 pm
by timvw
w3stfa11 wrote:I have to create an online gradebook for a project for one of my classes. We can use whichever language we want. I was at first thinking of doing it in PHP, but some of my classmates mentioned they were going to use ASP .NET. So, I'm stuck.
I was thinking about crossing the river by walking over the bridge... But some of my classmates mentionned they're going to use a boat and peddle to the other side... Who cares what they do? Does it influence your choice? Or where you hoping for a free ride in their boat?
w3stfa11 wrote: Would PHP be a good candidate for this type of project?
Why where you thinking of doing it in PHP if you don't event know PHP well enough to judge about it's powers and flaws...
w3stfa11 wrote:
Are there any frameworks that would help? How would it compare with ASP .NET? I don't know either language very well, but I do know C++ and Java and the very basics of C#.
Imho every language has it's set of libraries that allows you to build a simple webapplication. I would advise to use whatever language you're most familiar with. I'm convinced that it will get you at the other side in no time.

Posted: Mon Sep 25, 2006 3:33 pm
by panic!
Jenk wrote:.NET is a lot different to classic.
I stand corrected!