The goal of this coding exercise is not necessarily to develop a highly optimized and rigorous math engine for PHP.
这个编码练习的目标不是一定要为PHP开发高度优化和严格的数学引擎。
While you can program a theme entirely with PHP, a theme engine provides a framework for development and can save time.
可以完全使用PHP编写主题,但是主题引擎提供了一个开发主题的框架,使用它可以节省时间。
Discover how to add a fast, capable, open source, and free search engine to a PHP site.
通过本文了解如何向php站点中添加一个快速、高效、开源和免费的搜索引擎。
For example, a PHP script might use a template engine to separate business logic from the presentation, and be considered two separate tiers.
例如,php脚本可能使用一个模板引擎把业务逻辑与表示分隔开,它可以被看作单独的两层。
Instead, the focus is on the components required to deliver effective search results: the database, the index, the search engine, and the PHP application program interface (API).
相反,重点讨论交付有效搜索结果所需的组件:数据库、索引、搜索引擎和PHP应用程序编程接口(API)。
After couple of years of development, the PHP team will release the next generation of the PHP engine with many new language feature, such as namespaces and closures.
经过数年的开发,PHP团队将发布下一代的php引擎,其中包含很多新的语言特性,例如名称空间和闭包。
The ability to use PHP to move freely between the business logic layer and the presentation layer (using the PHP template engine) was also very appealing.
为了在业务逻辑层和表示层之间自由地移动(使用PHP模板引擎),还需要掌握PHP。
The PHP engine calls a constructor when the object is instantiated.
PHP引擎在实例化对象时调用构造函数。
The PHP engine recognizes a number of "magic" methods.
PHP引擎识别许多“魔术”方法。
Finally, you don't have to use a templating engine to create your views-just old-fashioned HTML and PHP will do.
最后,您不必使用模板引擎来创建视图—只需沿用旧式的HTML和php即可。
If you declare your properties private and attempt to access them from outside the class 'scope (as shown in Listing 7), the PHP engine will throw a fatal error.
如果将属性声明为private并试图从类范围外部访问它(如清单7所示),PHP引擎将抛出致命错误。
When the Web server receives a request for a PHP page, control passes to the PHP engine.
当Web服务器收到对某个php页面的请求时,它就将控制转交给php引擎。
You can add PHP as a Common Gateway Interface (CGI) engine to most Web servers.
可将PHP作为通用网关接口(Common Gateway Interface,CGI)引擎添加到绝大多数Web服务器中。
The PHP engine loads the PHP page, executes any PHP functions within the page, then returns the resulting HTML to the Web server.
PHP引擎装入php页面,执行该页面内所有的php函数,然后将生成的HTML返回给Web服务器。
TCPDF, one of the most active projects hosted on Sourceforge.net, implements a powerful PDF-generation engine, entirely in PHP.
TCPDF是托管在Sourceforge.net上最活跃的项目之一,其完全在php上实现了强大的PD f生成引擎。
The QuercusServlet is an interface to the Quercus engine, which parses the PHP files and is usually configured as shown in Listing 3.
QuercusServlet是一个指向Quercus引擎的接口,它解析php文件,通常按照清单3所示内容配置。
One thing to note in terms of backward-compatibility is that the class name closure is now reserved by the PHP engine for storing closures, so any classes that use that name will need to be renamed.
关于向后兼容性值得注意的一点是,PHP引擎现在保留类名closure并用于存储闭包,因此使用该名称的所有类都需要重命名。
The example creates a simple search engine written in PHP that can index and search files using Apache Lucene.
此示例创建了使用PHP编写的简单搜索引擎,可以使用Apache Lucene建立文件索引和进行搜索。
Now you have PHP enabled in Zero, and you have the Zero extensions enabled in PHP so the Zero runtime can call the P8 engine to handle the incoming data from Web applications.
现在已经在Zero中启用了PHP,并且启用了Zero PHP扩展,所以zero运行时可以调用P8引擎来处理Web应用程序发送的数据。
The Yahoo-specific information is also passed to the Teoma search engine, but is just ignored by the Teoma PHP proxy.
Yahoo特定信息同样也传递给了Teoma搜索引擎,但是会被Teomaphp代理忽略。
For a real world example, this article steps through the creation of a simple search engine written in PHP that can index and search files using Apache Lucene.
有关真实示例,本文逐步说明了使用PHP编写的简单搜索引擎的创建工作,此引擎可使用Apache Lucene建立文件索引和进行搜索。
We chose to use the PHPTemplate engine because it is the default engine and offers a consistent use of PHP across the logic layer, the modules, and the presentation layer.
我们选用PHPTemplate引擎,因为它是默认引擎并以一致的方式跨逻辑层、模块和表示层使用PHP。
PHP can be used as its own templating engine because it supports eval function (be careful with security).
PHP本身可以用作模板,因为它有eval函数。
PHP as a whole consists of 3 modules (Core PHP, Zend Engine and Extension Layer)
PHP总共有三个模块:内核、Zend引擎、以及扩展层;
From this experience, we decided that the template engine should be written in PHP as a class, for anyone to use as they see fit.
从这些经验,我们决定应该用Php将模板引擎写成一个类,让任何觉得合适的人使用它。
The PHP bytecode (opcode) cache is used to store the compiled script bytecode in shared memory so that it can be re-used by PHP engine for subsequent executions of the same script.
PHP的二进制代码(操作码)缓存用来存储在共享内存中的字节码编译的脚本,以便它可以重新通过PHP引擎,用于后续执行相同的脚本。
File cache - Even with the PHP opcode cache enabled, the PHP engine has to accesses the script files on a file system.
文件缓存-即使启用了PHP操作码缓存,PHP引擎要访问一个文件系统上的脚本文件。
The latest version of PHP has been improvised and updated to make it easier to build for performance, improved engine execution, better memory usage, and a new and extended set of tools.
最新版的PHP已经在性能方面做出了很大改善,提高的引擎执行、更好的内存使用以及新扩展的工具。
" PHP search engine" that will bring together the wisdom of millions of Internet users, allows users to share knowledge and experience.
“PHP搜索引擎”能汇集千万网民的智慧,让用户彼此分享知识与经验。
" PHP search engine" that will bring together the wisdom of millions of Internet users, allows users to share knowledge and experience.
“PHP搜索引擎”能汇集千万网民的智慧,让用户彼此分享知识与经验。
应用推荐