《Slides Dev Web》02. Introduction aux frameworks PHP
afin d'aller vers un plus interopérable. Durant ce cours, nous allons vous embêter avec PSR-1, PSR-2 et PSR-4. ## Quiz Qui est qui? oOops, ceci n'a rien à voir avec le cours. ; $promise = $client->sendAsync($request)->then(function sink ○ ssl_key ○ stream ○ synchronous verify. ◦ timeout ○ version • Guzzle and PSR-7 o Headers ■ Accessing Headers ■ Complex Headers ○ Body. ○ Requests ■ Request Methods ■0 码力 | 62 页 | 309.78 KB | 1 年前3
Laravel 5.1 中文文档1.4 Laravel 5.1.4 将登录次数限制引入框架,更多详情请参考认证限制一节。 ### Laravel 5.1 Laravel 5.1 在 5.0 的基础上继续进行优化和提升,接受 PSR-2 代码风格,新增事件广播机制,中间件参数,Artisan 优化,等等。 #### PHP 5.5.9+ 由于 PHP 5.4 将会在今年 9 月份“寿终正寝”,并且 PHP 开发组不会再提供安全更新,Laravel 修复和安全修复,这是迄今为止,Laravel 提供的最大跨度的支持,并且将会持续为更多的企业用户及普通用户提供稳定平滑的支持。 ## PSR-2 PSR-2 代码风格指南已经被 Laravel 框架采取为默认风格指南,此外,所有代码生成器已经被更新到生成兼容 PSR-2 语法的代码。 ## 文档 Laravel 文档的每一个页面都进行了一丝不苟的审查和引人注目的优化,所有代码示例都被审查并且扩展到更好的支持上下文相关性。 ## 安全漏洞 如果你在 Laravel 中发现安全漏洞,请发送邮件到 taylor@laravel.com,所有的安全漏洞将会被及时解决。 ## 编码风格 Laravel 遵循 PSR-2 编码标准和 PSR-4 自动载入标准。 ## 二、 开始 ## 安装及配置 ## 1、 安装 ### 1.1 服务器要求 Laravel 框架有少量的系统要求,当然,Laravel Homestead0 码力 | 307 页 | 3.46 MB | 2 年前3
Guzzle PHP 7.0 Documentationasynchronous requests using the same interface. - Uses PSR-7 interfaces for requests, responses, and streams. This allows you to utilize other PSR-7 compatible libraries with Guzzle. - Abstracts away the // {"type":"User..."} // Send an asynchronous request. $request = new \GuzzleHttp\Psr7\Request('GET', 'http://httpbin.org'); $promise = $client->sendAsync($request)->then(function sink ○ ssl_key ○ stream o synchronous o verify. ◦ timeout ○ version • Guzzle and PSR-7 o Headers ■ Accessing Headers ■ Complex Headers o Body. Requests ■ Request Methods ■ Request0 码力 | 64 页 | 310.93 KB | 1 年前3
性感的PHP - 现代化高性能的PHP开发## 性感的PHP ——现代化高性能的PHP开发 商业产品事业部 主讲:谈腾 ## 主要内容 命名空间 • PSR规范 - 闭包和匿名函数 • Trait • Composer包管理器 • 语法新特性 PHP 7性能 Laravel框架介绍 ## 全面的PHP技术堆栈 PHP php ; $promise = $client->sendAsync($request)->then(function sink ○ ssl_key. ○ stream o synchronous o verify. ◦ timeout ○ version • Guzzle and PSR-7 o Headers ■ Accessing Headers ■ Complex Headers ○ Body. ○ Requests ■ Request Methods ■0 码力 | 65 页 | 311.42 KB | 1 年前3
Guzzle PHP 6.5 Documentation1.3.27 synchronous 28 1.3.28 verify 28 1.3.29 timeout 29 1.3.30 version 30 1.4 Guzzle and PSR-7 30 1.4.1 Headers 31 1.4.2 Body 32 1.4.3 Requests 32 1.4.4 Responses 34 1.4.5 Streams 34 asynchronous requests using the same interface. • Uses PSR-7 interfaces for requests, responses, and streams. This allows you to utilize other PSR-7 compatible libraries with Guzzle. • Abstracts away the $res->双语Body(); // {type:"User"...} // Send an asynchronous request. $request = new \GuzzleHttp\Psr7\Request('GET', 'http://httpbin.org'); $promise = $client->sendAsync($request)->then(function0 码力 | 50 页 | 237.04 KB | 1 年前3
Guzzle PHP 7.0 Documentation1.3.27 synchronous 28 1.3.28 verify 28 1.3.29 timeout 29 1.3.30 version 29 1.4 Guzzle and PSR-7 30 1.4.1 Headers 30 1.4.2 Body 31 1.4.3 Requests 32 1.4.4 Responses 33 1.4.5 Streams 34 asynchronous requests using the same interface. • Uses PSR-7 interfaces for requests, responses, and streams. This allows you to utilize other PSR-7 compatible libraries with Guzzle. • Abstracts away the $res->双语Body(); // {type:"User"...} // Send an asynchronous request. $request = new \GuzzleHttp\Psr7\Request('GET', 'http://httpbin.org'); $promise = $client->sendAsync($request)->then(function0 码力 | 50 页 | 235.39 KB | 1 年前3
Guzzle PHP v5 Documentation1.3.26 synchronous 27 1.3.27 verify 27 1.3.28 timeout 28 1.3.29 version 28 1.4 Guzzle and PSR-7 29 1.4.1 Headers 29 1.4.2 Body 30 1.4.3 Requests 31 1.4.4 Responses 32 1.4.5 Streams 33 asynchronous requests using the same interface. • Uses PSR-7 interfaces for requests, responses, and streams. This allows you to utilize other PSR-7 compatible libraries with Guzzle. • Abstracts away the $res->getBody(); // {type:"User"...} // Send an asynchronous request. $request = new \GuzzleHttp\Psr7\Request('GET', 'http://httpbin.org'); $promise = $client->sendAsync($request)->then(function0 码力 | 49 页 | 231.08 KB | 1 年前3
CakePHP Cookbook 4.x
Authentication and APIs Testing Actions Protected by CsrfComponent or SecurityComponent Integration Testing PSR-7 Middleware Testing with Encrypted Cookies Testing Flash Messages Testing a JSON Responding Your application’s middleware is initialized. 4. A request and response is dispatched through the PSR-7 Middleware that your application uses. Typically this includes error trapping and routing. 5. If Routes. ## File and Class Name Conventions In general, filenames match the class names, and follow the PSR-4 standard for autoloading. The following are some examples of class names and their filenames: -0 码力 | 1249 页 | 1.04 MB | 2 年前3
共 45 条
- 1
- 2
- 3
- 4
- 5
相关搜索词
framework PHPComposerTwigPSRPHPGuzzleHTTP clientPSR-7Synchronous/asynchronous requestsMiddleware systemLaravel 5.1PSR-2缓存事件广播中间件参数异步请求请求处理中间件PHP 7性能Laravel框架Composer包管理器PSR规范Traits同步和异步请求PSR-7接口中间件系统环境无关性requestresponsePHP 7.0Request optionsException handlingResponseStreamHandlerMiddlewareClientCakePHPMigration GuideController LayerModel LayerORM













