释义 |
PHP 英'piː'etʃp'iː美'piː'etʃp'iː COCA⁹³⁸⁶⁷BNC¹⁴⁴⁶⁶⁴⁺³ 基本例句 abbr.个人网页程序=Personal Homepage Programabbr.个人网页=Personal Home Page In the following example, we create another PHP library and a script that displays an HTML form to help us insert data into the AUTHOR table. 在下面的示例中,我们创建另一个 PHP库,并创建了一个脚本来显示 HTML表单,从而帮助我们向 AUTHOR表中插入数据。 ibm The goal of this coding exercise is not necessarily to develop a highly optimized and rigorous math engine for PHP. 这个编码练习的目标不是一定要为 PHP开发高度优化和严格的数学引擎。 ibm After completing this tutorial, you will understand how to store and retrieve XML data through PHP and a back end database. 完成本教程之后,您将理解如何通过 PHP和一个后端数据库来存储和检索 XML数据。 ibm And there you have it: a fully functioning CLI PHP program that accepts either user input or a list of files and randomizes the relative contents of each file. 现在您拥有这样一个程序:完全运行的 CLI PHP程序,它可以接受用户输入,也可以接受文件列表并随机排列每个文件的相关内容。 ibm But one of the best advantages is that, since the tool is written in PHP and available freely as open source, you can customize it with your own business logic and installation requirements. 但是最棒的一个优点是:由于该工具使用 PHP编写并且可以作为开放源码免费使用,因此您可以根据业务逻辑和安装需求对它进行定制。 ibm But when we begin to use PHP for these purposes, we must also consider our memory usage. 但是当我们出于这些目的开始使用 PHP时,我们也必须考虑内存使用情况。 ibm First, we need to find a way to interface with a business process from PHP. 首先,我们需要找到一种方法来为从 PHP使用业务流程提供接口。 ibm First we will create a table to hold our author data, then write a PHP script that enables us to browse through existing authors. 首先,我们将创建一张表来保存我们的作者数据,然后编写一个 PHP脚本,它允许我们浏览全部现有的作者。 ibm For example, the complexities of Memory management and threading are not at the forefront of your mind when you are scripting in PHP. 例如,像内存管理和线程这种复杂的东西,在你编写 PHP脚本的时候绝不会成为注意力的中心。 infoq For simplicity, I chose to use a PHP file that contains the data. 为了简便起见,我选择使用包含数据的一个 PHP文件。 ibm If you are a maintainer of an open source PHP framework, your goal is to deliver a stable product that works on as many platforms as possible. 如果您负责维护一个开放源码的 PHP框架,您的目标就是交付一个能够在尽可能多的平台上运行的稳定的产品。 ibm If your PHP code uses global variables, you should update it. 如果您的 PHP代码使用了全局变量,那么应该更新它。 ibm In another case, it can return the results as a PHP class object, where the database column names are the object properties. 在另一种情况下,它可以以 PHP类对象的形式返回结果,其中数据库表的列名作为对象的属性。 ibm In our world, we do not have to concern ourselves with the handling of system memory because PHP handles that for us. 在我们的世界里,我们自己不必担心如何处理系统内存,因为 PHP将为我们处理这个问题。 ibm Listing9 provides an example PHP fragment for adding a string to a document before it is streamed to a browser. 清单9提供一个示例 PHP片段,用于在文档被发送到浏览器之前,向它添加一个字符串。 ibm Most PHP pages are fast enough— Better performance would be an advantage, but not enough of one to merit investment in new code. 大多数 PHP页面已经足够快——更好的性能会是一种优势,但是还不值得对新代码进行投入。 ibm Not all installations of PHP support shared memory because it can be a security risk. 并不是所有的 PHP安装都支持共享内存,因为它可能是安全风险隐患。 ibm On the minus side, there's no documentation apart from the PHP code itself, so getting this library to work entailed some guesswork. 而这个库的弊端是除了 PHP代码本身外不存在任何文档,因此使用这个库必然会进行一些猜测。 ibm Such a task will take PHP a while to complete, so it must be done by a job outside the browser. PHP要花费一段时间才能完成这样的任务,所以它必须由浏览器之外的一个作业来执行。 ibm This article illustrates five common problems in database design, in the PHP code that accesses databases, and how to fix these problems when you see them. 本文说明了数据库设计和访问数据库的 PHP代码中出现的五个常见问题,以及在遇到这些问题时如何修复它们。 ibm This new feature has a big impact because it will allow PHP to support a broader set of characters for international support. 这个新特性有巨大的影响,因为它允许 PHP支持更广泛的字符集,从而获得更多的国际支持。 ibm This object should be given the name of the remote procedure followed by the list of arguments all wrapped up into one PHP array object. 这个对象应该被给与远程过程的名称,后面跟随着由所有参数列表包装成的一个 PHP数组对象。 ibm To follow along, you should have a basic idea of programming in PHP. 想要继续学习,您需要对 PHP编程有一个基本的了解。 ibm We now have a database we can access through our PHP scripts. 我们现在有一个可以通过 PHP脚本访问的数据库。 ibm Well, let's get started and see what you can accomplish by using PHP on the command line. 很好,让我们开始着手并看看您可以在命令行中使用 PHP来完成哪些任务。 ibm What you need from a search service is a PHP page that takes a latitude and longitude pair, along with a radius, and returns any articles that have a location with that circle. 对于搜索服务,您需要的是一个 PHP页面,该页面使用纬度和经度对以及半径,并且返回与该圆具有一定位置关系的任何文章。 ibm With guidance and coaching, I hope to demonstrate that developing PHP math libraries is not a difficult task and may represent an interesting technical and learning challenge. 通过指导和训练,我希望证明开发 PHP数学库并不是一项很难的任务,它可能代表一项有趣的技术和学习难题。 ibm You can do this in any language, but for demonstration purposes, I show you how to achieve it using PHP. 这可以用任何一种语言实现,但为了展示的目的,我给出了使用 PHP实现此目的的过程。 ibm You can then access the data using standard PHP object access and methods. 然后,您就可以使用标准的 PHP对象访问和方法访问数据。 ibm |