SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Evangelist
    Join Date
    Apr 2006
    Posts
    443
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Why would I choose PHP over its competitors?

    There are many competitors to PHP: Python, ASP.NET, Ruby on Rails, etc.

    Why would I choose PHP over those when I plan to build publish social web application?

    What do you think?

    Cheers.

  2. #2
    SitePoint Addict bronze trophy Hall of Famer's Avatar
    Join Date
    Apr 2013
    Location
    Ithaca
    Posts
    368
    Mentioned
    6 Post(s)
    Tagged
    2 Thread(s)
    PHP is newbie-friendly, its convenient to use now that pretty much every webhost provides PHP/Apache server. There are lots of existing libraries and third party scripts for you to integrate without reinventing the wheel. Also the vast number of PHP programmers and journals/articles available on the internet means that you'd never walk alone with PHP.

    Python is much less popular, Google App used to only support Python but then decided to add PHP support, you know what this implies.

    ASP.NET is a very good alternative actually, while it only works on Windows platform(though its possible to get it work on Linux, its a bit tricky). Since it is static-typed, I'd say that a lot more people would rather go with dynamically typed languages when it comes down to web development.

    Ruby is a very difficult programming language to learn and to get used to, you need to learn at least 1-2 programming languages to go easy on it. Even if you are a great programmer yourself it may be necessary to consider whether your co-workers/teammates are up for the task of writing a good ruby program.

  3. #3
    SitePoint Evangelist
    Join Date
    Apr 2006
    Posts
    443
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So, is PHP the best choice if I'm just starting? and is it good to develop big social websites in it?

  4. #4
    Barefoot on the Moon! silver trophy Force Flow's Avatar
    Join Date
    Jul 2003
    Location
    Northeastern USA
    Posts
    4,615
    Mentioned
    56 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by CS Geek View Post
    So, is PHP the best choice if I'm just starting?
    .
    It depends on what your goals are.

    and is it good to develop big social websites in it?
    Sure, it'll do the job. But--have you considered looking at CMS software or a social network platform like ning.com and socialgo.com?

    Other social networking platforms: http://www.tripwiremagazine.com/2010...n-service.html
    Visit The Blog | Follow On Twitter
    301tool 1.1.5 - URL redirector & shortener (PHP/MySQL)
    Can be hosted on and utilize your own domain

  5. #5
    SitePoint Addict bronze trophy Hall of Famer's Avatar
    Join Date
    Apr 2013
    Location
    Ithaca
    Posts
    368
    Mentioned
    6 Post(s)
    Tagged
    2 Thread(s)

    Why would I choose PHP over its competitors?

    Quote Originally Posted by CS Geek View Post
    So, is PHP the best choice if I'm just starting? and is it good to develop big social websites in it?
    If you are just starting, PHP has insurmountable advantage over other programming languages for the webs, for reasons I already stated above. For a real big social website, the difference may not be that significant, and in fact PHP does lack certain OOP features to be called a complete OO language. In this case, you will have to decide for yourself.


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
  •