CakePHP Cookbook 3.x
Types Sending Files Sending a 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 Using Logging to Debug Debug Kit Deployment Moving files Adjust config/app.php Check Your Security Set Document Root Improve Your Application’s Performance Deploying an update Email Basic Usage Choosing Plugins Components, Helpers and Behaviors Commands Testing your Plugin Publishing your Plugin Plugin Map File Manage Your Plugins using Mixer REST The Simple Setup Accepting Input in Other Formats RESTful0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 696 Set Document Root . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 770 Plugin Map File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . are now registered.')); } else { $this->Flash->error(__('There were some problems.')); } } $this->set('user', $user); } You may notice that we never explicitly rendered a view. CakePHP’s conventions will0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook Documentation 5.xTypes Sending Files Sending a 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 Using Logging to Debug Debug Kit Deployment Moving files Adjusting Configuration Check Your Security Set Document Root Improve Your Application’s Performance Deploying an update Mailer Mailer Basic Usage Plugins Components, Helpers and Behaviors Commands Testing your Plugin Publishing your Plugin Plugin Map File Manage Your Plugins using Mixer REST Getting Started Encoding Response Data Parsing Request0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.xSecurity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 562 Set Document Root . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 649 Plugin Map File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . are now registered.')); } else { $this->Flash->error(__('There were some problems.')); } } $this->set('user', $user); } You may notice that we never explicitly rendered a view. CakePHP’s conventions will0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
Types Sending Files Sending a 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 Using Logging to Debug Debug Kit Deployment Moving files Adjusting Configuration Check Your Security Set Document Root Improve Your Application’s Performance Deploying an update Mailer Mailer Basic Usage Plugins Components, Helpers and Behaviors Commands Testing your Plugin Publishing your Plugin Plugin Map File Manage Your Plugins using Mixer REST The Simple Setup Accepting Input in Other Formats RESTful0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 668 Set Document Root . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 751 Plugin Map File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . are now registered.')); } else { $this->Flash->error(__('There were some problems.')); } } $this->set('user', $user); } You may notice that we never explicitly rendered a view. CakePHP’s conventions will0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 2.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 649 Set document root . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Getting Started CakePHP Cookbook Documentation, Release 2.x Creating the Blog Database Next, let’s set up the underlying database for our blog. If you haven’t already done so, create an empty database for further information. 1. Make sure that an .htaccess override is allowed and that AllowOverride is set to All for the correct DocumentRoot. You should see something similar to: 4 Chapter 1. Getting Started0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook 2.x
Dispatcher Filters Configuring Filters Filter Classes Inline Filters Deployment Check your security Set document root Update core.php Improve your application’s performance Tutorials & Examples Blog Tutorial and uncaught exceptions that cache data cannot be written. Creating the Blog Database Next, let’s set up the underlying database for our blog. If you haven’t already done so, create an empty database for AppController { public $helpers = array('Html', 'Form'); public function index() { $this->set('posts', $this->Post->find('all')); } } By defining function index() in our PostsController, users0 码力 | 1096 页 | 958.62 KB | 1 年前3
Learning Laravelcode 9 Creating and registering new artisan command 9 Chapter 3: Authentication 10 Examples 10 Multi Authentication 10 Chapter 4: Authorization 14 Introduction 14 Examples 14 Using Gates 14 Authorizing satisfies certain condition 32 Using Pluck to extract certain values from a collection 32 Using Map to manipulate each element in a collection 33 Using sum, avg, min or max on a collection for statistical Chapter 61: Token Mismatch Error in AJAX 179 Introduction 179 Examples 179 Setup Token on Header 179 Set token on tag 179 Check session storage path & permission 179 Use _token field on Ajax 180 Chapter0 码力 | 216 页 | 1.58 MB | 1 年前3
Falcon v3.0.0 Documentationinstall [uvicorn|daphne|hypercorn] Note: By default, the uvicorn package comes only with a minimal set of pure-Python dependencies. For CPython- based production deployments, you can install Uvicorn along running pytest: $ cd falcon $ pip install -r requirements/tests $ pytest tests Or, to run the default set of tests: $ pip install tox && tox Tip: See also the tox.ini file for a full list of available environments meaning (among # other things) that you think in terms of resources and state # transitions, which map to HTTP verbs. class ThingsResource: (continues on next page) 5.1. User Guide 15 Falcon Documentation0 码力 | 344 页 | 1.16 MB | 1 年前3
共 78 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













