PHP vs Asp.net

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
seanmanford
Forum Newbie
Posts: 2
Joined: Mon Oct 22, 2007 2:19 pm

PHP vs Asp.net

Post by seanmanford »

Hi,

We have a website developed using asp.net and we think to start useing php.
I would like to know the some thing :

1. advantages and disadvantages php has over asp.net
2. Main problems with php
3. how complex is it to learn it?
3. any other useful information

Sean Manford
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Re: PHP vs Asp.net

Post by feyd »

seanmanford wrote:1. advantages and disadvantages php has over asp.net
No dependence on Microsoft or Windows servers. They are roughly on-par. Windows specific things are easier on ASP.Net of course.
seanmanford wrote:2. Main problems with php
Outdated, and poorly coded tutorials, online examples and books... unfortunately. Prevalence of poor code in "production" libraries and such.
seanmanford wrote:3. how complex is it to learn it?
If you understand C/C++.. the learning curve is super smooth. It's not complicated.
seanmanford wrote:4. any other useful information
The manual is a wealth of information few tap well.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

Another difference is that C#, like, Java is really a IDE based language. I doubt there are many C# developers not using VIsual Studio. It almost sounds like a for-profit deal. ;)

PHP and the other excellent LAMP scripting lanugages can be developed using any editor or an IDE.
(#10850)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I guess I break that mold.. I used the command line that came with Visual C# to compile C# stuff, but used a basic text editor (TextPad) for all things C# and Java. ;)

Also now I use Eclipse.... but I digress.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

feyd wrote:I guess I break that mold..
And several others! ;)

What's the old joke ... they broke the mold before they made you! :)
(#10850)
seanmanford
Forum Newbie
Posts: 2
Joined: Mon Oct 22, 2007 2:19 pm

thanks for the info - one last request

Post by seanmanford »

Can you give me a good first point to start check php?
some good link to simple documentation or some examples.

thanks
Sean manford
User avatar
nathanr
Forum Contributor
Posts: 200
Joined: Wed Jun 07, 2006 5:46 pm

Post by nathanr »

this may sound sarcastic, but seriously read the manual, and all comments.. then read it again - works for me :)
Rovas
Forum Contributor
Posts: 272
Joined: Mon Aug 21, 2006 7:09 am
Location: Romania

Post by Rovas »

One the better tutorials for beginners is on: http://devzone.zend.com/tag/PHP101
One the largest source of tutorials for PHP: http://www.tutorialized.com/tutorials/PHP/1
Need classes or scripts for a specific problem use: http://www.phpclasess.org
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: PHP vs Asp.net

Post by onion2k »

seanmanford wrote:We have a website developed using asp.net and we think to start useing php.
Why?

What I mean is, why are you going to scrap a working application to rewrite it in a different language and potentially (depending on the expertise of the development staff) lose knowledge, testing, data and features from the existing code? There must be some seriously big reason that you're thinking about a switch to a completely different platform.
Post Reply