CakePHP Cookbook Documentation 5.xCreating Nested Resource Routes Limiting the Routes Created Changing the Controller Actions Used Mapping Additional Resource Routes Prefixed Resource Routing Custom Route Classes for Resource Routes URL Inflection Inflection for Resource Routes Changing the Path Element Passed Arguments Generating URLs RouterBuilder::url RouterBuilder::reverse Using Router::url() Using Router::reverse() Routing Arrays vs Request cycle works in CakePHP: The typical CakePHP request cycle starts with a user requesting a page or resource in your application. At a high level each request goes through the following steps: 1. The webserver0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 4.x
Creating Nested Resource Routes Limiting the Routes Created Changing the Controller Actions Used Mapping Additional Resource Routes Prefixed Resource Routing Custom Route Classes for Resource Routes URL Inflection Inflection for Resource Routes Changing the Path Element Passed Arguments Generating URLs RouterBuilder::url RouterBuilder::reverse Using Router::url() Using Router::reverse() Routing Arrays vs Request cycle works in CakePHP: The typical CakePHP request cycle starts with a user requesting a page or resource in your application. At a high level each request goes through the following steps: 1. The webserver0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 3.x
Creating Nested Resource Routes Limiting the Routes Created Changing the Controller Actions Used Mapping Additional Resource Routes Prefixed Resource Routing Custom Route Classes for Resource Routes URL Inflection Inflection for Resource Routes Changing the Path Element Passed Arguments Generating URLs Redirect Routing Entity Routing Custom Route Classes Default Route Class Fallbacks Method Creating Persistent cycle works in CakePHP: The typical CakePHP request cycle starts with a user requesting a page or resource in your application. At a high level each request goes through the following steps: 1. The webserver0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook Documentation 5.xcycle works in CakePHP: The typical CakePHP request cycle starts with a user requesting a page or resource in your application. At a high level each request goes through the following steps: 1. The webserver pages, layouts, and view template files. • The resources folder has sub folder for various types of resource files. The locales sub folder stores language files for internationalization. • The tests folder implement the logic to check whether or not a identity is allowed to perform an action on a given resource. Our identity is going to be our logged in user, and our resources are our ORM entities and queries0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
cycle works in CakePHP: The typical CakePHP request cycle starts with a user requesting a page or resource in your application. At a high level each request goes through the following steps: 1. The webserver pages, layouts, and view template files. • The resources folder has sub folder for various types of resource files. The locales sub folder stores language files for internationalization. • The tests folder other routing parameters and removes inflection overhead. • RouteBuilder::resources() now inflects resource names to dasherized form instead of underscored by de- fault in URLs. You can retain underscored0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 3.x
cycle works in CakePHP: The typical CakePHP request cycle starts with a user requesting a page or resource in your application. At a high level each request goes through the following steps: 1. The webserver Cake\Routing\RouteBuilder::resources() had the path option added. This option lets you make the resource path and controller name not match. • Cake\Routing\RouteBuilder now has methods to create routes reliance on global state, and necessary for the PSR-7 work integration to be done. • When building resource routes, you can now define a prefix. This is useful when defining nested resources as you can create0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 2.x
MVC Request in CakePHP The typical CakePHP request cycle starts with a user requesting a page or resource in your application. This request is first processed by a dispatcher which will select the correct client continues to store pages in the cache, but it asks the application every time whether the resource has changed, instead of using it directly. This is commonly used with static resources such as images is a string that uniquely identifies the requested resource, as a checksum does for a file, in order to determine whether it matches a cached resource. To take advantage of this header, you must either0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
MVC Request in CakePHP The typical CakePHP request cycle starts with a user requesting a page or resource in your application. This request is first processed by a dispatcher which will select the correct client continues to store pages in the cache, but it asks the application every time whether the resource has changed, instead of using it directly. This is commonly used with static resources such as images is a string that uniquely identifies the requested resource, as a checksum does for a file, in order to determine whether it matches a cached resource. To take advantage of this header, you must either0 码力 | 820 页 | 2.52 MB | 1 年前3
共 8 条
- 1













