1 / 12

PHP vs ASP.NET

PHP vs ASP.NET. By: Colin Cramer. Overview. History Cost Popularity Support Scalability. History. PHP – Created in 1994 by Rasmus Lerdorf . He used as to track visits to his online resume. Personal Home Page Tools ->Hypertext Preprocessor

robert
Download Presentation

PHP vs ASP.NET

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PHP vs ASP.NET By: Colin Cramer

  2. Overview • History • Cost • Popularity • Support • Scalability

  3. History • PHP – Created in 1994 by RasmusLerdorf. • He used as to track visits to his online resume. • Personal Home Page Tools ->Hypertext Preprocessor • ASP.NET – Created in 2002 by Scott Guthrie at MS. • He became product unit manager for developing the language further.

  4. What is PHP? • Open-source language. • Utilizes its own code syntax, with assistance from HTML, CSS, and Javascript.

  5. What is ASP.NET? • Microsoft’s answer to server-side languages. • Does not work on its own. Needs assistance from other languages like C#, Visual Basic, HTML, CSS, and Javascript.

  6. Cost • PHP • Open Source = FREE!!! • Works on all OS • ASP.NET • Is a Microsoft product (which = $$$) • You must use Windows OS (or Mono)

  7. Community Support • PHP – has many different communities catering to all levels of technical knowledge. • ASP.NET – has one main forum by Microsoft. (Some third party forums cost money)

  8. Popularity *Based on calculating the number of hits using popular search engines* • PHP – TIOBE.com, ranked 6th as of this month. • ASP.NET – is not technically ranked, C# is 5th and Visual Basic is 7th.

  9. Syntax Comparison: Ex 1 • PHP – /* This is a comment */ • ASP.NET – <%-- This is a comment --%>

  10. Syntax Comparison: Ex 2 • PHP – <?php Echo “Hello World!” ?> • ASP.NET – <%HelloWorldLabel.Text = "Hello World!"%> <!doctype html> <html> <head runat = "server"> </head> <body> <form runat = "server"> <div> <asp:Labelrunat = "server" id = "HelloWorldLabel"></asp:Label> </div> </form> </body> </html>

  11. Questions? • What did PHP originally stand for? • Personal Home Page Tools • What is the name of the open-source compiler used on any OS for ASP.NET? • Mono • What Content Management System uses ASP.NET? • Sharepoint • What does IIS stand for? • Internet Information Server

  12. Conclusion • All depends on what scenario you will be in. • Both ASP.NET and PHP are great languages to use in making the most of your site.

More Related