Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 15 of 15
  1. #1
    New Coder
    Join Date
    Mar 2012
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    PHP Not used so much anymore?

    So is php not used much anymore, I've found some people said it's outdated from an ancient time. What are thoughts on this, I was going to start a project considering php but now not so much. Like to add I have seen others choosing other languages.

  • #2
    Senior Coder
    Join Date
    Jun 2008
    Location
    New Jersey
    Posts
    2,546
    Thanks
    45
    Thanked 259 Times in 256 Posts
    Nothing wrong with it IMO. While there are "newer" languages, nothing to say they're absolutely better. Its definitely not outdated.

  • #3
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,642
    Thanks
    0
    Thanked 649 Times in 639 Posts
    PHP 4 is outdated from an ancient time - the solution is to rewrite the code using the completely modern PHP 5 language instead.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #4
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    What data are you using to make this determination? From what I've read PHP is still among the most popular of languages for web development.
    Outdated is a rather relative term I'm afraid. C is outdated as well, but plenty is still written in it daily (including PHP). Mature is a better term.
    If I had to select an existing language that will win the next top seat in webdev, it will be python. Ruby had a great potential, but it sorta rolled over and died on the operating table a few years ago. Perl is long lost to the webworld as is ASP; .NET, CF and JSP all require specific OS' or uncommon installations of additional software which hinder their popularity as well. C/C++ will never be used standalone as a popular web language due to complexity.

    Client side technology sure is changing a lot though. Since the emergence of the mobile platform, plenty has gone on there. Server side world hasn't changed that much in the past decade though.

  • #5
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,642
    Thanks
    0
    Thanked 649 Times in 639 Posts
    Quote Originally Posted by Fou-Lu View Post
    If I had to select an existing language that will win the next top seat in webdev, it will be python.

    Client side technology sure is changing a lot though.
    With the maturing of JavaScript on the client side and with several versions under development for the server, I would expect JavaScript to be a possible contender for future server side development - after all it is a language that the web developers already need to know to do the client side processing (even if the server side versions are slightly different).

    Python is a nice language but I can't see it displacing PHP (at lest not in the next few years - by which time PHP 6 might be finished and then it would perhaps be the best choice).
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #6
    New to the CF scene
    Join Date
    Mar 2012
    Location
    GA
    Posts
    8
    Thanks
    0
    Thanked 1 Time in 1 Post
    Look at the usage stats on the official php site: http://php.net/usage.php

    In summary 20 million websites use it. Its not going anywhere anytime soon. Its also the most popular right now for the web languages.

  • #7
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    Well, there are over 20 pages on this php forum just from feb alone, so, yeah Id say it's still used . PHP gets used more by free hosts, small businesses, non profit orgs sometimes,blogs (WordPress, Hello!) but it is also used on commercial sites. I work on the other side of the coin, in a larger company that's a pure windows only shop, so we use asp and .net primarily on IIS. oh, and my archnemesis, SharePoint 2007.

  • #8
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    Quote Originally Posted by DanInMa View Post
    Well, there are over 20 pages on this php forum just from feb alone, so, yeah Id say it's still used . PHP gets used more by free hosts, small businesses, non profit orgs sometimes,blogs (WordPress, Hello!) but it is also used on commercial sites. I work on the other side of the coin, in a larger company that's a pure windows only shop, so we use asp and .net primarily on IIS. oh, and my archnemesis, SharePoint 2007.
    +1, same here.
    I wouldn't use JS as an alternative to both server and client technology. If I want to do that, I'd use C# or Java.

  • #9
    New Coder
    Join Date
    Mar 2012
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What would be best recommend suggestions to start my project a control panel for games, currently have python, mysql, java as primary considerations.

  • #10
    Senior Coder kbluhm's Avatar
    Join Date
    Apr 2007
    Location
    Philadelphia, PA, USA
    Posts
    1,509
    Thanks
    3
    Thanked 258 Times in 254 Posts
    Well first off: One of these things is not like the others, One of these things just doesn't belong...

    MySQL is not a programming language. It is a relational database management system (commonly acronymed as RDBMS).

    A programming language (such as python or java) would interact with a RDBMS in storing data.

  • #11
    New Coder
    Join Date
    Mar 2012
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I was listing what was going to be used. I know what mysql is.

  • #12
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,642
    Thanks
    0
    Thanked 649 Times in 639 Posts
    In deciding which language to use the question you need to answer first is which languages that the server supports. The second question to answer is which of those languages you already know reasonably well. If you still have more than one on your list then pick the one you think will make it easiest to do what you want or use each for the parts where you think they fit best. If you end up with none at all on your list after the answering the second question then if you do already know one or more languages then move hosting to somewhere that supports a language that you do know.If you don't know any languages then look around for locally offered classes to see what language is most convenient for you to attend classes to learn (it is extremely rare for someone to be able to learn their first programming language without a teacher and even if you can you need to allow several years).
    Last edited by felgall; 03-03-2012 at 11:51 PM.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #13
    New Coder
    Join Date
    Mar 2012
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well my host supports the languages I would want to start with. I just want performance as well as a solid control panel. Can you not self teach a program language by reading books, google etc..

  • #14
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    Quote Originally Posted by i3nb View Post
    Well my host supports the languages I would want to start with. I just want performance as well as a solid control panel. Can you not self teach a program language by reading books, google etc..
    Of course you can. I self-taught myself several languages before going to school near a decade later. School taught me more languages that I would never have used otherwise, but I didn't really learn a lot about programming itself while there. I did learn a lot about SDLC and documentation though, which has provided me with a lot better turn around from envision to product.
    Programming is programming. The logic is completely the same regardless of the language. You choose a language as a tool best suiting to the job you want to do. I wouldn't use a hammer to paint my wall. I wouldn't use PHP to write a gui application as its quite difficult to do compared to something like Java, and I wouldn't use C to parse a report when I can use perl for that. I would go as far to say that you choose the tool best suited for the task at hand, and then learn how to use that tool if necessary.

    For a game, you must decide what kind of game. If you are talking about a web based browser text game, then PHP, Python or Perl are IMO your best options. If you want to make a simple GUI browser run game, then Flash / FLEX combined with a server side language of choice or Java applets would be a good solution. If you want a desktop application (text or gui based), C, C++, C# or Java are good options. If you want an extreme gui based game (like COD, Skyrim, etc), you would use C++ or C# in conjunction with an existing engine (Skyrim's gambryo, cryengine, etc).

  • #15
    New Coder
    Join Date
    Mar 2012
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It's a control panel to start, stop edit games when users run a server from a host.


  •  

    Posting Permissions

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