CakePHP Cookbook 3.x
processing, validating, associating or other tasks related to handling data. In the case of a social network, the Model layer would take care of tasks such as saving the user data, saving friends’ associations 0, but will emit deprecation warnings: Cake\Network\Exception\BadRequestException has been renamed to Cake\Http\Exception\BadRequestException. Cake\Network\Exception\ConflictException has been renamed to Cake\Http\Exception\ConflictException. Cake\Network\Exception\ForbiddenException has been renamed to Cake\Http\Exception\ForbiddenException. Cake\Network\Exception\GoneException has been renamed to C0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
processing, validating, associating or other tasks related to handling data. In the case of a social network, the Model layer would take care of tasks such as saving the user data, saving friends’ associations but will emit deprecation warnings: • Cake\Network\Exception\BadRequestException has been renamed to Cake\Http\Exception\ BadRequestException. • Cake\Network\Exception\ConflictException has been renamed Cake\Http\Exception\ ConflictException. • Cake\Network\Exception\ForbiddenException has been renamed to Cake\Http\Exception\ ForbiddenException. • Cake\Network\Exception\GoneException has been renamed to0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook 2.x
stand for the major concepts around which you implement your application. In the case of a social network, the Model layer would take care of tasks such as saving the user data, saving friends’ associations FarAwaySource and we’ll put it in app/Model/Datasource/FarAwaySource.php: App::uses('HttpSocket', 'Network/Http'); class FarAwaySource extends DataSource { /** * An optional description of your datasource to find it. For instance if you’d like to use your own HttpSocket class, put it under: app/Lib/Network/Http/HttpSocket.php Once you’ve done this App will load your override file instead of the file inside0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
stand for the major concepts around which you implement your application. In the case of a social network, the Model layer would take care of tasks such as saving the user data, saving friends’ associations FarAwaySource and we’ll put it in app/Model/Datasource/FarAwaySource.php: App::uses('HttpSocket', 'Network/Http'); class FarAwaySource extends DataSource { /** * An optional description of your datasource class, put it under: General Purpose 337 CakePHP Cookbook Documentation, Release 2.x app/Lib/Network/Http/HttpSocket.php Once you’ve done this App will load your override file instead of the file inside0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook 4.x
processing, validating, associating or other tasks related to handling data. In the case of a social network, the Model layer would take care of tasks such as saving the user data, saving friends’ associations function($request, $handler) or classes which implement Psr\Http\Server\MiddlewareInterface instead. Network Socket::$connected is deprecated. Use isConnected() instead. Socket::$description is deprecated is correct, rules focus on comparing data against the existing state of your application and/or network. These types of rules are often referred to as ‘domain rules’ or ‘application rules’. CakePHP exposes0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook Documentation 5.xprocessing, validating, associating or other tasks related to handling data. In the case of a social network, the Model layer would take care of tasks such as saving the user data, saving friends’ associations is correct, rules focus on comparing data against the existing state of your application and/or network. These types of rules are often referred to as ‘domain rules’ or ‘application rules’. CakePHP exposes to use more efficient storage APIs where available. For example using writeMany() save multiple network connections when using Memcached: $result = Cache::writeMany([ 'article-' . $slug => $article0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.xprocessing, validating, associating or other tasks related to handling data. In the case of a social network, the Model layer would take care of tasks such as saving the user data, saving friends’ associations is correct, rules focus on comparing data against the existing state of your application and/or network. These types of rules are often referred to as ‘domain rules’ or ‘application rules’. CakePHP exposes to use more efficient storage APIs where available. For example using writeMany() save multiple network connections when using Memcached: $result = Cache::writeMany([ 'article-' . $slug => $article,0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
processing, validating, associating or other tasks related to handling data. In the case of a social network, the Model layer would take care of tasks such as saving the user data, saving friends’ associations function($request, $handler) or classes which implement Psr\Http\Server\MiddlewareInterface instead. Network • Socket::$connected is deprecated. Use isConnected() instead. • Socket::$description is deprecated is correct, rules focus on comparing data against the existing state of your application and/or network. These types of rules are often referred to as ‘domain rules’ or ‘application rules’. CakePHP exposes0 码力 | 967 页 | 2.88 MB | 1 年前3
共 8 条
- 1













