Jump to content

Recommended Posts

I do like that you have to type less with ASP.net, I think certain things could be done just that way in PHP.

 

I often do not like to spend too much time with formatting and indenting, which I have to do in PHP.

 

ASP.net does seem to not have a documentation which I do not like and I also assume the functionality may not match up to PHP.

 

How else does it compare?

Link to comment
https://forums.phpfreaks.com/topic/253566-how-is-aspnet-compared-to-php/
Share on other sites

Webforms (which is regular ASP.NET) and PHP aren't really directly comparable.  Webforms are built with 'server controls', which are bits and pieces of mashed together code.  Some of the code is used purely for display, while other parts do things behind the scenes.  There's nothing remotely like that in PHP.

 

ASP.NET MVC is a lot closer to what web developers deal with.  The framework is modeled after (stolen from) Rails.  The closest PHP counterpart I can think of to that would be Symfony2.

 

As someone who's done both webforms and MVC, I say skip webforms.  They're clunky, horrible to work with (the Page object's lifestyle is just baffling at times), and nearly impossible to test well.  MVC w/ C# is where it's at.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.