0

Hello,

I was wondering about this: Popular Sites Programming Language

Is it possible to program all those popular sites just using PHP ?

I was just wondering (never really actually program websites using C++ / Java before - don't even know if you could such language to program websites)

5
Contributors
5
Replies
32
Views
3 Years
Discussion Span
Last Post by diafol
0

Remember that everything on a web site has two parts: the part that comes to your browser (client side) and the part that stays behind on the server (server side). Client side is primarily javascript. Server-side, any general purpose programming language can work, so long as it does what you need. PHP will handle almost everything, so all those sites could have been written with PHP, but you could also write it in Perl, or even straight C (with some appropriate libraries, I suspect).

0

Is it possible to program all those popular sites just using PHP ?

For the most part, I'd say yes. Scripting languages have a lot of overlap with regards to what they can do. Some languages are easier to use for certain things and more challanging for others. Frameworks help you develop quicker and expose methods that make the job much easier.

for example, take bing, yahoo, and google. All very fucntional search engines. All three developed using different server side scripting languages. why does bing use asp.net? Well, if they used PHP, people would wonder why MS wouldn't use their own products.

1

I'd say no... Hell no, there are things that C++ do in terms of speed that you would never achieve with PHP. And when you're talking about google and youtube speed is a absolutely critical.

Much why a lot of banking web apps have java backends as opposed to PHP ones. Their CRUD has almost the same speed of say C++ except their rich framework java provides outweighs these costs.

Edited by iamthwee

0

@iamthwee brings up a great point. I was meerly indicating that you can pretty much develop a site like the ones mentioned using a variety of server side scripting languages. You see developers building "look alikes" all the time. Of course, developing using a scripting language or back-end storage infrastructure that is meant for the perormance requirements and cost may not/isnt going to scale well to handle hundreds of millions of users.

1

As much as I love php, there as some things it should not or cannot be used for. Some of the big sites out there even use a mixture of server-side languages. I don't suppose too many of use will be building those types of sites in our bedrooms late at night, so for most of us, PHP will suffice most of the time, even if it's behind a framework.

BTW - great unique title for the article.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.