 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 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.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.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.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.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.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.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 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 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
 Learning LaravelExamples 4 Welcome to Laravel tag documentation! 4 Starter Guide 4 Getting Started 4 Laravel Views 5 Chapter 2: Artisan 6 Syntax 6 Parameters 6 Examples 8 Introduction 8 List all registered routes Actions with Gates 14 Policies 15 Writing Policies 15 Authorizing Actions with Policies 15 Chapter 5: Blade Templates 17 Introduction 17 Examples 17 Views: Introduction 17 Control Structures 18 Conditionals ModelFactories to generate Seeds 62 Chapter 19: Deploy Laravel 5 App on Shared Hosting on Linux Server 65 Remarks 65 Examples 65 Laravel 5 App on Shared Hosting on Linux Server 65 Chapter 20: Directory0 码力 | 216 页 | 1.58 MB | 1 年前3 Learning LaravelExamples 4 Welcome to Laravel tag documentation! 4 Starter Guide 4 Getting Started 4 Laravel Views 5 Chapter 2: Artisan 6 Syntax 6 Parameters 6 Examples 8 Introduction 8 List all registered routes Actions with Gates 14 Policies 15 Writing Policies 15 Authorizing Actions with Policies 15 Chapter 5: Blade Templates 17 Introduction 17 Examples 17 Views: Introduction 17 Control Structures 18 Conditionals ModelFactories to generate Seeds 62 Chapter 19: Deploy Laravel 5 App on Shared Hosting on Linux Server 65 Remarks 65 Examples 65 Laravel 5 App on Shared Hosting on Linux Server 65 Chapter 20: Directory0 码力 | 216 页 | 1.58 MB | 1 年前3
 Laravel 5.0 Documentation
Redirects iii. Other Responses iv. Response Macros vi. Views i. Basic Usage ii. View Composers 5. Architecture Foundations i. Service Providers i. Introduction ii. Basic Provider Example iii. Registering speed up this portion of your application. In addition to Laravel 4 style route "filters", Laravel 5 now supports HTTP middleware, and the included authentication and CSRF "filters" have been converted check out the full documentation. In addition to the queue job format supported in Laravel 4, Laravel 5 allows you to represent your queued jobs as simple command objects. These commands live in the app/Commands0 码力 | 242 页 | 1.44 MB | 1 年前3 Laravel 5.0 Documentation
Redirects iii. Other Responses iv. Response Macros vi. Views i. Basic Usage ii. View Composers 5. Architecture Foundations i. Service Providers i. Introduction ii. Basic Provider Example iii. Registering speed up this portion of your application. In addition to Laravel 4 style route "filters", Laravel 5 now supports HTTP middleware, and the included authentication and CSRF "filters" have been converted check out the full documentation. In addition to the queue job format supported in Laravel 4, Laravel 5 allows you to represent your queued jobs as simple command objects. These commands live in the app/Commands0 码力 | 242 页 | 1.44 MB | 1 年前3
 《Slides Dev Web》 01. Cours devweb
Présentation du cours HE-Arc 2023/24 DGR et YBL Programme • Frameworks MVC : Laravel, Django, … • HTML5 : vue d’ensemble • Javascript : VueJS, Node.js, jQuery, AJAX, JSON, … • Déploiement et configuration Automatisation du déploiement (R. Emourgeon4) ? – Vos présentations ? Vos propositions ? • Support : ghpages5 (source6), partage fichiers : teams7 Projets • Faire pour apprendre • Les rôles dans une équipe de 2https://www.alinekeller.ch 3http://www.matthieuamiguet.ch/ 4https://www.linkedin.com/in/raphaelemourgeon/ 5https://he-arc.github.io/slides-devweb/ 6https://github.com/HE-Arc/slides-devweb/tree/master/src 7https://teams0 码力 | 7 页 | 129.56 KB | 1 年前3 《Slides Dev Web》 01. Cours devweb
Présentation du cours HE-Arc 2023/24 DGR et YBL Programme • Frameworks MVC : Laravel, Django, … • HTML5 : vue d’ensemble • Javascript : VueJS, Node.js, jQuery, AJAX, JSON, … • Déploiement et configuration Automatisation du déploiement (R. Emourgeon4) ? – Vos présentations ? Vos propositions ? • Support : ghpages5 (source6), partage fichiers : teams7 Projets • Faire pour apprendre • Les rôles dans une équipe de 2https://www.alinekeller.ch 3http://www.matthieuamiguet.ch/ 4https://www.linkedin.com/in/raphaelemourgeon/ 5https://he-arc.github.io/slides-devweb/ 6https://github.com/HE-Arc/slides-devweb/tree/master/src 7https://teams0 码力 | 7 页 | 129.56 KB | 1 年前3
 《Slides Dev Web》02. Introduction aux frameworks PHP
dispatch des requêtes grâce aux routes – (bootstrap, ré-écriture des URL, …) • Object Relational Mapping5 – Active Record, Table Data Gateway, Data Mapper, … • UI Patterns6 MVC for webdev Conventions • ou non, mais RECOMMANDEES dans tous les cas 4http://martinfowler.com/bliki/InversionOfControl.html 5https://web.archive.org/web/20160316065751/http://blog.mazenod.fr/2010/01/design-pattern-mvc-zoom-sur-la- • Connecteurs aux webservices 7https://12factor.net/ 8https://12factor.net/fr/ 4 Figure 2: SEO 5 • Captchas • Loggers • … Exemple d’architecture : Laravel Figure 3: Archi Ce schéma est clair mais0 码力 | 24 页 | 1.03 MB | 1 年前3 《Slides Dev Web》02. Introduction aux frameworks PHP
dispatch des requêtes grâce aux routes – (bootstrap, ré-écriture des URL, …) • Object Relational Mapping5 – Active Record, Table Data Gateway, Data Mapper, … • UI Patterns6 MVC for webdev Conventions • ou non, mais RECOMMANDEES dans tous les cas 4http://martinfowler.com/bliki/InversionOfControl.html 5https://web.archive.org/web/20160316065751/http://blog.mazenod.fr/2010/01/design-pattern-mvc-zoom-sur-la- • Connecteurs aux webservices 7https://12factor.net/ 8https://12factor.net/fr/ 4 Figure 2: SEO 5 • Captchas • Loggers • … Exemple d’architecture : Laravel Figure 3: Archi Ce schéma est clair mais0 码力 | 24 页 | 1.03 MB | 1 年前3
共 22 条
- 1
- 2
- 3













