which is best PHP or ASP or ASP.NET

Last post 01-04-2007 5:45 AM by ibrahimersoy. 18 replies.

Sort Posts:

  • which is best PHP or ASP or ASP.NET

    05-05-2004, 9:05 PM
    • Member
      20 point Member
    • rainbow11
    • Member since 05-05-2004, 8:59 PM
    • Posts 7
    Hi everyone,

    I did project in both ASP and PHP. Now, I am learning ASP.net. I think, I can catch ASP.net very easily.

    So it means I can do project in ASP or PHP or ASP.net.

    I am going to do my own e-commerce website for selling product online.
    But here is the problem. I don’t have any senior person who can guide me.
    That’s why I need assistance from all of you.

    I don’t know which language is best or which of the following combination I should choose---

    ASP and MSSQL

    ASP.NET and MSSQL

    PHP and MYSQL

    Really I don’t know what to do. I am very confused after reading all those articles from websites for comparisons of all these languages.

    Please help me I wants to know which is best for security, speed and for businesses like small to big and for money wise too.

    And my database is going to be from small to very big.

    Thanks in advance.

    rainbow11
  • Re: which is best PHP or ASP or ASP.NET

    06-18-2004, 8:52 AM
    • Member
      205 point Member
    • JordanF
    • Member since 04-16-2004, 12:26 PM
    • Posts 41
    PHP is more secure.
    ASP.NET is faster than PHP4.
    PHP5 and ASP.NET perform about the same.
    ASP.NET is known for exploits when running on IIS.
    PHP is cross-platform.
    ASP.NET is windows only.
    PHP is free and less costly to use.
    ASP.NET web hosting is very expensive.

    It really depends on what you want to do. What will be the size of this eCommerce site?

    For larger sites, ASP and Microsoft SQL are your best bet.
    MySQL is not suitable for large websites unless InnoDB or Merge tables are used, as well as proper database design.
  • Re: which is best PHP or ASP or ASP.NET

    06-20-2004, 8:06 PM
    When comparing the language/tool, there platform where these languages will be deployed should also be considered.

    If all I can afford a GB/day web hosting is a linux/apache/mysql, it's not really a matter of option but have to choose php in current hosting market place.

    If the cost is less an factor, eg. I am developing a site for my company which has already justify the cost of this work, or I am developing a site for a start up who has already brought in their initial VC fund which is sufficient such a project, in these cases, I probably will choose language/tool over platform simply because platform cost is more predictable and fixed, vesus developing cost/time may vary widely depending on which language/tool used.

    asp.net will outrun php in latter case with no arguement (language to language between asp.net or php).

    Ideally, if Mono on Linux/mysql web hosting become a reality, meaning within the same monthly hosting price range, asp.net or php should become a serious topic to choose from. Before that day, this is nosense.
  • Re: which is best PHP or ASP or ASP.NET

    06-28-2004, 8:31 PM
    • Participant
      1,570 point Participant
    • Vintious
    • Member since 03-08-2003, 10:30 PM
    • Posts 314
    JordanF took a little liberty with his claims.

    There have been no credible tests done comparing ASP.net with any version of PHP.

    ASP.net is cross-platform if use use Mono.

    There ARE less hosting options when you choose ASP.net, but you can find cheap ones too. (www.webhost4life.com for example).

    There are no known exploits when running the newest version of the Framework on IIS 6.0 (Windows Server 2003).

    PHP will never have ASP.net superior object oriented programming model, unless they remove all backwards compatibility.

    ASP.net's class library far surpasses PHP's group of methods.

    ASP.net 2.0's feature set will make common programming situations (such as your eCommerce site) very easy to implement.

    If you don't care about a well thought out and expandable architecture, and will just hack away with your code, PHP will work. I suggest you take a look at a .NET solution though.
  • Re: which is best PHP or ASP or ASP.NET

    08-30-2004, 4:58 AM
    • Member
      255 point Member
    • Boldrik
    • Member since 06-17-2004, 12:31 PM
    • Europe, Czech
    • Posts 52
    I used to use PHP, but now I think that ASP.NET is better in every way
    Ales Ruzicka
    18 years old Czech student & cleaner :)
    interested in internet technologies
    myBlog
  • Re: which is best PHP or ASP or ASP.NET

    09-06-2004, 4:09 PM
    • Member
      5 point Member
    • javad_amel
    • Member since 09-06-2004, 3:23 PM
    • Posts 1
    see this:
    http://www.oracle.com/technology/pub/articles/hull_asp.html
  • Re: which is best PHP or ASP or ASP.NET

    09-06-2004, 4:17 PM
    • All-Star
      46,027 point All-Star
    • joteke
    • Member since 06-16-2002, 3:24 PM
    • Kyro, Finland
    • Posts 6,879
    • ASPInsiders
      Moderator
      TrustedFriends-MVPs
    see this:
    http://www.oracle.com/technology/pub/articles/hull_asp.html


    Validity of this information has been discussed here:
    view post 490327
    Thanks,

    Teemu Keiski
    Finland, EU
  • Re: which is best PHP or ASP or ASP.NET

    04-11-2005, 4:37 AM
    • Member
      120 point Member
    • foolah
    • Member since 03-30-2005, 1:31 PM
    • Posts 24

     Vintious wrote:
    JordanF took a little liberty with his claims. There have been no credible tests done comparing ASP.net with any version of PHP. ASP.net is cross-platform if use use Mono. There ARE less hosting options when you choose ASP.net, but you can find cheap ones too. (www.webhost4life.com for example). There are no known exploits when running the newest version of the Framework on IIS 6.0 (Windows Server 2003). PHP will never have ASP.net superior object oriented programming model, unless they remove all backwards compatibility. ASP.net's class library far surpasses PHP's group of methods. ASP.net 2.0's feature set will make common programming situations (such as your eCommerce site) very easy to implement. If you don't care about a well thought out and expandable architecture, and will just hack away with your code, PHP will work. I suggest you take a look at a .NET solution though.

    Dude I'm not sure that PHP is not OOP. You havent there objects like in ASP.net but you can pre-set your own ;) ASP.net is not respecting W3C and W4D so indexing is "harder" for bots etc. Anything what is generated automaticly by ASP.net is horrible so I guess if that guy wanna start with eCommerce site firsttime is better PHP, coz there are no problem later to cross-over to any "platform/language"

    PHP is free, hosting is easy and it doesnt matter if the page is bit faster or slower. Table is displaying after the browser has whole content (ASP.net generated) and Div is displaying content just downloading.

     

    _______________________

    Microsoft - has it continuity to someone's sex organ ? Zip it! [:#] ? 

  • Re: which is best PHP or ASP or ASP.NET

    04-11-2005, 4:01 PM
    • Contributor
      5,962 point Contributor
    • Xanderno
    • Member since 06-17-2002, 3:24 PM
    • Plano, TX
    • Posts 1,181
    Dude I'm not sure that PHP is not OOP.


    Then let me reassure you...PHP is *not* an OO language.  PHP doesn't even *claim* to be an OO language.  Neither are any of the languages that the PHP designers credit as inspiration, which more or less rules out PHP being OO. 
  • Re: which is best PHP or ASP or ASP.NET

    04-12-2005, 3:55 AM
    • Member
      120 point Member
    • foolah
    • Member since 03-30-2005, 1:31 PM
    • Posts 24

    Hmm dont thing so, what you mean OOP ? Object Oriented Programming ? You can make classes in PHP and over the params you can work with em, you wanna tell me that's not OOP ? I know its not like ASP.net (xy thousands objects and methods and god knows what else) but OOP is not only ASP.net or .NET  ... true ?Broken Heart [U]Lightning [li]

    ____________________________________________________________________________________________________
    OOP - oral oriented position =)

  • Re: which is best PHP or ASP or ASP.NET

    04-12-2005, 2:21 PM
    • Contributor
      5,962 point Contributor
    • Xanderno
    • Member since 06-17-2002, 3:24 PM
    • Plano, TX
    • Posts 1,181
    but OOP is not only ASP.net or .NET  ... true


    True.  Java is also object-oriented. So SmallTalk.  So is Eiffel.  So is Objective-C.   

    Just because PHP offers some OO constructs, doesn't make it an OO language,.  It isn't.  VBScript allows you to define classes too.  That doesn't make it object-oriented.  PHP allows for classes, inheritance, other OO-type features, sure, but the use of the OOP model isn't enforced.  The backbone of PHP is C-style functional programming...You can build a lifetime's worth of PHP applications without ever delving into OOP, so no, PHP is not an OO language. 
  • Re: which is best PHP or ASP or ASP.NET

    05-18-2005, 10:50 PM
    • Participant
      1,615 point Participant
    • wswartzendruber
    • Member since 11-12-2003, 1:09 PM
    • Camp Lejeune, NC, USA
    • Posts 324
     foolah wrote:

     Vintious wrote:
    JordanF took a little liberty with his claims. There have been no credible tests done comparing ASP.net with any version of PHP. ASP.net is cross-platform if use use Mono. There ARE less hosting options when you choose ASP.net, but you can find cheap ones too. (www.webhost4life.com for example). There are no known exploits when running the newest version of the Framework on IIS 6.0 (Windows Server 2003). PHP will never have ASP.net superior object oriented programming model, unless they remove all backwards compatibility. ASP.net's class library far surpasses PHP's group of methods. ASP.net 2.0's feature set will make common programming situations (such as your eCommerce site) very easy to implement. If you don't care about a well thought out and expandable architecture, and will just hack away with your code, PHP will work. I suggest you take a look at a .NET solution though.

    Dude I'm not sure that PHP is not OOP. You havent there objects like in ASP.net but you can pre-set your own ;) ASP.net is not respecting W3C and W4D so indexing is "harder" for bots etc. Anything what is generated automaticly by ASP.net is horrible so I guess if that guy wanna start with eCommerce site firsttime is better PHP, coz there are no problem later to cross-over to any "platform/language"

    PHP is free, hosting is easy and it doesnt matter if the page is bit faster or slower. Table is displaying after the browser has whole content (ASP.net generated) and Div is displaying content just downloading.


    I've never had any problems with ASP.NET and W3C's XHTML validator.

  • Smile [:)] Re: which is best PHP or ASP or ASP.NET

    06-07-2005, 10:24 PM
    • Member
      240 point Member
    • vikasumit
    • Member since 05-23-2004, 2:17 AM
    • Delhi, India
    • Posts 48

    Hi,

     

    I wWould Like you to chose it yourself. See what you have done all are start telling there points and from it I cannot make it to chose from?

    I am PHP programmer and now learning ASP.Net, I haven't work on ASP but I have taken some winodws programming in VB6 and I know ASP is not much difference from it. PHP support OOPs, ASP.NET is based on OOPs. So, The main contrains from real life between two languages is the Cost they have while chosing your server. And that is not a problem if you chose to get a Deticated server. They nearly have same price.

    Both languages have its own benefits. I have read one line somewhere suggesting "Chosing between PHP and ASP.NET is more a debate on chosing between Linux and Winodws. Or Between "Open Source" and "Microsoft". " So place yourself in this and you get the answer.

    And If you give me a option to chose I go with ASP.Net simply because I want to learn it and Want to have my own coded site in ASP.Net right now. (Thinking like a child who want to try new things around him )

    Hope that this help you out

     

    Sumit Gupta
    Vikasumit
    http://www.vikasumit.com
    http://www.sumitgupta.net
    http://www.online3d.info
  • Re: which is best PHP or ASP or ASP.NET

    06-15-2005, 3:06 PM
    • Contributor
      2,087 point Contributor
    • subdigital
    • Member since 08-11-2004, 4:02 PM
    • Houston
    • Posts 441
    • ASPInsiders
     JordanF wrote:
    PHP is more secure.

    A language or technology is only as secure as the person developing in it.  You can develop an insecure website with PHP just as easily as ASP.NET (in fact, I'd say that ASP.NET gives you a security jump over PHP for the incredibly oblivous or naive developer).

     JordanF wrote:
    ASP.NET is faster than PHP4. PHP5 and ASP.NET perform about the same. ASP.NET is known for exploits when running on IIS. PHP is cross-platform. ASP.NET is windows only.
    PHP is free and less costly to use.
    ASP.NET web hosting is very expensive. It really depends on what you want to do. What will be the size of this eCommerce site? For larger sites, ASP and Microsoft SQL are your best bet. MySQL is not suitable for large websites unless InnoDB or Merge tables are used, as well as proper database design.


    These are not concrete statements.  The general idea is correct, but you should also consider:



    Performance is probably the LAST thing you should consider I think.  These days, people talk about performance like it will make all the difference between a successful app and a failed one.  This is usually not the case.  Pick the right tool for the job, always.

    ASP.NET web hosting is NOT costly.  We can host simple web apps for $5/month at my job.  You can find this same deal at many hosts.  SQL server databases only increase the cost a little bit, but you can EASILY use MySQL to make the overall cost cheaper.

    MySQL is perfectly suited for a large application, given the database is designed correctly.

    ASP.NET apps run pretty well on Mono in a Linux environment, which means that it is also cross platform.

    Nowadays I write all of my web applications in ASP.NET because my productivity sky-rockets over ASP, PHP, Cold Fusion,etc.  This is the deciding factor for me.  It is up to you to see exactly what you are best in.
    Ben Scheirman
    http://www.flux88.com

    ASP.NET MVP
    Certified ScrumMaster
    ASPInsider
    MCSD
  • Re: which is best PHP or ASP or ASP.NET

    09-13-2005, 12:48 PM
    • Member
      35 point Member
    • yaoyouyou
    • Member since 09-13-2005, 2:54 PM
    • Posts 7

    linux+php +apache+PostgreSQL.
    you can use PostgreSQL instead of MySQL

Page 1 of 2 (19 items) 1 2 Next >