...

View Full Version : PHP Not used so much anymore?



i3nb
03-02-2012, 08:54 PM
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.

Keleth
03-02-2012, 09:14 PM
Nothing wrong with it IMO. While there are "newer" languages, nothing to say they're absolutely better. Its definitely not outdated.

felgall
03-02-2012, 09:21 PM
PHP 4 is outdated from an ancient time - the solution is to rewrite the code using the completely modern PHP 5 language instead.

Fou-Lu
03-02-2012, 09:41 PM
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.

felgall
03-02-2012, 11:13 PM
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).

super3
03-03-2012, 12:26 AM
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.

DanInMa
03-03-2012, 02:40 AM
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.

Fou-Lu
03-03-2012, 04:14 AM
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.

i3nb
03-03-2012, 09:24 PM
What would be best recommend suggestions to start my project a control panel for games, currently have python, mysql, java as primary considerations.

kbluhm
03-03-2012, 09:34 PM
Well first off: One of these things is not like the others, One of these things just doesn't belong (http://members.tripod.com/tiny_dancer/one.html)...

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.

i3nb
03-03-2012, 10:11 PM
I was listing what was going to be used. I know what mysql is.

felgall
03-03-2012, 10:48 PM
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).

i3nb
03-04-2012, 01:08 AM
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..

Fou-Lu
03-04-2012, 03:52 AM
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).

i3nb
03-04-2012, 04:46 AM
It's a control panel to start, stop edit games when users run a server from a host.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum