CakePHP Cookbook Documentation 5.xKeeping Up To Date with the Latest CakePHP Changes Installation using Oven Permissions Development Server Production Fire It Up URL Rewriting Apache nginx NGINX Unit IIS7 (Windows hosts) Lighttpd I Can’t 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 Request Flow Controller Actions Interacting with Views Setting View Variables Setting View Options Rendering a View Content Type Negotiation Controller::addViewClasses() Content Type Negotiation Fallbacks0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 4.x
Keeping Up To Date with the Latest CakePHP Changes Installation using Oven Permissions Development Server Production Fire It Up URL Rewriting Apache nginx NGINX Unit IIS7 (Windows hosts) Lighttpd I Can’t 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 Request Flow Controller Actions Interacting with Views Setting View Variables Setting View Options Rendering a View Content Type Negotiation Controller::viewClasses() Content Type Negotiation Fallbacks0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 Development Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 The Controller Layer The Controller layer handles requests from users. It is responsible for rendering a response with the aid of both the Model and the View layers. A controller can be seen as a manager selects the type of presentational data that the clients are accepting, and finally delegates the rendering process to the View layer. An example of a user registration controller would be: 2 Chapter 1.0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 Development Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690 Custom Error Rendering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692 Creating The Controller Layer The Controller layer handles requests from users. It is responsible for rendering a response with the aid of both the Model and the View layers. A controller can be seen as a manager0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 3.x
Keeping Up To Date with the Latest CakePHP Changes Installation using Oven Permissions Development Server Production Fire It Up URL Rewriting Apache nginx IIS7 (Windows hosts) I Can’t Use URL Rewriting 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 Request Flow Controller Actions Interacting with Views Setting View Variables Setting View Options Rendering a View Redirecting to Other Pages Redirecting to Another Action on the Same Controller Loading0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 2.x
application. It can handle every aspect, from the user’s initial request all the way to the final rendering of a web page. And since the framework follows the principles of MVC, it allows you to easily customize A running web server. We’re going to assume you’re using Apache, though the instructions for using other servers should be very similar. We might have to play a little with the server configuration, configuration at all. Make sure you have PHP 5.2.8 or greater. 2. A database server. We’re going to be using MySQL server in this tutorial. You’ll need to know enough about SQL in order to create a database:0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211 Development Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212 The Controller Layer The Controller layer handles requests from users. It is responsible for rendering a response with the aid of both the Model and the View layers. A controller can be seen as a manager selects the type of presentational data that the clients are accepting, and finally delegates the rendering process to the View layer. An example of a user registration controller would be: 2 Chapter 1.0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 2.x
application. It can handle every aspect, from the user’s initial request all the way to the final rendering of a web page. And since the framework follows the principles of MVC, it allows you to easily customize A running web server. We’re going to assume you’re using Apache, though the instructions for using other servers should be very similar. We might have to play a little with the server configuration, but configuration at all. Make sure you have PHP 5.2.8 or greater. 2. A database server. We’re going to be using MySQL server in this tutorial. You’ll need to know enough about SQL in order to create a database:0 码力 | 820 页 | 2.52 MB | 1 年前3
Falcon v3.1.1-b3 Documentationspeed and flexibility I need!” “Falcon looks great so far. I hacked together a quick test for a tiny server of mine and was ~40% faster with only 20 minutes of work.” “I feel like I’m just talking HTTP at tries to do as little as possible while remaining highly effective. Falcon apps work with any WSGI server, and run like a champ under CPython 3.5+ and PyPy 3.5+. Features Falcon tries to do as little as used to optimize the framework as explained above. WSGI Server Falcon speaks WSGI, and so in order to serve a Falcon app, you will need a WSGI server. Gunicorn and uWSGI are some of the more popular ones0 码力 | 378 页 | 1.29 MB | 1 年前3
Falcon v3.1.1-b1 Documentationspeed and flexibility I need!” “Falcon looks great so far. I hacked together a quick test for a tiny server of mine and was ~40% faster with only 20 minutes of work.” “I feel like I’m just talking HTTP at tries to do as little as possible while remaining highly effective. Falcon apps work with any WSGI server, and run like a champ under CPython 3.5+ and PyPy 3.5+. Features Falcon tries to do as little as used to optimize the framework as explained above. WSGI Server Falcon speaks WSGI, and so in order to serve a Falcon app, you will need a WSGI server. Gunicorn and uWSGI are some of the more popular ones0 码力 | 378 页 | 1.29 MB | 1 年前3
共 77 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













