Forgot your password?
typodupeerror

Comment Re:bleh. (Score 4, Interesting) 407

can you offer any REAL advantages of PHP over ASP.NET? I've worked only a little bit with the two of them, and PHP I haven't used much since version 3, and a very brief stint helping a client port a PHP4 site over to JSP. Most of the development I've done has been with JSP/Servlet/Struts, and from my perspective I can't imagine going back to using PHP, although I could see using ASP.NET for enterprise development. To be clear, I am a J2EE developer who is trying to look at ASP.NET as objectively as possible. Here is what I see as advantages that ASP.NET has over something like PHP:

For instance:
  • I can swap out my serverside scripting language from C# to VB to JScript++ to theoretically any language that supports the CLR.
  • I can use really nifty tag libraries for such features as automatic pagination.
  • I can trap events in a framework that abstracts out many of the intricacies of HTTP.
  • My pages will be compiled and the compiled code will be reused (granted, not a full compile, but byte code interpretation is still faster than text interpretation).
  • I can get binary reuse of components written for .NET, which is a concept that seems to be completely irrelevant in PHP.
  • With code behinds I have a very simple mechanism for separating business or integration code from presenation logic.
  • I get to use full featured object oriented programming languages that are strongly typed and offer all of the advantages of such languages (IO libraries, interface/class inheritance, db libraries, xml processing, ldap abstraction layers, SOAP processing, EAI libraries, connection pooling, multithreading, remote object lookup (COM and .NET remoting, hell, even COM/EJB bridges), etc.).
  • The tool support for .NET is another very compelling reason to look at ASP.NET.
  • In memory session support

  • Again, I'm trying to look at reasons why I would prefer PHP to ASP.NET, and it seems like there are reasons that you are convinced are compelling, so I'd be interested in hearing them.

Slashdot Top Deals

Everybody needs a little love sometime; stop hacking and fall in love!

Working...