CakePHP Cookbook Documentation 5.xWWW_ROOT Timing Definition Constants TIME_START Chronos Debug Kit Migrations ElasticSearch Appendices 5.x Migration Guide 5.0 Upgrade Guide 5.0 Migration Guide Backwards Compatibility Shimming Forwards PSR-7 Middleware that your application uses. Typically this includes error trapping and routing. 5. If no response is returned from the middleware and the request contains routing information, a controller directory of the current working directory: php composer.phar create-project --prefer-dist cakephp/app:5.* cms If you downloaded and ran the Composer Windows Installer [https://getcomposer.org/Composer-Setup0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.xCakePHP Cookbook Documentation Release 5.x Cake Software Foundation Dec 26, 2023 Contents 1 CakePHP at a Glance 1 Conventions Over Configuration . . . . . . . . . . . . . . . . . . . . . . . . . Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2 Quick Start Guide 15 Content Management Tutorial . . . . . . . . . . . . . . . . . . . . . . . Authorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 5 Contributing 81 Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 848 页 | 2.53 MB | 1 年前3
Guzzle PHP v5 Documentation. . . . . . . . . . . . . . . . . . . . . 5 1.2 Quickstart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.2.1 Making a Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.2.2 Using Responses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.2.3 Query String Parameters Send a request to https://foo.com/root $response = $client->request('GET', '/root'); 1.2. Quickstart 5 Guzzle, Release Don’t feel like reading RFC 3986? Here are some quick examples on how a base_uri is0 码力 | 49 页 | 231.08 KB | 11 月前3
Guzzle PHP v5 Documentationnew Request('GET', $uri); } }; $pool = new Pool($client, $requests(100), [ 'concurrency' => 5, 'fulfilled' => function ($response, $index) { // this is delivered each successful response the allow_redirects request option. Set to true to enable normal redirects with a maximum number of 5 redirects. This is the default setting. Set to false to disable redirects. Pass an associative array Describes the redirect behavior of a request Types bool array Default [ 'max' => 5, 'strict' => false, 'referer' => false, 'protocols' => ['http', 'https']0 码力 | 62 页 | 309.78 KB | 11 月前3
HTML 504.HTML 5 19 décembre 2023 Développement web il3 HTML5 HE-Arc 2023 DGR Exemples • Vue d’ensemble : slides1 Google 2011 ( sources2 ) – Obslolète : quota, web sql : Web Storage, application cache – html5 rocks!5 => web.dev6 – Chrome Experiments7 – MDN8 – html5 demos9 – plus de demos ?10 1https://web.archive.org/web/20140320042652/http://slides.html5rocks.com 2https://github.com/html5rocks/slides com/html5rocks/slides.html5rocks.com 3https://www.soundstep.com/blog/experiments/jsdetection/ 4https://auduno.github.io/clmtrackr/examples/facesubstitution.html 5https://www.html5rocks.com/ 6https://developers.google0 码力 | 3 页 | 29.58 KB | 1 年前3
Laravel 5.1 中文文档首先,你不再需要传递 Guard 和 Register 实例到构造函数,你可以从控制器的构造器中完 全移除这些以依赖。 本文档由 Laravel 学院(LaravelAcademy.org)提供 5 然后,Laravel 5.0 中使用的 App\Services\Registrar 不再被需要,你可以直接简单拷贝粘 贴其中的 validator 方法和 create 方法到 AuthController Slack 小组的#internals 频道讨论关于 Laravel 的 bugs、新特性、以及 如何实现已有特性等。Taylor Otwell,Laravel 的维护者,通常在工作日的上午 8 点到下午 5 点(西六区或美国芝加哥时间)在线,其它时间也可能偶尔在线。 哪个分支? 所有的 bug 修复应该被提交到最新的稳定分支,永远不要把 bug 修复提交到 master 分支, 除非它们能够修复下个发行版本中的特性。 匹配 accounts/{account_id}/detail URL }); }); 本文档由 Laravel 学院(LaravelAcademy.org)提供 23 5、防止 CSRF 攻击 5.1 简介 Laravel 使得防止应用遭到跨站请求伪造攻击变得简单。跨站请求伪造是一种通过伪装授权 用户的请求来利用授信网站的恶意漏洞。 Laravel 自动为每一个被应用管理的有效用户0 码力 | 307 页 | 3.46 MB | 1 年前3
Laravel 5.2 中文文档更多自定义认证提供者详情,请查看其对应文档。 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 5 授权 Illuminate\Auth\Access\UnauthorizedException 被重命名 为 Illuminate\Auth\Access\AuthorizationExce 小组的 #internals 频道讨论关于 Laravel 的 bugs、新特 性、以及如何实现已有特性等。Taylor Otwell,Laravel 的主要维护者,通常在工作日的 上午 8 点到下午 5 点(西六区或美国芝加哥时间)在线,其它时间也可能偶尔在线。 3、哪个分支? 所有的 bug 修复应该被提交到最新的稳定分支,永远不要把 bug 修复提交到 master 分 支,除非它们能够修复下个发行版本中的特性。 IRC 频道问一下 Taylor Otwell 4、安全漏洞 如果你在 Laravel 中发现安全漏洞,请发送邮件到 taylor@laravel.com,所有的安全漏洞将 会被及时解决。 5、编码风格 Laravel 遵循 PSR-2 编码标准和 PSR-4 自动载入标准。 DocBlocks 下面是注释示例: /** * Register a binding with0 码力 | 377 页 | 4.56 MB | 1 年前3
Laravel 5.3 中文文档............................................................................................. 92 5. HTTP 层 ........................................................................................... Updated', (e) => { 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 5 console.log(e.description); }); 为了订阅到传统频道,Laravel Echo 还使得订阅到提供谁在监听给定频道信息的已存在频道变得 不会被当作有效值,除非在约束条件中设置 包含 nullable: Validate::make($request->all(), [ 'string' => 'nullable|max:5', ]); 1.3 贡献代码 1、缺陷报告 为了鼓励促进更加有效积极的合作,Laravel 强烈鼓励使用 GitHub 的 pull requests,而不是仅仅 报告缺陷,“缺陷报告”也可以通过一个包含失败测试的0 码力 | 691 页 | 9.37 MB | 1 年前3
Laravel 5.6 中文文档optimize。 Blade 本文档由 Laravel 学院提供 Laravel 学院致力于提供优质 Laravel 中文学习资源:http://laravelacademy.org 5 HTML 实体编码 在之前版本的 Laravel 中,Blade 不会对 HTML 实体进行双重编码。这并不是底层 htmlspecialchars 函数的默认行为,而且会在渲染内容或传递内 联 称之为轻量级的开发环境。 Valet 开箱支持但不限于以下软件和工具: Laravel Lumen Bedrock CakePHP 3 Concrete5 Contao Craft Drupal Jigsaw Joomla Katana Kirby Magento 默认情况下,AppServiceProvider 是空的,这里是添加自定义启动和服务容器绑定的最佳位置,当然,对大型应用,你可能希望创建多个服务提供 者,每一个都有着更加细粒度的启动。 注:更多细节,可参考 Laravel 5.x 启动过程分析。 服务容器 简介 Laravel 服务容器是一个用于管理类依赖和执行依赖注入的强大工具。依赖注入听上去很花哨,其实质是通过构造函数或者某些情况下通过 setter0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 6.0 中文文档学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 5 * * @return void */ public function handle() { Redis::throttle('key')->block(0)->allow(1)->every (5)->then(function () { info('Lock obtained...'); '); // 处理任务... }, function () { // 无法获取到锁... return $this->release(5); }); } 而在 Laravel 6.0 中,该业务逻辑可以被提取到任务中间件中,从而 将你的任务 handle 方法从频率限制中解放出来: block(0)->allow(1)->every(5) ->then(function () use ($job, $next) { // Lock obtained... $next($job); }, function () use ($job) { // Could not obtain lock... $job->release(5); }); } } 本文档由学院君提供0 码力 | 1442 页 | 14.66 MB | 1 年前3
共 98 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10













