 CakePHP Cookbook Documentation 5.xDeprecations New Features PHPUnit 10 Upgrade phpunit.xml adjustments ->withConsecutive() has been removed data providers have to be static Tutorials & Examples Content Management Tutorial Getting CakePHP Checking Configure Writing Configuration data Reading Configuration Data Checking to see if Configuration Data is Defined Deleting Configuration Data Reading & Deleting Configuration Data Reading and writing configuration Parameters Request Body Data File Uploads PUT, PATCH or DELETE Data Environment Variables (from $_SERVER and $_ENV) XML or JSON Data Path Information Checking Request Conditions Session Data Host and Domain Name0 码力 | 1080 页 | 939.39 KB | 1 年前3 CakePHP Cookbook Documentation 5.xDeprecations New Features PHPUnit 10 Upgrade phpunit.xml adjustments ->withConsecutive() has been removed data providers have to be static Tutorials & Examples Content Management Tutorial Getting CakePHP Checking Configure Writing Configuration data Reading Configuration Data Checking to see if Configuration Data is Defined Deleting Configuration Data Reading & Deleting Configuration Data Reading and writing configuration Parameters Request Body Data File Uploads PUT, PATCH or DELETE Data Environment Variables (from $_SERVER and $_ENV) XML or JSON Data Path Information Checking Request Conditions Session Data Host and Domain Name0 码力 | 1080 页 | 939.39 KB | 1 年前3
 CakePHP Cookbook 3.x
Class Writing Configuration data Reading Configuration Data Checking to see if Configuration Data is Defined Deleting Configuration Data Reading & Deleting Configuration Data Reading and writing configuration Parameters Request Body Data File Uploads PUT, PATCH or DELETE Data Environment Variables (from $_SERVER and $_ENV) XML or JSON Data Path Information Checking Request Conditions Session Data Host and Domain Name Cookies Setting Cross Origin Request Headers (CORS) Common Mistakes with Immutable Responses Cookie Collections Creating Cookies Reading Cookies Controllers The App Controller Request Flow Controller Actions0 码力 | 1244 页 | 1.05 MB | 1 年前3 CakePHP Cookbook 3.x
Class Writing Configuration data Reading Configuration Data Checking to see if Configuration Data is Defined Deleting Configuration Data Reading & Deleting Configuration Data Reading and writing configuration Parameters Request Body Data File Uploads PUT, PATCH or DELETE Data Environment Variables (from $_SERVER and $_ENV) XML or JSON Data Path Information Checking Request Conditions Session Data Host and Domain Name Cookies Setting Cross Origin Request Headers (CORS) Common Mistakes with Immutable Responses Cookie Collections Creating Cookies Reading Cookies Controllers The App Controller Request Flow Controller Actions0 码力 | 1244 页 | 1.05 MB | 1 年前3
 CakePHP Cookbook Documentation 5.xImmutable Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181 Cookie Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 512 Clearing Cached Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513 Using . . . . . . . . . . . . . . . . . . . . . 611 Automatically Choosing the Locale Based on Request Data . . . . . . . . . . . . . . . . . . . . . . . . . . 612 Translate Content/Entities . . . . . . .0 码力 | 848 页 | 2.53 MB | 1 年前3 CakePHP Cookbook Documentation 5.xImmutable Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181 Cookie Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 512 Clearing Cached Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513 Using . . . . . . . . . . . . . . . . . . . . . 611 Automatically Choosing the Locale Based on Request Data . . . . . . . . . . . . . . . . . . . . . . . . . . 612 Translate Content/Entities . . . . . . .0 码力 | 848 页 | 2.53 MB | 1 年前3
 CakePHP Cookbook 3.x
Immutable Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282 Cookie Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640 Clearing Cached Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640 Using . . . . . . . . . . . . . . . . . . . . . 740 Automatically Choosing the Locale Based on Request Data . . . . . . . . . . . . . . . . . . . . . . . . . . 741 22 Logging 743 Logging Configuration .0 码力 | 967 页 | 2.80 MB | 1 年前3 CakePHP Cookbook 3.x
Immutable Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282 Cookie Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640 Clearing Cached Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640 Using . . . . . . . . . . . . . . . . . . . . . 740 Automatically Choosing the Locale Based on Request Data . . . . . . . . . . . . . . . . . . . . . . . . . . 741 22 Logging 743 Logging Configuration .0 码力 | 967 页 | 2.80 MB | 1 年前3
 CakePHP Cookbook 4.x
Configure Writing Configuration data Reading Configuration Data Checking to see if Configuration Data is Defined Deleting Configuration Data Reading & Deleting Configuration Data Reading and writing configuration Parameters Request Body Data File Uploads PUT, PATCH or DELETE Data Environment Variables (from $_SERVER and $_ENV) XML or JSON Data Path Information Checking Request Conditions Session Data Host and Domain Name Cookies Setting Cross Origin Request Headers (CORS) Common Mistakes with Immutable Responses Cookie Collections CookieCollection Creating Cookies Reading Cookies Controllers Controller The App Controller0 码力 | 1249 页 | 1.04 MB | 1 年前3 CakePHP Cookbook 4.x
Configure Writing Configuration data Reading Configuration Data Checking to see if Configuration Data is Defined Deleting Configuration Data Reading & Deleting Configuration Data Reading and writing configuration Parameters Request Body Data File Uploads PUT, PATCH or DELETE Data Environment Variables (from $_SERVER and $_ENV) XML or JSON Data Path Information Checking Request Conditions Session Data Host and Domain Name Cookies Setting Cross Origin Request Headers (CORS) Common Mistakes with Immutable Responses Cookie Collections CookieCollection Creating Cookies Reading Cookies Controllers Controller The App Controller0 码力 | 1249 页 | 1.04 MB | 1 年前3
 CakePHP Cookbook 4.x
Immutable Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250 Cookie Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 612 Clearing Cached Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613 Using . . . . . . . . . . . . . . . . . . . . . 719 Automatically Choosing the Locale Based on Request Data . . . . . . . . . . . . . . . . . . . . . . . . . . 721 Translate Content/Entities . . . . . . .0 码力 | 967 页 | 2.88 MB | 1 年前3 CakePHP Cookbook 4.x
Immutable Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250 Cookie Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 612 Clearing Cached Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613 Using . . . . . . . . . . . . . . . . . . . . . 719 Automatically Choosing the Locale Based on Request Data . . . . . . . . . . . . . . . . . . . . . . . . . . 721 Translate Content/Entities . . . . . . .0 码力 | 967 页 | 2.88 MB | 1 年前3
 CakePHP Cookbook 2.x
Tutorial - Adding a layer Create a Post Model Create a Posts Controller Creating Post Views Adding Posts Data Validation Editing Posts Deleting Posts Routes Conclusion Additional Reading Installation Requirements Understanding Models More on models Associations: Linking Models Together Retrieving Your Data Saving Your Data Deleting Data Data Validation Callback Methods Behaviors DataSources Model Attributes Additional Methods & configuration Setting ini directives Creating a custom session handler Reading & writing session data Exceptions Exception configuration Exception classes Built-in Exceptions for CakePHP Using HTTP0 码力 | 1096 页 | 958.62 KB | 1 年前3 CakePHP Cookbook 2.x
Tutorial - Adding a layer Create a Post Model Create a Posts Controller Creating Post Views Adding Posts Data Validation Editing Posts Deleting Posts Routes Conclusion Additional Reading Installation Requirements Understanding Models More on models Associations: Linking Models Together Retrieving Your Data Saving Your Data Deleting Data Data Validation Callback Methods Behaviors DataSources Model Attributes Additional Methods & configuration Setting ini directives Creating a custom session handler Reading & writing session data Exceptions Exception configuration Exception classes Built-in Exceptions for CakePHP Using HTTP0 码力 | 1096 页 | 958.62 KB | 1 年前3
 Guzzle PHP 5.3 Documentationintegrate with web services. Manages things like persistent connections, represents query strings as collections, simplifies sending streaming POST requests with fields and files, and abstracts away the underlying echo $res->getBody(); // {"type":"User"...' var_export($res->json()); // Outputs the JSON decoded data // Send an asynchronous request. $req = $client->createRequest('GET', 'http://httpbin.org', ['future' security vulnerability Quickstart Make a Request Using Responses Query String Parameters Uploading Data Cookies Redirects Exceptions Clients Creating a client Sending Requests Sending Requests With a0 码力 | 72 页 | 312.62 KB | 11 月前3 Guzzle PHP 5.3 Documentationintegrate with web services. Manages things like persistent connections, represents query strings as collections, simplifies sending streaming POST requests with fields and files, and abstracts away the underlying echo $res->getBody(); // {"type":"User"...' var_export($res->json()); // Outputs the JSON decoded data // Send an asynchronous request. $req = $client->createRequest('GET', 'http://httpbin.org', ['future' security vulnerability Quickstart Make a Request Using Responses Query String Parameters Uploading Data Cookies Redirects Exceptions Clients Creating a client Sending Requests Sending Requests With a0 码力 | 72 页 | 312.62 KB | 11 月前3
 Guzzle PHP 5.3 Documentationwith web services. • Manages things like persistent connections, represents query strings as collections, simplifies sending streaming POST requests with fields and files, and abstracts away the underlying echo $res->getBody(); // {"type":"User"...' var_export($res->json()); // Outputs the JSON decoded data // Send an asynchronous request. $req = $client->createRequest('GET', 'http://httpbin.org', ['future' can be retrieved and cast to a string. $body = $response->getBody(); echo $body; // { "some_json_data" ...} You can also read read bytes from body of a response like a stream. 6 Chapter 1. User guide0 码力 | 63 页 | 275.75 KB | 11 月前3 Guzzle PHP 5.3 Documentationwith web services. • Manages things like persistent connections, represents query strings as collections, simplifies sending streaming POST requests with fields and files, and abstracts away the underlying echo $res->getBody(); // {"type":"User"...' var_export($res->json()); // Outputs the JSON decoded data // Send an asynchronous request. $req = $client->createRequest('GET', 'http://httpbin.org', ['future' can be retrieved and cast to a string. $body = $response->getBody(); echo $body; // { "some_json_data" ...} You can also read read bytes from body of a response like a stream. 6 Chapter 1. User guide0 码力 | 63 页 | 275.75 KB | 11 月前3
 Falcon v3.0.1 DocumentationAPI off to a legacy system that hasn't been upgraded # yet, or perhaps is a single cluster that all data centers have to share. sink = SinkAdapter() app.add_sink(sink, r'/search/(?P Falcon v3.0.1 DocumentationAPI off to a legacy system that hasn't been upgraded # yet, or perhaps is a single cluster that all data centers have to share. sink = SinkAdapter() app.add_sink(sink, r'/search/(?P- ddg|y)\Z') # API off to a legacy system that hasn't been upgraded # yet, or perhaps is a single cluster that all data centers have to share. sink = SinkAdapter() app.add_sink(sink, r'/search/(?P - ddg|y)\Z') You } resp.data = msgpack.packb(doc, use_bin_type=True) resp.content_type = falcon.MEDIA_MSGPACK resp.status = falcon.HTTP_200 Note the use of resp.data in lieu of resp.text. 0 码力 | 1058 页 | 741.59 KB | 1 年前3
共 80 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8














