There are 119 guests and 0 members online. Who is online?

home  »  blogs  »  vivek_iit  »  ASP.NET vs PHP

To rate this blog entry please  register or login

Author

vivek_iit vivek_iit (Member since: 11/27/2008)
I am one of the administrators at CodeAsp.Net and I love programming, architecting solutions, code reviews, teaching and writing about ASP.NET.

View vivek_iit 's profile

Comments (3)

  • Rob 5/16/2009 7:46:27 PM by:  Rob
    I've spent 5 years working on commercial applications in PHP (from small to large corporates) and the past 4 with C# ASP.Net (on high profile sites) and this is what I've noticed from my own experience with both PHP * Simpler and quicker to learn * Faster to deploy for smaller sites * Loosely typed, easier to develop smaller applications with. * Generally quicker to make simpler changes to existing apps/sites ASP.NET * More complex to learn * Superior Development Environment * .Net Framework contains a lot of plumbing for all sorts of functionality * Closer to traditional O.O Programming model * More time-consuming for smaller changes to applications * Designed to scale I think PHP is great for smaller to medium size applications (dont get me wrong, there are some awesome large apps in php), however feel that ASP.Net provides a more robust programming model for larger more complex software apps. Combine that with the best IDE on the market (that can actually speed up development quite a lot) Conclusion: While either language can achieve the same results (I know this because I have done it in both PHP and ASP.Net), wouldn't you choose the most appropriate language for the task at hand. PHP - Simpler applications, or Established Open Source Apps (Like CMS, ECommerce, etc) ASP.Net - Custom Web and Desktop applications with lots of functionality, complex workflow etc
  • vivek_iit 3/30/2009 8:58:19 PM by:  vivek_iit
    @awake: this comes from my personal experience when working with two major websites in PHP which the client wanted to convert to .NET. After the conversion, we compared the load tests and realized that there is a slight reduction in hosting costs because of the inbuilt support in asp.net for session scaling like State server and sql server based sessions.PHP does scale, but I guess there is no in built support like in ASP.NET, hence the term "costly".
  • awake 3/30/2009 2:19:34 PM by:  awake
    ASP.NET is impressive no doubt (and I program in ASP.NET), but there is nothing it does that PHP cannot do. Also there are PHP frameworks that make life equally as easy as what ASP.NET offers (as far as security, membership and other functionalitieis go) Also you cannot compare PHP's FREE to ASP.NET FREE, and yes, ASP.NET hosting is slightly higher that PHP hosting. I really did not get your point about ASP.NET costing less in terms of hardware to support? HOW in the 21st century did you come up with this? You should check out PRADO and Yii (two awesome php frameworks). - http://pradosoft.com - http://yiiframework.com

Post a comment

Name:
 *  

Email: (your email is kept secure)
 *  

Website:



example: "http://codeasp.net/"

Comment (No HTML)  

Type the characters:
 *
 
   

Join CodeAsp.Net for FREE Today!

It's fast, easy and free! Submit articles, get your own blog, ask questions & give answers in the forums, and become a better developer, faster.

enter your email address:

vivek_iit's latest blog posts

Latest community blog posts

  • samir.nigam Binding a TreeView control to a hierarchical data structure, Part II
    2/4/2010
    Download demo application - 6.00 KB Introduction In my last blog Binding a TreeView control to a hierarchical data structure, Part I , I had describe how one can bind a TreeView control to a hierarchical data structure through recursion. Now I’m going to ...
  • mohit Implement a browse button in asp.net
    1/28/2010
    In this blog I will explain how to Implement a browse button in asp.net Web Application. You can use Fileupload asp.net Control.     <asp:FileUpload ID="fuTest" runat="server" />   Happy Coding:)
  • mohit Prevent Duplicate Value in a Table
    1/22/2010
    Normal 0 false false false EN-US X-NONE X-NONE ...
  • mohit Alert Box From ASPX Code-Behind Code
    1/20/2010
    In this blog I will explain how to open a JavaScript alert from Code-behind file.I want to show ‘Welcome’ alert on page load. Below is my code:-protected void Page_Load(object sender, EventArgs e) { Response.Write("<script>alert('Welcome')</sc...
  • mohit DataTable in ASP.NET
    1/14/2010
    In this blog I will explain how to create DataTable. here is my code:- creating Table first- private DataTable myTestTable() { DataTable myTable = new DataTable(); DataColumn myColumn; myColumn = new DataColumn(); myColumn.DataType = Type.GetT...