下载  >  开发技术  >  PHP  > Zend Framework2官方手册

Zend Framework2官方手册 评分

ZF2.0并不像其他框架只是修修补补的更新,而是完全重写了ZF1.0的所有代码,主打的口号就是“高性能”。
CONTENTS 1 Overview 2 Installation 3 Getting Started with Zend Framework 2 3.1 Some assumptions 3.2 The tutorial application 4 Getting started: A skeleton application 7 4.1 Virtual he 8 s Unit Testing 9 the tests directe 5.2 Bootstrapping your lests 9 5.3 Your first Controller test 12 5. 4 Testing 6 Modules 15 6. 1 Setting up the Album module 15 6.2 Configuration 16 6.3 Informing the application about our new module 17 7 Routing and controllers 19 7.1 Create the controller 0 8 Database and models 25 8.1 The database 8.2 The imodel files 8.3 Using ServiceManager to configure the table gateway and inject into the AlbumTable 28 8.4 Testing .30 8.5 Back to the controller 33 8.6 Listing albums 9 Styling and Translations 35 10 Forms and actions 10.1 Adding new albums 37 10. 2 Editing an album 42 10.3 Deleting an album 10.4 Ensuring that the home page displays the list of albums 45 11 Conclusion 2 Learning Dependency Injection 51 12.1 Very brief introduction to Di 12.2 Very brief introduction to Di Container. 12.3 Simplest usage case(2 classes, one consumes the other) 12. 4 Simplest Usage Case Without Type-hints 12.5 Simplest usage case with Compiled Definition 12.6 Creating a precompiled definition for others to use 56 12.7 USing Multiple Definitions From Multiple Sources 56 12.8 Generating Service Locators 13 Introduction 13. 1 Adapt ers 13.2 Resul 13.3 Identity Persistence 13. 4 Usage 66 14 Database Table authentication 69 14.1 Introduction 14.2 Basic Usage 14.3 Advanced Usage: Persisting a DbTable Result Object 15 Digest authentication 75 15.1 Introduction 15.2 Specifics 15.3 Identity 75 16 Http Authentication adApter 77 16.1 Introduction 77 16.2 Design Overview 16.3 Configuration Options .77 6.4 Resolvers 78 16.5 Basic Usage 79 17 LDAP Authentication 17.1 Introduction 81 17.2U 81 17. 3 The API 17. 4 Server options 17.5 Collecting Debugging Mes 86 17.6 Common Options for Specific Servers ....86 18 Introduction 19 Barcode creation using Zend Barcode Barcode class 19.1 Using Zend B arcode Barcode: factory 91 19.2 Drawing a ba 92 19.3 Renderering a barcode 20 Zend \Barcode \Barcode objects 95 20.1 Common Options 5 20.2 Common additional getters 21 Description of shipped barcodes 21.1 Zend\ Barcode\Object\Error 21.2 Zend\Barcode\Object\Code............ 21.3 Zend Barcode\object\ Codabar 21.4 Zend(Barcode oBject(Code 25 100 21.5 Zend \ Barcode\object\ Code25interleaved 100 21.6 Zend \Barcode\object \ Ean2 100 21 7 Zend(Barcode\object\Ean5 ..,,,101 21.8 Zend Barcode\Object\Ean& 101 21.9 Zend\BarcodelObject\Ean13 · ..101 21.10 Zend(BarcodelObject\Code39 102 21 11 Zend \Barcode\object\Identcode 102 21 12 Zend \Barcode\Object\Itf14 102 21.13 Zend \Barcodetobject \Leitcode 103 21 14 Zend \B arcode\ object( Planet ....103 21.15 Zend \Barcode\object\Postnet 103 21.16 Zend \Barcode\Object\Royalmail 104 21 17 Zend \Barcode\Object\Ur 104 21.18 Zend\BarcodelObject\Upce .104 22 Zend\Barcode renderers 107 22.1 Common Options 107 22. 2 Zend Barcode renderer\lmage l08 22. 3 Zend\Barcode \Renderer\Pdf .108 23 Zend\ Cache Storage Adapter 109 23.1 Overview 109 3.2 Quick Start .,,,.109 23.3 Basic Configuration Options ,..,,,110 23. 4 The StorageInterface ..110 23.5 The AvailableSpaceCapablelnterface l12 23.6 The TotalSpace Capablelnterface l12 23.7 The Clear B y NamespaceInterface 112 23.8 The Clear B y PrefixInterface .113 23.9 The ClearExpiredInterface ,,,.,,,113 23. 10 The FlushableInterface ,..,,,113 23. 11 The iterablelnterface ,113 23. 12 The OptimizableInterface 23. 13 The TaggableInterface 23 14 The Apc Adapter............... 114 23.15 The Dba adapter .115 23.16 The Filesystem Adapter 116 23 17 The Memcached Adapter 117 23. 18 The Memory Adapter 118 23 19 The Win Cache Adapter 119 23.20 The ZendServerDisk Adapter 120 23.21 The ZendServerShm Adapter 120 23.22 Examples 121 24 Zend\ CachelStorage\ Capabilities 24.1 Overview 123 242 Available methods 123 24.3 Examples 125 25 Zend\ Cache Storage\Plugin 127 25.1 Overview ,,,.,,,,,,,..,127 25.2 uick start 127 25.3 The ClearExpiredBy Factor Plugin 128 25.4 The Exception Handler Plugin .128 25.5 The Ignore UserAbort Plugin 128 25.6 The Optimize B y Factor Plugin 128 25.7 The serializer plugin 129 25.8 Available methods .129 25.9 Examples 130 26 Zend\ Cache\Pattern 131 26.1 Overview 131 26.2 Quick Start ..131 26.3 Available Methods 131 27 Zend\ Cache Pattern\ Callback Cache 133 27.1 Overview 133 27.2 Quick Start 133 27.3 Configuration Options ..,,133 27.4 Available methods 134 27. 5 Examples ...134 28 Zend\ Cache\Pattern\Class Cache 135 28.1 Overview 135 28.2 Quick start 135 28. 3 Configuration Options 135 28.4 Available methods 135 28.5 Examples 136 29 Zend\ CachePatterntObjectCache 139 29.1 Overview 139 29.2 Quick Start .139 29.3 Configuration Options 139 29.4 Available Methods 140 29.5 Examples .140 30 Zend\ Cache Pattern\Output Cache 143 30.1 Overview 143 30.2 Quick Start 143 30.3 Configuration Options 143 30.4 Available methods ..143 30.5 Examples....,...,.,.. .144 31 Zend\ Cache\Pattern\ Capture Cache 145 31.1 Overview 145 31.2 Quick Start 145 31.3 Configuration Options 145 31.4 Available methods 146 31.5 Examples ..146 32 Introduction 147 33 Captcha Operation 149 34 CAPTCHA Adapters 151 34.1 Zend(Captcha \Abstract Word ...151 34.2 Zend(captcha dumb 152 34.3 Zend\ Captcha\Figlet 152 34.4 Zend Captcha lmage ..152 34.5 Zend Captcha ReCaptcha .153 35 Introduction 155 35.1 USing Zend(ConfigConfig with a Reader Class 155 35.2 Using Zend\ConfigConfig with a PHP Configuration File 156 36 Theory of Operation 157 37 Zend\ Config Reader 159 37.1 Zend(Config reader n 159 37.2 Zend\ Config Reader Xml 160 37.3 Zend\ Config \ReaderUson ....... 37.4 Zend\Config Reader\Yam 162 38 Zend\ Configwriter 165 38.1 Zend(Config Writeruni 165 38.2 Zend\(Configlwriter\Xml 166 38.3 Zend\ Config\Writer\ Php Array .167 38.4 Zend\Configlwriter\Ison l67 38.5 Zend\ ConfiglWriter\ Yaml ...168 39 Zend\ Config\Processor 171 39.1 Zend( Config Processor \Constant ...171 39.2 Zend\ Config Processor \ Filter l71 39.3 Zend\ Config \ProcessorlQueue ...172 39.4 Zend\ Config\ProcessorToken .172 39.5 Zend Config\ Processor\Translator 173 40 The Factory 175 40.1 Loading configuration file 175 40.2 Storing configuration file ...175 41 Introduction I77 41.1 Writing console routes 177 41.2 Handling console requests .....179 41.3 Adding console usage info ,,,,,,,180 42 Console routes and routing 183 42.1 Router configuration 42.2 Basic route 184 42.3 Catchall route ...188 42.4 Console routes cheat-sheet 189 43 Console-aware modules 191 43.1 Application banner 191 43.2 Usage information ...192 44 Console-aware action controllers 197 44.1 Handling console requests 197 44.2 Sending output to console 199 44.3 Are we in a console? 199 44.4 Reading values from console parameters 201 45 Console adapters 205 45.1 Retreving console adapter .205 45.2 Using console adapter 206 46 Console prompts 209 46.1 Confirm 46.2 Line 210 46.3 Char 210 46.4 Selec 47 Introduction 213 48 Encrypt/decrypt using block ciphers 215 49 Key derivation function 217 49.1 Pbkdf2 adapter 217 49.2 SaltedS2k adapter 8 50 Secure Password Storing 219 51 Public key cryptography 221 51.1 Diffie-Hellman 22 52 Zend\Db\Adapter 225 52.1 Creating an Adapter-Quickstart 5 52.2 Creating an Adapter USing Dependency 226 52.3 Query Preparation Through Zend Db\Adapter Adapter: query 226 52.4 Query Execution Through Zend \Db\Adapter\Adapter: query 227 52.5 Creating Statements .227 52.6 Using the Driver Object “ 227 52.7 Using The Platform Object 229 52.8 Using The Parameter Container 勹 52.9 Examples 231 53 Zend\Db\ResultSet 233 53.1 Quickstart ..,233 53.2 Zend \Db\Result set resultset and zend db\Resultset\abstractResult set 234 53.3 ZendDbResultSet Hydrating ResultSet 234 54 Zend isql 237 54.1 Zend Dbsqlsql(Quickstart) 237 54.2 Zend DbiSql's Select, Insert, Update and Delete 238 54.3 Zend\b\sql\select ...238 54.4 Zend Dbisqlinsert · ......241 54.5 Zend DbSqlUpdate 勹A 54.6 Zend DbSgldelete 242 54.7 Zend DbIsqll where ZendbisqlHaving 242 55 Zend \Db\Table Gateway 247 55.1 Basic Usage 247 55.2 TableGateway Features 56 Zend\Db\Row Gatewav 251 56.1 Quickstart 251 57 Zend \Db\Metadata 253 57.1 Basic Usage 253 58 Introduction to Zend\Di 58.1 Dependency injection 58.2 Dependency Injection Containers 59 Zend\Di Quickstart 259 60 Zend \Di Definition 263 60.1 Definitionlist 60.2 Runtime Definition ...,,263 60.3 CompilerDefinition 264 60.4 ClassDefinition .265 61 Zend\Di InstanceManager 267 61.1 Parameters 267 6.2 Preferences .268 61.3 Aliases 62 Zend \ Di Configuration 271 63 Zend \Di Debugging Complex Use Cases 273 63.1 Debugging a DiC 273 63.2 Complex Use Cases 273 64 Introduction 77 65 Zend \Dom\Query 279 65.1 Theory of Operation 279 65.2 Methods Available 280 66 The Eventmanager 66.1 Overview 283 66.2 Quick Start 66.3 Configuration Options 286 66.4 Available Methods 286 66.5 Examples 67 Introduction 293 68 Importing Feeds 295 68.1 Dumping the contents of a feed 295 69 Retrieving Feeds from Web Pages 297 70 Consuming an RSS Feed 299 71 Consuming an Atom Feed 301 72 Consuming a Single Atom Entry 303 73 Zend\Feed and Securit 305 73.1 Introduction 305 73.2 Filtering data using htmLpurifier ..305 73.3 Escaping data using Zend Escaper ..,.,..307 74 Zend\Feed \Reader\Reader 309 74 1 Introduction .309 74.2 Importing Feeds .309 74.3 Retrieving Underlying Feed and Entry Sources 310 74.4 Cache Support and Intelligent Requests 311 74.5 Locating Feed URIs from Websites 312 74.6 Attribute collections 313 74. 7 Retrieving Feed Infornation · 313 74.8 Retrieving Entry/Item Information ..,316 74.9 Extending Feed and Entry APIs 7 75 Zend\Feed\Writer\Writer 323 75.1 Introduction 75.2 Architecture 323 75.3 Getting Started 324 75. 4 Setting Feed Data Points ····“··· 326 75.5 Setting Entry Data Points ....328 76 Zend\Feed\PubSubhubbub 76.1 What is PubSubhubbub? 331 76.2 Architecture .331 76.3 Zend FeedPub SubhubbubPublisher .332 76 4 Zend\Feed\Pub Subhubbub Subscriber 333 77 ntroduction 339 77.1 What is a filter? 77.2 Basic of filters 78 Using the StaticFilter 341 78.1 Double filtering .341 79 Standard Filter Classes 343 79.1 AInum Filter 343 79.2 Alpha Filter 344 79.3 Base Name 344 79.4 Boolean 345 79.5 Callback 347 79.6 Compress and Decompress 349 79.7 Digits .354 79.8Dir. 355 79.9 Encrypt and Decrypt 79.10 HtmlEntities 360 79.11Int 79.12 Null 362 79.13 Number Format Filter 79.14 Preg Replace 364 79.15 RealPath 79.16 StringTolower ·· 79.17 StringToUpper 367 79.18 String Trim .367 79.19 StripNewLines 368 79.20 StripTags 369 79.21 Word\CamelCaseToDash 370 79.22 Word\Camel Separator ...370 79.23 Word\ CamelCaseToUnderscore 371

...展开详情
所需积分/C币:10 上传时间:2012-11-26 资源大小:3.79MB
举报 举报 收藏 收藏
分享 分享

评论 下载该资源后可以进行评论 29

qwerty06 非常不错,就是英文版的!
2015-03-21
回复
jinxian001 还可以顺带学学英文了,英文好的可以看看
2014-08-28
回复
ross1130 就是英文版的
2014-03-03
回复
bmxy860815 很好用,谢谢分享~
2013-12-25
回复
phperguan 和官网的一样啊
2013-11-11
回复
zend framework2 中文手册

zend framework2 中文手册,这个我找了很久了,对于英语不好的工程师来说还是翻译的挺不错的,会英语的就不要下载中文的了,因为有部分的没有翻译

立即下载
zend framework 中文版手册(最新)

zendframework中文版手册,找了好久终于找到了最新的能用的,查询很方便!

立即下载
zendframework2中文手册[2014最新版]

最新整理的 zendframework2 中文手册 2014年3月整理

立即下载
zendframework2中文手册(chm版)

比较详细的zf2中文手册chm办版,很小但是很强大,下载即可用!

立即下载
PHP ZendFramework最新中文手册

PHP frameworks最新中文手册 ZendFramework-1.6.chm

立即下载
zendframework中文CHM手册.chm

zendframework 中文CHM手册

立即下载
zendFramework中文手册

zendFramework中文手册

立即下载
ZendFrameWork中文手册

学习ZendFrameWork的好工具!

立即下载
ZendFramework中文帮助手册 1.11.4

自己编译的里面包含 ZendFramework 1.11.4 中文帮助手册 ZendFramework 1.11.4 api doc ZendFramework 1.11.4 的一个guestbook。 想要就下,不想要就看看.

立即下载
zendframework中文手册2010

本手册全是中文说明,内容很精华,是一本很好的手册

立即下载
ZendFramework-2.2.5参考手册

ZendFramework-2.2.5参考手册

立即下载
ZendFramework中文手册HTML版

ZendFrameWork的最手中文手册,由Haohappy等PHPER翻译而成,希望大家喜欢,是全HTML版的,很实用.OVER

立即下载
ZendFramework手册 中英文版

ZendFramework手册 中英文版<br>包含有PDF及CHM中英文版的手册

立即下载
ModbusTCP/RTU网关设计

基于UIP协议栈,实现MODBUS联网,可参考本文档资料,有MODBUS协议介绍

立即下载
html+css+js制作的一个动态的新年贺卡

该代码是http://blog.csdn.net/qq_29656961/article/details/78155792博客里面的代码,代码里面有要用到的图片资源和音乐资源。

立即下载
iCopy解码软件v1.0.1.7.exe

解ic,id,hid卡密码破解ic,id,hid卡密码破解ic,id,hid破解ic,id,hid卡破解ic,id,hid卡密码密码卡密码破解ic,id,hid卡...

立即下载
分布式服务框架原理与实践(高清完整版)

第1章应用架构演进1 1.1传统垂直应用架构2 1.1.1垂直应用架构介绍2 1.1.2垂直应用架构面临的挑战4 1.2RPC架构6 1.2.1RPC框架原理6 1.2.2最简单的RPC框架实现8 1.2.3业界主流RPC框架14 1.2.4RPC框架面临的挑战17 1.3SOA服务化架构18 1.3.1面向服务设计的原则18 1.3.2服务治理19 1.4微服务架构21 1.4.1什么是微服务21 1.4.2微服务架构对比SOA22 1.5总结23 第2章分布式服务框架入门25 2.1分布式服务框架诞生背景26 2.1.1应用从集中式走向分布式.26?

立即下载