Click here to Skip to main content
15,920,217 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can someone suggest/offer some drawbacks when using PHP for a business application? I heard PHP does not offer true multithreading along with async calls that AJAX offers. Interested in knowing some other limitations.

Thank you
Posted

I would say there's one other thing to keep in mind. If you don't know PHP, I would not bother learning it. But, if you do, and you don't know ASP.NET, there's no reason not to use PHP if it suits your needs. Any web system generates HTML, and the HTML does not know where it came from. If you are using PHP, then there's no reason to stop. If you're learning, ASP.NET is a better thing to learn.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 14-Jun-11 23:32pm    
Agree! A 5.
--SA
There is one other benefit of PHP that SAK and CG did not mention - it's cross-platform. Otherwise, I sincerely agree with their remarks.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 14-Jun-11 23:32pm    
Good point, I forgot to mention it, my 5.
--SA
Sergey Alexandrovich Kryukov 14-Jun-11 23:40pm    
I added a credit to this answer, but...
don't forget, ASP.NET also can be used on different platforms with Mono and Apache mod_mono, please see my updated solution, after [EDIT].
--SA
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 14-Jun-11 23:33pm    
A 5.
--SA
Comparison of PHP to ASP.NET is pretty clear. Compared to the power of ASP.NET, especially those due to the power of .NET, PHP is just nothing. Really rudimentary. PHP language is not a decent OOP language, just a collection of the irregularities.

Many recommended not to use PHP as a first programming language, as it can kill the test to good programming practices forever, in great contrast to C#. Some say, young people get into PHP programming because it's easier to start and later have their careers dead-locked with it. Fortunately for them, PHP programming is in considerable demand right now, but how about future?

There is only one benefit of PHP: price. Right now it's very popular, so it made possible to use it as a mass production tool and drop the prices of hosting compared to ASP.NET and anything else. PHP is a must-have component of LAMP bundles.
(See http://en.wikipedia.org/wiki/LAMP_(software_bundle)[^].)
It is good enough for simple sites which require little maintenance. That's why I use it in my personal Web site.

[EDIT]
Another apparent PHP benefit I forgot to mention: multi-platform. Thanks to Peter_in_2780.
ASP.NET also can be used on different platforms with Mono and Apache module mod_mono, see http://en.wikipedia.org/wiki/Mono_(software)[^] and http://en.wikipedia.org/wiki/Mod_mono[^].

—SA
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900