1. Trang chủ
  2. » Công Nghệ Thông Tin

Tự học về Zend in action

434 176 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 434
Dung lượng 8,3 MB

Nội dung

[...]... 191 Introducing Zend_ Mail 191 Creating emails with Zend_ Mail 191 Sending emails with Zend_ Mail 193 10.3 Building a support tracker for Places 195 Designing the application 195 Integrating Zend_ Mail into the application 199 Adding headers to the support email 200 Adding attachments to the support email 202 Formatting the email 203 ■ ■ 10.4 Reading email 205 Collecting and storing email 205 Reading email... ■ 12.2 Producing and consuming feeds with Zend_ Feed Producing a feed 12.3 ■ 237 ■ Consuming a feed Making RPCs with Zend_ XmlRpc 240 Using Zend_ XmlRpc_Server Using Zend_ XmlRpc_Client 12.4 241 248 Using REST web services with Zend_ Rest 250 What is REST? 250 Using Zend_ Rest_Client Using Zend_ Rest_Server 254 ■ 12.5 13 Summary 251 256 Mashups with public web services 13.1 237 239 257 Accessing public web... 113 Inserting and updating with Zend_ Db_Table 114 Deleting records with Zend_ Db_Table 116 ■ ■ ■ Licensed to Deborah Christiansen Download at Boykma.Com xii CONTENTS 6.3 Using Zend_ Db_Table as a model 116 Testing the model 118 Zend_ Db_Table 123 6.4 7 Summary 128 Introducing authentication and access control What is authentication? 7.2 129 ■ 130 ■ 129 130 Logging in using HTTP Using Zend_ Auth... adding text 323 Adding wrapped text 324 ■ ■ 16.4 Working with color 324 Choosing colors 16.5 16.6 325 ■ Setting colors 325 Using Styles 326 Drawing shapes 326 Drawing lines 327 Setting up dashed lines 327 Drawing rectangles and polygons 328 Drawing circles and ellipses 331 ■ ■ 16.7 16.8 16.9 16.10 16.11 appendix A appendix B appendix C index Rotating objects 332 Adding images to the page 332 Drawing... additional information about the code We have tried to format the code so that it fits within the available page space in the book by adding line breaks and using indentation carefully Sometimes, very long lines will include line-continuation markers Source code for all the working examples is available for download from http:/ / www.manning.com/ZendFrameworkinAction A readme.txt file is provided in the... Controller integration 78 HTML header helpers 81 4.5 5 Ajax 5.1 Summary Using Ajax in web applications 89 87 Introducing Ajax 88 88 ■ A simple Ajax example 91 Using Ajax client libraries 94 Using Ajax with Zend Framework The controller 5.5 80 86 Defining Ajax 5.2 5.3 5.4 View script management ■ 96 ■ The view 95 97 Integrating into a Zend Framework application 98 The Place controller 99 Adding review rating... Translating idioms Using Zend_ Locale and Zend_ Translate 301 301 Setting the locale with Zend_ Locale 301 Translating with Zend_ Translate 303 15.3 Adding a second language to the Places application 305 Selecting the language 305 The LanguageSetup front controller plug -in 308 Translating the view 310 Displaying the correct date with Zend_ Locale 312 ■ ■ 15.4 16 Summary Creating PDFs 16.1 ■ 314 316 Zend_ Pdf... Using Zend_ Auth in a real application 133 Logging in 133 A view helper welcome message Logging out 138 ■ 7.4 129 What is access control? Implementing authentication Introducing Zend_ Auth authentication 131 7.3 Table relationships with 127 User authentication and access control 7.1 ■ Implementing access control 137 139 Introducing Zend_ Acl 139 Configuring a Zend_ Acl object 141 Checking the Zend_ Acl object... 101 Adding JavaScript to the view scripts The server code 104 ■ ■ 5.6 6 Summary 106 Managing the database 6.1 107 Database abstraction with Zend_ Db_Adapter 108 Creating a Zend_ Db_Adapter 108 Querying the database 109 Inserting, updating, and deleting 110 Handling databasespecific differences 111 ■ ■ 6.2 Table abstraction with Zend_ Db_Table 112 What is the Table Data Gateway pattern? 112 Using Zend_ Db_Table... services 258 Zend_ Gdata 258 Zend_ Service_Akismet 260 Zend_ Service_Amazon 260 Zend_ Service_Audioscrobbler 261 Zend_ Service_Delicious 261 Zend_ Service_Flickr 261 Zend_ Service_Gravatar 262 Zend_ Service_Nirvanix 262 Zend_ Service_RememberTheMilk 262 Zend_ Service_Simpy 262 Zend_ Service_SlideShare 263 Zend_ Service_StrikeIron 263 Zend_ Service_Technorati 263 Zend_ Service_Yahoo 264 ■ ■ ■ ■ ■ ■ ■ 13.2 Displaying ads . control? 129 7.2 Implementing authentication 130 Introducing Zend_ Auth 130 ■ Logging in using HTTP authentication 131 7.3 Using Zend_ Auth in a real application 133 Logging in 133 ■ A view helper. 137 Logging out 138 7.4 Implementing access control 139 Introducing Zend_ Acl 139 ■ Configuring a Zend_ Acl object 141 ■ Checking the Zend_ Acl object 142 7.5 Summary 146 8 Forms 147 8.1 Introducing Zend_ Form. 106 6 Managing the database 107 6.1 Database abstraction with Zend_ Db_Adapter 108 Creating a Zend_ Db_Adapter 108 ■ Querying the database 109 Inserting, updating, and deleting 110 ■ Handling database- specific

Ngày đăng: 30/09/2014, 23:13

TỪ KHÓA LIÊN QUAN

w