CakePHP Cookbook 2.x
and CSS files Layouts Using layouts from plugins Elements Passing Variables into an Element Caching Elements Requesting Elements from a Plugin 2.0 2.1 Creating your own view classes View API More layout. For most applications, they’re HTML mixed with PHP, but they may end up as XML, CSV, or even binary data. A layout is presentation code that is wrapped around a view. Multiple layouts can be defined Components Flexible ACL [https://en.wikipedia.org/wiki/Access_control_list] Data sanitization Flexible caching [https://en.wikipedia.org/wiki/Web_cache] Localization Works from any web site directory, with little0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 4.x
Configuration Files Environment Variables General Configuration Using a CDN Database Configuration Caching Configuration Error and Exception Handling Configuration Logging Configuration Email Configuration String as File Setting Headers Setting the Body Setting the Character Set Interacting with Browser Caching Fine Tuning HTTP Cache Setting Cookies Setting Cross Origin Request Headers (CORS) Common Mistakes Elements View::element() Passing Variables into an Element Caching Elements Requesting Elements from a Plugin Routing prefix and Elements Caching Sections of Your View View Events Event List Creating0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 3.x
Configuration Files Environment Variables General Configuration Using a CDN Database Configuration Caching Configuration Error and Exception Handling Configuration Logging Configuration Email Configuration String as File Setting Headers Setting the Body Setting the Character Set Interacting with Browser Caching Fine Tuning HTTP Cache Setting Cookies Setting Cross Origin Request Headers (CORS) Common Mistakes from Plugins Elements Passing Variables into an Element Caching Elements Requesting Elements from a Plugin Routing prefix and Elements Caching Sections of Your View View Events Event List Creating0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465 13 Caching 633 Configuring Cache Engines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hopefully this quick overview has piqued your interest. Some other great features in CakePHP are: • A caching framework that integrates with Memcached, Redis and other backends. • Powerful code generation tools application’s layout. While we’ll be creating HTML here, Views can also generate JSON, CSV or even binary files like PDFs. A layout is presentation code that is wrapped around a view. Layout files contain0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421 13 Caching 605 Configuring Cache Engines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hopefully this quick overview has piqued your interest. Some other great features in CakePHP are: • A caching framework that integrates with Memcached, Redis and other backends. • Powerful code generation tools application’s layout. While we’ll be creating HTML here, Views can also generate JSON, CSV or even binary files like PDFs. A layout is presentation code that is wrapped around a view. Layout files contain0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook Documentation 5.xConfiguration Files Environment Variables General Configuration Using a CDN Database Configuration Caching Configuration Error and Exception Handling Configuration Logging Configuration Email Configuration String as File Setting Headers Setting the Body Setting the Character Set Interacting with Browser Caching Fine Tuning HTTP Cache Setting Cookies Setting Cross Origin Request Headers (CORS) Common Mistakes Elements View::element() Passing Variables into an Element Caching Elements Requesting Elements from a Plugin Routing prefix and Elements Caching Sections of Your View View Events Event List Creating0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 2.x
layout. For most applications, they’re HTML mixed with PHP, but they may end up as XML, CSV, or even binary data. A layout is presentation code that is wrapped around a view. Multiple layouts can be defined security, session, and request handling Components • Flexible ACL33 • Data sanitization • Flexible caching34 • Localization • Works from any web site directory, with little to no Apache35 configuration the user’s browser not to cache the results of the current request. This is different than view caching, covered in a later chapter. The headers sent to this effect are: Expires: Mon, 26 Jul 1997 05:00:000 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323 13 Caching 505 Configuring Cache Engines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hopefully this quick overview has piqued your interest. Some other great features in CakePHP are: • A caching framework that integrates with Memcached, Redis and other backends. • Powerful code generation tools application’s layout. While we’ll be creating HTML here, Views can also generate JSON, CSV or even binary files like PDFs. A layout is presentation code that is wrapped around a view. Layout files contain0 码力 | 848 页 | 2.53 MB | 1 年前3
共 8 条
- 1













