没有合适的资源?快使用搜索试试~ 我知道了~
首页Phalcon PHP框架1.2.2官方文档:高性能与易用性兼顾
Phalcon PHP框架1.2.2官方文档:高性能与易用性兼顾
需积分: 0 0 下载量 72 浏览量
更新于2024-07-15
收藏 5.41MB PDF 举报
Phalcon PHP框架文档1.2.2版详细介绍了Phalcon团队于2013年10月15日发布的一款先进的PHP 5全栈框架。Phalcon以其高性能和独特的设计理念为目标,区别于当时的其他PHP框架。作为基于C语言编写的扩展,它无需用户学习或使用C语言,所有的功能都封装为易于使用的PHP类,实现了松耦合特性,使开发者可以根据应用程序需求灵活地整合其对象。 Phalcon不仅仅注重性能,它的目标是提供一个强大、功能丰富的工具,同时保持易用性。框架设计旨在让用户专注于业务逻辑,而无需过多担心底层性能问题。尽管市场上有很多框架,但Phalcon的独特之处在于它能够提供超越现有框架的高效执行和开发体验。 文档的第1章“什么是Phalcon?”深入探讨了框架的核心概念,包括其开源性质以及作为C扩展的优势,这使得在开发网站和应用时能够实现近乎无限制的请求处理速度和并发性能。同时,章节中还提到了框架对PHP程序员的友好性,即使是经验丰富的开发者也能快速上手。 第二章“我们的动机”阐述了Phalcon团队创建框架的初衷,他们认为现有的PHP框架未能满足他们的性能期望,因此开发出Phalcon来填补这一空白。该部分强调了Phalcon与传统框架的不同之处,旨在提供一种全新的、高效的开发方式。 整个文档详细列出了丰富的章节内容,包括但不限于框架架构、核心组件、安装指南、教程、API参考等,帮助开发者全面了解和利用Phalcon PHP框架进行高效开发。通过阅读这份文档,用户可以深入了解如何利用Phalcon优化代码,提高应用程序的整体性能和可维护性。
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/13115540/bg10.jpg)
Phalcon PHP Framework Documentation, Release 1.2.2
Processing: 0 0 0.6 0 15
Waiting: 0 0 0.6 0 15
Total: 4 9 4.8 8 61
Percentage of the requests served within a certain time (ms)
50% 8
66% 9
75% 11
80% 12
90% 15
95% 18
98% 22
99% 30
100% 61 (longest request)
CodeIgniter 2.1.0
# ab -n 2000 -c 10 http://localhost/bench/codeigniter/index.php/say/hello
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Server Software: Apache/2.2.22
Server Hostname: localhost
Server Port: 80
Document Path: /bench/helloworld/codeigniter/index.php/say/hello
Document Length: 16 bytes
Concurrency Level: 10
Time taken for tests: 1.888 seconds
Complete requests: 2000
Failed requests: 0
Write errors: 0
Total transferred: 418000 bytes
HTML transferred: 32000 bytes
Requests per second: 1059.05 [#/sec] (mean)
Time per request: 9.442 [ms] (mean)
Time per request: 0.944 [ms] (mean, across all concurrent requests)
Transfer rate: 216.15 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 9 4.1 9 33
Processing: 0 0 0.8 0 19
Waiting: 0 0 0.7 0 16
Total: 3 9 4.2 9 33
Percentage of the requests served within a certain time (ms)
50% 9
66% 10
75% 11
80% 12
90% 14
95% 16
12 Chapter 2. Table of Contents
![](https://csdnimg.cn/release/download_crawler_static/13115540/bg11.jpg)
Phalcon PHP Framework Documentation, Release 1.2.2
98% 21
99% 24
100% 33 (longest request)
Kohana 3.2.0
# ab -n 2000 -c 10 http://localhost/bench/helloworld/kohana/index.php/say/hello
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Server Software: Apache/2.2.22
Server Hostname: localhost
Server Port: 80
Document Path: /bench/helloworld/kohana/index.php/say/hello
Document Length: 15 bytes
Concurrency Level: 10
Time taken for tests: 2.324 seconds
Complete requests: 2000
Failed requests: 0
Write errors: 0
Total transferred: 446446 bytes
HTML transferred: 30030 bytes
Requests per second: 860.59 [#/sec] (mean)
Time per request: 11.620 [ms] (mean)
Time per request: 1.162 [ms] (mean, across all concurrent requests)
Transfer rate: 187.60 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 11 5.1 10 64
Processing: 0 0 1.9 0 39
Waiting: 0 0 1.4 0 35
Total: 3 11 5.3 11 64
Percentage of the requests served within a certain time (ms)
50% 11
66% 13
75% 15
80% 15
90% 17
95% 18
98% 24
99% 31
100% 64 (longest request)
Fuel 1.2.1
# ab -n 2000 -c 10 http://localhost/bench/helloworld/fuel/public/say/hello
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
2.2. Framework Benchmarks 13
![](https://csdnimg.cn/release/download_crawler_static/13115540/bg12.jpg)
Phalcon PHP Framework Documentation, Release 1.2.2
Benchmarking localhost (be patient)
Server Software: Apache/2.2.22
Server Hostname: localhost
Server Port: 80
Document Path: /bench/helloworld/fuel/public/say/hello
Document Length: 16 bytes
Concurrency Level: 10
Time taken for tests: 2.742 seconds
Complete requests: 2000
Failed requests: 0
Write errors: 0
Total transferred: 418000 bytes
HTML transferred: 32000 bytes
Requests per second: 729.42 [#/sec] (mean)
Time per request: 13.709 [ms] (mean)
Time per request: 1.371 [ms] (mean, across all concurrent requests)
Transfer rate: 148.88 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 13 6.0 12 79
Processing: 0 0 1.3 0 22
Waiting: 0 0 0.8 0 21
Total: 4 14 6.1 13 80
Percentage of the requests served within a certain time (ms)
50% 13
66% 15
75% 17
80% 17
90% 19
95% 24
98% 30
99% 38
100% 80 (longest request)
Cake 2.1.3
# ab -n 10 -c 5 http://localhost/bench/cake/say/hello
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient).....done
Server Software: Apache/2.2.22
Server Hostname: localhost
Server Port: 80
Document Path: /bench/cake/say/hello
Document Length: 16 bytes
14 Chapter 2. Table of Contents
![](https://csdnimg.cn/release/download_crawler_static/13115540/bg13.jpg)
Phalcon PHP Framework Documentation, Release 1.2.2
Concurrency Level: 5
Time taken for tests: 30.051 seconds
Complete requests: 10
Failed requests: 0
Write errors: 0
Total transferred: 1680 bytes
HTML transferred: 160 bytes
Requests per second: 0.33 [#/sec] (mean)
Time per request: 15025.635 [ms] (mean)
Time per request: 3005.127 [ms] (mean, across all concurrent requests)
Transfer rate: 0.05 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 2 3.6 0 11
Processing: 15009 15020 9.8 15019 15040
Waiting: 9 21 7.9 25 33
Total: 15009 15022 8.9 15021 15040
Percentage of the requests served within a certain time (ms)
50% 15021
66% 15024
75% 15024
80% 15032
90% 15040
95% 15040
98% 15040
99% 15040
100% 15040 (longest request)
Zend Framework 1.11.11
# ab -n 2000 -c 10 http://localhost/bench/helloworld/zendfw/public/index.php
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Server Software: Apache/2.2.22
Server Hostname: localhost
Server Port: 80
Document Path: /bench/helloworld/zendfw/public/index.php
Document Length: 16 bytes
Concurrency Level: 10
Time taken for tests: 5.641 seconds
Complete requests: 2000
Failed requests: 0
Write errors: 0
Total transferred: 418000 bytes
HTML transferred: 32000 bytes
Requests per second: 354.55 [#/sec] (mean)
Time per request: 28.205 [ms] (mean)
Time per request: 2.820 [ms] (mean, across all concurrent requests)
Transfer rate: 72.36 [Kbytes/sec] received
2.2. Framework Benchmarks 15
![](https://csdnimg.cn/release/download_crawler_static/13115540/bg14.jpg)
Phalcon PHP Framework Documentation, Release 1.2.2
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 27 9.6 25 89
Processing: 0 1 3.0 0 70
Waiting: 0 0 2.9 0 70
Total: 9 28 9.6 26 90
Percentage of the requests served within a certain time (ms)
50% 26
66% 28
75% 32
80% 34
90% 41
95% 46
98% 55
99% 62
100% 90 (longest request)
Laravel 3.2.5
# ab -n 2000 -c 10 http://localhost/bench/helloworld/laravel/public/say/hello
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking localhost (be patient)
Server Software: Apache/2.2.22
Server Hostname: localhost
Server Port: 80
Document Path: /bench/helloworld/laravel/public/say/hello
Document Length: 15 bytes
Concurrency Level: 10
Time taken for tests: 4.090 seconds
Complete requests: 2000
Failed requests: 0
Write errors: 0
Total transferred: 1665162 bytes
HTML transferred: 30045 bytes
Requests per second: 489.03 [#/sec] (mean)
Time per request: 20.449 [ms] (mean)
Time per request: 2.045 [ms] (mean, across all concurrent requests)
Transfer rate: 397.61 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 20 7.6 19 92
Processing: 0 0 2.5 0 53
Waiting: 0 0 2.5 0 53
Total: 6 20 7.6 19 93
Percentage of the requests served within a certain time (ms)
50% 19
16 Chapter 2. Table of Contents
剩余850页未读,继续阅读
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![](https://profile-avatar.csdnimg.cn/2342ad0010ae4ae7a7a7a82cfb2fe3ed_wade1010.jpg!1)
3333333_
- 粉丝: 149
- 资源: 5
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![](https://csdnimg.cn/release/wenkucmsfe/public/img/voice.245cc511.png)
最新资源
- 岩石滑动与断层冲击地压:声发射特征分析
- 新时代煤炭工业八大战略新取向剖析
- 开采强度对华亭矿区冲击地压危险性的影响分析
- 新安煤矿探采对比:影响安全生产的关键因素与技术支撑
- 210MW循环流化床锅炉引风机变频改造优化与节能效果
- 浅埋煤层开采沉陷预测:方法应用与影响分析
- 优化巷道过陷落柱支护方案:数值模拟与现场试验
- 坚硬顶板定向断裂爆破技术:安全高效采煤新方案
- 北航2019算法课作业解析:投资策略与凸子多边形优化
- 断层破碎带垮冒下堆积体边界抗力分布关键影响因素
- 哈拉沟选煤厂优化末煤系统提高效率与处理能力
- 瓦斯涌出影响下采动煤体蠕变失稳研究
- 提升煤矿装载效率的可控箕斗定量装载设备设计
- 水分调控下烟煤瓦斯吸附特性对比研究
- 重介质悬浮液密度控制硬件设计与选型探讨
- 坚硬顶板巷道支护参数设计:现场测试与数值分析
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)