Results 1 to 6 of 6

Thread: Php Vs Asp, Asp.net

  1. #1
    maqsoodahmed92 is offline Junior Member
    Last Online
    24th January 2014 @ 07:41 PM
    Join Date
    26 Apr 2007
    Posts
    11
    Threads
    5
    Credits
    731
    Thanked: 1

    Default Php Vs Asp, Asp.net

    What is difference between PHP & ASP, ASP.NET which is better and easy to learn?

  2. #2
    ITKING's Avatar
    ITKING is offline Senior Member+
    Last Online
    27th January 2012 @ 10:10 PM
    Join Date
    12 Sep 2006
    Location
    Riyadh, KSA
    Posts
    3,564
    Threads
    94
    Credits
    970
    Thanked
    142

    Default

    i think this will help you to understand

    Both ASP and PHP are languages used to build Dynamic Web sites that can interact with Databases and exchange information. ASP (Active Server Pages) is from Microsoft and is used with IIS (Internet Information Server) that runs on Microsoft Servers. PHP (PHP: Hypertext Preprocessor) is from Rasmus Lerdorf, who originally designed this parsing language which was later modified by different people. It runs on Unix and Linux servers and it also has an NT server version.

    There are a lot of differences between ASP and PHP.

    Cost

    To run ASP programs one needs IIS installed on a Windows platform server, which is not free. PHP programs run on Linux, which is free. Even the connectivity of the database is expensive in the case of ASP as MS-SQL is a product of Microsoft that needs to be purchased. PHP generally uses MySQL, which is freely available.

    Speed

    If we compare the speed of ASP and PHP then PHP has an upper hand. PHP code runs faster than ASP. ASP is built on COM based architecture, which is an overhead for the server whereas PHP code runs in its own memory space.

    Platform Compatibility
    PHP programs can run on various platforms like Linux, Unix, Windows and Solaris whereas ASP is mainly associated with Windows platforms. However, ASP can run on a Linux platform with ASP-Apache installed on the server.

    Additional Costs

    Many of the tools used in PHP are free of cost and since PHP is open source a lot of code can be found in open source forums. PHP has inbuilt features like ftp, email from a web page or even encryption mechanisms but in ASP such features are not built in and some additional components are required. Therefore an additional cost is incurred for such components.

    Base Language

    PHP is based on C++ language and the syntax used in PHP is quite similar to C/C++. C/C++ is still considered the best programming language by many programmers and people who love this language would surely feel more comfortable with the syntax of PHP. ASP on the other hand has a more Visual Basic kind of syntax that again is closely related to only Microsoft products. So, it depends on a person-to-person which language he or she is comfortable

    Database Connectivity
    PHP, being extremely flexible, can connect to various databases, the most popular being MySQL. ASP mainly uses MS-SQL.

    Conclusion

    Both languages have their advantages specific to users. Some would argue that both the languages have their own importance and depending on the user's requirements the language and the platform can be chosen. If we talk about developing a discussion board then ASP is equally capable but many feel the best discussion boards are developed in PHP. If a user is looking for some e-commerce application development then many would call ASP the ideal choice. This does not mean that PHP cannot provide e-commerce solutions, only that many people choose ASP.

    need more? i can
    Kaho to Laut jate hain ......

  3. #3
    Saqib Lodhi's Avatar
    Saqib Lodhi is offline Senior Member+
    Last Online
    20th June 2014 @ 10:15 AM
    Join Date
    09 Feb 2007
    Location
    Gulshan-e-Hadeed Karachi
    Gender
    Male
    Posts
    442
    Threads
    27
    Credits
    0
    Thanked
    2

    Default

    Tahir bhai good aap nay to poori book hi chap di ab papers mein asani ho jaye gi hahahahahha

  4. #4
    maqsoodahmed92 is offline Junior Member
    Last Online
    24th January 2014 @ 07:41 PM
    Join Date
    26 Apr 2007
    Posts
    11
    Threads
    5
    Credits
    731
    Thanked: 1

    Default

    Thanks for quick response

    Brother I Have learnt Flash ,Adobe Photoshop, Javascript HTML MS Access & I have a little touch with c++.But MY Data Structure is little weak.

    My purpose to tell you about the above course to ask which one is best for me to Learn .Please also tell me what is easy to learn.

    ASP.NET

    or

    PHP

    Thank YOu

  5. #5
    maqsoodahmed92 is offline Junior Member
    Last Online
    24th January 2014 @ 07:41 PM
    Join Date
    26 Apr 2007
    Posts
    11
    Threads
    5
    Credits
    731
    Thanked: 1

    Default

    One thing more I want to work for E Commerce Websites.

  6. #6
    Doctor is offline Senior Member+
    Last Online
    13th September 2009 @ 08:57 AM
    Join Date
    26 Sep 2006
    Location
    Alkamuniya
    Age
    52
    Posts
    21,458
    Threads
    1525
    Credits
    1,000
    Thanked
    36

    Default

    SORRY buddy

    english is not allowed @ ITdunya that is why the thread will be sent to RB soon

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •