Table of Contents
回复讨论(解决方案)
Home Backend Development PHP Tutorial php能用来开发大型网站吗?

php能用来开发大型网站吗?

Jun 23, 2016 pm 02:14 PM

我看了不少文章,说php适合用来开发中小型网站,而不适合用来开发大型网站,因为PHP网站在部署集群等方面存在瓶颈。但BAIDU、GOOGLE、SINA等不就是用PHP开发的吗?这究竟是怎么回事?请大侠指教。谢谢!


回复讨论(解决方案)

既然事实不是如此,那还需要什么理由呢?

我的意思是,PHP真的不能用于开发大型网站吗? BAIDU 是如何利用PHP实现大型应用的?

啥叫大型网站?

例如,类似BAIDU的

有谁看过百度的后台么?

google不是, 但是facebook是

facebook。
百度新浪腾讯。。。这些门户网站都包含了PHP,虽然不全是PHP。
腾讯家居频道用了thinkPHP.
成功不在于语言的选择,而是如何最大程度优化代码和如何分配各个服务器的作用。

PHP网站在部署集群等方面有瓶颈吗?

PHP网站在部署集群等方面有瓶颈吗?

为啥我觉得这个和php关系不大,主要是web server的问题吧

大型网站不单纯使用一种技术(或语言)。

啥叫大型网站?

估计他说的是访问量巨大。
国外很多大型网站就是PHP做的,中国人特爱微软的东西,所以.NET占了大部分了。

全靠了微软的免费平台和高额培训。
引用 3 楼 luciferstar 的回复:

啥叫大型网站?


估计他说的是访问量巨大。
国外很多大型网站就是PHP做的,中国人特爱微软的东西,所以.NET占了大部分了。

php我看行

做大网站,更在意的是服务器,负载均衡等。
重要选择合适的编写方式,处理方式,数据库。
什么语言都可以开发所谓的大型网站。

JSP,PHP,ASP基本都可以的。

百度的不单纯是一门技术吧,后台肯定有很多强大程序在支撑着,只不过表现给用户看到的是PHP而已

php充其量是一种前端应用的脚本语言,在某些大公司里,写php的和js的一样,都属于前端开发,真正的业务支持撑是需要很多后台的分布式架构的应用,如:memcache、Hadoop或一些云存储、专业索引程序等应用在后面支持

真正的大网站应该是包含多种语言或者技术的,尤其看重负载,数据库等方面,如果只是一般意义上比较大型的网站,php是绝对可以胜任的。

百度的不单纯是一门技术吧,后台肯定有很多强大程序在支撑着,只不过表现给用户看到的是PHP而已

赞同,对不同的应用应该选择适合的技术,而不会单一地在所有应用中采取同一技术

facebook也不全是用php

我最爱Facebook...

怎么样的网站算大型的啊

绝对可以。主要看php的水平。

baidu,google这些前台页面都是php这没错,但是后台运算是c,java或者其他的。

现在很多无聊的人就是老说这不好那不好,我还是劝你们要学就先把一门语言学好,在实际应用中来体会他们的优势和缺点。

百度,新浪,腾讯,暴风正在招,我已经很长没去过智联了。以前看过金山,当当。139
大公司就一家我没见它招过-网易

赞同16楼,绝对不全是PHP,只是体现PHP地方比较多而已

肯定能。

肯定可以呀。 PHP现在不都是用来开发大型网站了么? 虽然 很多JS NET 。毕竟net属于中端和高端的。 唉,总之一句话, 那些大人物说啥好,后面就必定有一群不懂装懂的跟风。。。

支持,没有那种语言是可以一统天下的,关进是怎么部署应用,选择合适的语言

单纯用PHP做一般的网站足够了,当然综合应用系统,单单用php一门语言肯定不够的,php内核早期是用c语言来写的,如果你技术够牛,也可以继续用c语言去扩充php内核,这完全可能的,毕竟php是开源项目

PHP部署轻巧,反应快,这个是真的

肯定行的。。。看你怎么去用了。

楼上的!貌似你喜欢把老帖子挖出来!

 
PHP能用来开发操作系统吗?

看看,不说话。。

我爸又不是李刚,我怎么知道

facebook。
百度新浪腾讯。。。这些门户网站都包含了PHP,虽然不全是PHP。
腾讯家居频道用了thinkPHP.
成功不在于语言的选择,而是如何最大程度优化代码和如何分配各个服务器的作用。

说得不错

不能!

PHP只是展示层,主要的还是要靠后台强大的服务支撑,包括C++、JAVA等很多服务

