一起使用PHP和C ++。 C ++可以提供什么? [英] Using PHP and C++ together. What C++ can offer?

查看:85
本文介绍了一起使用PHP和C ++。 C ++可以提供什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在哪些真实的情况下,您是否看到过PHP的Web应用程序的C ++用法?



我已经浏览了论坛,我我问过叔叔Google,我知道:

- PHP扩展可以用C / C ++编写
- 你可以使用大量的C / C ++库在PHP项目中

- C / C ++效率很高(如果你使用得那么好)

- 你可以使用C / C ++处理大量数据,编写爬虫

- 甚至还有FastCGI,Wt,CppCMS等...



但还有什么?也许一些特定的服务器端任务?你可以列出它们吗?



我习惯用PHP编写,但在大学我有一个很长的C ++课程。 仅学习传递将是一个耻辱



我将不胜感激帮助。

In which real situations have you seen C++ usage for web applications wth PHP?

I've looked throught the forum, I've asked uncle Google and I know that:
- PHP extensions can be written in C/C++
- there is a great amount of C/C++ libraries you can use in PHP projects
- C/C++ has a great efficiency (if you use if well)
- you can process a great amount of data with C/C++, write crawlers
- there is even FastCGI, Wt, CppCMS, etc...

But what's more? Maybe some specific server-side tasks? Can you list them?

I'm used to write in PHP but at University I have a long C++ course. Learning only for passing would be a shame.

I'll be grateful for help.

推荐答案

C ++ 是最强大的编程语言之一,因此它总是值得学习它(它相当复杂,虽然)。在与Web相关的开发中, C ++ 可用于开发高性能服务器端层(或高性能客户端应用程序,即浏览器:-)),选择它来扩展 PHP 取决于您(根据您的需要)。
C++ is one of the most powerful programming languages, hence it always worthy learning it (it is rather complex, though). In web related development, C++ could be used to develop high performance server side layers (or high perfomance client side applications, i.e. browsers :-) ), choosing it to extend PHP is up to you (to your needs).


这篇关于一起使用PHP和C ++。 C ++可以提供什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