Is there anything that PHP cant do and ASP can do?

Discussion in 'PHP' started by comcharan, Jul 24, 2008.

  1. #1
    I am interested in learning web development

    I had found that PHP and ASP are the two big web programming languages.I am very much interested towards PHP since it is open source.Is there anything that PHP cant do and ASP can do? Which is best among 2 ,PHP or ASP?
     
    comcharan, Jul 24, 2008 IP
  2. Social.Network

    Social.Network Member

    Messages:
    517
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    35
    #2
    I would start with PHP and the LAMP stack moving into other languages as needed. I would not recommend learning legacy ASP, instead I would invest time in learning ASP.NET and .NET languages and technologies. If you plan to do integration work, write windows services, etc. then your choices are limited of course.
     
    Social.Network, Jul 24, 2008 IP
  3. tgkprog

    tgkprog Peon

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Question Is there anything that PHP cant do and ASP can do?

    * crash and frustrate like asp/ microsoft .... they r light years ahead
     
    tgkprog, Jul 24, 2008 IP
  4. comcharan

    comcharan Peon

    Messages:
    390
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    @Social.Network

    I am not getting you friend..may be reason is I am a beginner
    please say me one thing
    Which is better technology PHP or ASP ? Which one is better to learn?
     
    comcharan, Jul 25, 2008 IP
  5. tgkprog

    tgkprog Peon

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    php much better
     
    tgkprog, Jul 26, 2008 IP
  6. tgkprog

    tgkprog Peon

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    read up a tutorial

    get a free account at a php site like http://www.x10hosting.com

    practice practice

    study my sql , html ajax too
     
    tgkprog, Jul 26, 2008 IP
  7. ankit_gupta

    ankit_gupta Peon

    Messages:
    666
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #7
    first start up with html and dhtml

    then move on to php

    mysql aint that tough while using it for php and you will be able to learn it alongwith php itself;)


    and you can start learning php from w3schools.com and php.net :)
     
    ankit_gupta, Jul 26, 2008 IP
  8. Social.Network

    Social.Network Member

    Messages:
    517
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    35
    #8
    Which is a better technology is a matter of opinion, so expect to receive many arguments from both sides. I am a .NET developer (frameworks 1.0,1.1,2.0,3.0), but am learning the LAMP stack with PHP. I am also working with the Zend and CakePHP web application frameworks.

    Speaking from the .NET side, I have developed statewide systems using .NET servers and programming tools with no technology related issues. The servers and tools offer seamless integration and solid development platform. The IDE, source control (TFS), debugger, profiler, etc are excellent.

    The only limitation using .NET technologies is mandatory use of the Windows platform, whereas PHP can run in a Windows and *nix environment. From a presentation layer perspective, I do not see any differences between the two languages other than the rich-controls offered in ASP.NET.

    I can go on, but your choice depends on many factors. I had to learn .NET for work, because federal, state, and local systems are not developed in PHP. Also, you initially commented that you are leaning towards PHP because it is open source, should I read this as "free"?

    If so, take a look at the Express Editions of Visual Studio and SQL Server if are interested in learning .NET technologies and programming languages. Whichever you choose, be sure to use the vast amount of online resources to learn.

    Two of the largest communities on the web are in .NET and PHP (i.e. MySpace is Microsoft .NET from ColdFusion and FaceBook is PHP). I find that startups lean towards the LAMP stack with PHP or Python because of the lower cost of ownership for hardware, development tools, resources, etc.

    Good Luck!
     
    Social.Network, Jul 26, 2008 IP
  9. ankit_gupta

    ankit_gupta Peon

    Messages:
    666
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #9
    socialnetwork :- that was nice peice of information from your end :)

    dont u think in the beginning he should head for php as its simpler to start with and needs much lesser of resources if compared?
     
    ankit_gupta, Jul 26, 2008 IP
  10. buldozerceto

    buldozerceto Active Member

    Messages:
    1,137
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    88
    #10
    PHP is much better OS-independent interpreter. Much better and stable than ASP and/or .NET
     
    buldozerceto, Jul 26, 2008 IP
  11. Social.Network

    Social.Network Member

    Messages:
    517
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    35
    #11
    I have .NET and PHP development environments on a dual-core AMD laptop with 4GB RAM. PHP 4.x, 5.x, and MySQL on Windows and Ubuntu in a virtual machine configuration. The PHP and *AMP stack uses much less resources.

    Simpler to start with in terms of setup, configuration, and tools? Possibly. The only issue I encountered was related to MySQL 5.x on Vista. I had to patch the MySQLInstanceConfig.exe manifest, because it would not run on Vista.

    If the original poster selects PHP, I would recommend a good IDE with a PHP debugger. I tried Eclipse with the PHP plugin, but I did not like it. I chose the PhpEd IDE with excellent debugger. Also, consider platform portability when selecting the Windows web server (I use IIS, but should use Apache).

    Good luck!
     
    Social.Network, Jul 26, 2008 IP
  12. Social.Network

    Social.Network Member

    Messages:
    517
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    35
    #12
    I stated that PHP will run on both Windows and *nix. Regarding the stability, provide some facts to support your statement.
     
    Social.Network, Jul 26, 2008 IP
  13. Mozzart

    Mozzart Peon

    Messages:
    189
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Indeed, I hope you are not saying it's not stable just because Microsoft provides it. If it was unstable, companies like barnes and nobels and many other wouldn't use ASP (of course, in this case the developer would either use perl or python or JSP, etc etc etc)

    ASP looks very interesting, I might give it a real try although I'm a bit loaded right now with work. There is also Python which I stopped learning due to the workload at the moment =/.

    Anyway, for starters, you probably want to start with php, if you see ASP syntax *I don't know its behavior, but social.network might clarify* it's a strongly typed language *assuming*, http://en.wikipedia.org/wiki/Identifier_naming_convention . It might be annoying at the start writing caps on every word, but it's really a great practice, it has helped quite a lot to make the code more readable.

    Cheers, I'll say both languages are great and very efficient at what they do.

    Social.Network, hmm this is not really related to the topic but does small/big companies looks for ASP developers than PHP/ or other language developers?
     
    Mozzart, Jul 26, 2008 IP
  14. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #14
    kmap, Jul 26, 2008 IP
  15. tgkprog

    tgkprog Peon

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #15
    tgkprog, Jul 27, 2008 IP
  16. blueparukia

    blueparukia Well-Known Member

    Messages:
    1,564
    Likes Received:
    71
    Best Answers:
    7
    Trophy Points:
    160
    #16
    I do prefer PHP, as it does not feel right using C# on web pages, I prefer it for software development.

    Opinion aside, there is no real difference, both can do what the other can (most of the time).
     
    blueparukia, Jul 27, 2008 IP
  17. Social.Network

    Social.Network Member

    Messages:
    517
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    35
    #17
    I have worked for startups, consulting firms, and Fortune 500 companies. All of the companies have used either Microsoft and/or Java stacks and languages. I work in the public sector domain, so the choices are limited. I find that private sector and web startups use LAMP with PHP or Python. Search Dice, Monster, or other job board to find out what companies are looking for in developers. Guess that .NET is dominant with Java and PHP following close behind.
     
    Social.Network, Jul 27, 2008 IP