语言只是表达方式。
什么语言都能用来开发大型网站的。

PHP很好用。

facebook。
百度新浪腾讯。。。这些门户网站都包含了PHP,虽然不全是PHP。
腾讯家居频道用了thinkPHP.
成功不在于语言的选择,而是如何最大程度优化代码和如何分配各个服务器的作用。

腾讯用thinkphp??

php也是c/c++写的。

如果我有自己的服务器,前台纯HTML,后台用C处理

后台能用C写,长见识了

不知道,反正像我们10几W数据就足够了

引用 7 楼 hero0524 的回复:
facebook。
百度新浪腾讯。。。这些门户网站都包含了PHP,虽然不全是PHP。
腾讯家居频道用了thinkPHP.
成功不在于语言的选择,而是如何最大程度优化代码和如何分配各个服务器的作用。


腾讯用thinkphp??

何止THINKPHP,腾讯连WORDPRESS都用

PHP做前台开发不错的,像百度,Google,等很多大站的前台系统都用了PHP,这些大站用了很多语言,C语言、C++、Java、PHP都有使用,所以PHP只是其中一种被使用的语言,一般地,中小型企业用纯PHP开发是没问题的,可以用框架或CMS系统,大型企业有很多使用Java开发,像银行系统,安全性较高的,使用Java不错。

你可以看看 FaceBook 的架构是怎么解决问题的!不过是英文版的!我还没找到中文版的……

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

11 Best PHP URL Shortener Scripts (Free and Premium) 11 Best PHP URL Shortener Scripts (Free and Premium) Mar 03, 2025 am 10:49 AM

Long URLs, often cluttered with keywords and tracking parameters, can deter visitors. A URL shortening script offers a solution, creating concise links ideal for social media and other platforms. These scripts are valuable for individual websites a

Introduction to the Instagram API Introduction to the Instagram API Mar 02, 2025 am 09:32 AM

Following its high-profile acquisition by Facebook in 2012, Instagram adopted two sets of APIs for third-party use. These are the Instagram Graph API and the Instagram Basic Display API.As a developer building an app that requires information from a

Working with Flash Session Data in Laravel Working with Flash Session Data in Laravel Mar 12, 2025 pm 05:08 PM

Laravel simplifies handling temporary session data using its intuitive flash methods. This is perfect for displaying brief messages, alerts, or notifications within your application. Data persists only for the subsequent request by default: $request-

Build a React App With a Laravel Back End: Part 2, React Build a React App With a Laravel Back End: Part 2, React Mar 04, 2025 am 09:33 AM

This is the second and final part of the series on building a React application with a Laravel back-end. In the first part of the series, we created a RESTful API using Laravel for a basic product-listing application. In this tutorial, we will be dev

Simplified HTTP Response Mocking in Laravel Tests Simplified HTTP Response Mocking in Laravel Tests Mar 12, 2025 pm 05:09 PM

Laravel provides concise HTTP response simulation syntax, simplifying HTTP interaction testing. This approach significantly reduces code redundancy while making your test simulation more intuitive. The basic implementation provides a variety of response type shortcuts: use Illuminate\Support\Facades\Http; Http::fake([ 'google.com' => 'Hello World', 'github.com' => ['foo' => 'bar'], 'forge.laravel.com' =>

cURL in PHP: How to Use the PHP cURL Extension in REST APIs cURL in PHP: How to Use the PHP cURL Extension in REST APIs Mar 14, 2025 am 11:42 AM

The PHP Client URL (cURL) extension is a powerful tool for developers, enabling seamless interaction with remote servers and REST APIs. By leveraging libcurl, a well-respected multi-protocol file transfer library, PHP cURL facilitates efficient execution of various network protocols, including HTTP, HTTPS, and FTP. This extension offers granular control over HTTP requests, supports multiple concurrent operations, and provides built-in security features.

12 Best PHP Chat Scripts on CodeCanyon 12 Best PHP Chat Scripts on CodeCanyon Mar 13, 2025 pm 12:08 PM

Do you want to provide real-time, instant solutions to your customers' most pressing problems? Live chat lets you have real-time conversations with customers and resolve their problems instantly. It allows you to provide faster service to your custom

Announcement of 2025 PHP Situation Survey Announcement of 2025 PHP Situation Survey Mar 03, 2025 pm 04:20 PM

The 2025 PHP Landscape Survey investigates current PHP development trends. It explores framework usage, deployment methods, and challenges, aiming to provide insights for developers and businesses. The survey anticipates growth in modern PHP versio

See all articles