 Learning Laraveln https://riptutorial.com/ 13 Chapter 4: Authorization Introduction Laravel provides a simple way to authorise user actions on specific resources. With Authorization, you can selectively allow users hyphen ( - ) within the user-address view('example',['user-address' => 'Some Address']); The correct way of doing this will be view('example', ['user_address' => 'Some Address']); Control Structures Blade special @empty directive, which is executed when the array expression iterated over is empty, as a way to show default content .) @forelse($posts as $post) Learning Laraveln https://riptutorial.com/ 13 Chapter 4: Authorization Introduction Laravel provides a simple way to authorise user actions on specific resources. With Authorization, you can selectively allow users hyphen ( - ) within the user-address view('example',['user-address' => 'Some Address']); The correct way of doing this will be view('example', ['user_address' => 'Some Address']); Control Structures Blade special @empty directive, which is executed when the array expression iterated over is empty, as a way to show default content .) @forelse($posts as $post)- {{ $post }} is the post content. 0 码力 | 216 页 | 1.58 MB | 1 年前3
 Laravel 5.0 Documentation
commands for tasks that are executed synchonrously (are not queued). In fact, using commands is a great way to encapsulate complex tasks your application needs to perform. For more information, check out the Database Queue Laravel Scheduler Tinker / Psysh DotEnv Lucas. This library provides a super simple way to manage your environment configuration, and makes environment detection in Laravel 5 a breeze. For For more details, check out the full configuration documentation. Laravel Elixir, by Jeffrey Way, provides a fluent, expressive interface to compiling and concatenating your assets. If you've ever been0 码力 | 242 页 | 1.44 MB | 1 年前3 Laravel 5.0 Documentation
commands for tasks that are executed synchonrously (are not queued). In fact, using commands is a great way to encapsulate complex tasks your application needs to perform. For more information, check out the Database Queue Laravel Scheduler Tinker / Psysh DotEnv Lucas. This library provides a super simple way to manage your environment configuration, and makes environment detection in Laravel 5 a breeze. For For more details, check out the full configuration documentation. Laravel Elixir, by Jeffrey Way, provides a fluent, expressive interface to compiling and concatenating your assets. If you've ever been0 码力 | 242 页 | 1.44 MB | 1 年前3
 Laravel 3.2 DocumentationLaravel will update all of the relevant links site-wide.  Restful Controllers are an optional way to separate your GET and POST request logic. In a login example your controller's get_login() action Web applications of any shape or size can easily be created using this structure similarly to the way that they would be created in other frameworks. However due to Laravel's unique architecture, it Here's a forum post explaining how you can join us. Hanging out in the IRC channel is a really great way to learn more about web-development using Laravel. You're welcome to ask questions, answer other0 码力 | 139 页 | 1.13 MB | 1 年前3 Laravel 3.2 DocumentationLaravel will update all of the relevant links site-wide.  Restful Controllers are an optional way to separate your GET and POST request logic. In a login example your controller's get_login() action Web applications of any shape or size can easily be created using this structure similarly to the way that they would be created in other frameworks. However due to Laravel's unique architecture, it Here's a forum post explaining how you can join us. Hanging out in the IRC channel is a really great way to learn more about web-development using Laravel. You're welcome to ask questions, answer other0 码力 | 139 页 | 1.13 MB | 1 年前3
 《Slides Dev Web》02. Introduction aux frameworks PHP
%{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L,QSA] Apache le fait via mod_rewrite27 et Nginx try_files28. 27https://httpd.apache.org/docs/current/mod/mod_rewrite.html 28http://nginx.org/en/0 码力 | 24 页 | 1.03 MB | 1 年前3 《Slides Dev Web》02. Introduction aux frameworks PHP
%{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L,QSA] Apache le fait via mod_rewrite27 et Nginx try_files28. 27https://httpd.apache.org/docs/current/mod/mod_rewrite.html 28http://nginx.org/en/0 码力 | 24 页 | 1.03 MB | 1 年前3
 Laravel 5.6 中文文档Homestead 和 Valet 再去了 解。本文只探讨如何美化 URL 让其更具有可读性。 Apache 框架中自带的 public/.htaccess 文件支持隐藏 URL 中的 index.php,如过你的 Laravel 应用使用 Apache 作为服务器,需要先确保 Apache 启 用了 mod_rewrite 模块以支持 .htaccess 解析。 如果 Laravel 自带的 的话,你还可以将其作为 SQLite 数据库存放目录; Public 目录 public 目录包含了应用入口文件 index.php 和前端资源文件(图片、JavaScript、CSS 等),该目录也是 Apache 或 Nginx 等 Web 服务器所指向 的应用根目录,这样做的好处是隔离了应用核心文件直接暴露于 Web 根目录之下,如果权限系统没做好或服务器配置有漏洞的话,很可能导致应用 敏感文件被黑客窃取,进而对网站安全造成威胁; :  Ubuntu 16.04  Git  PHP 7.2  PHP 7.1  PHP 7.0  PHP 5.6  Nginx  Apache(可选)  MySQL  MariaDB(可选)  SQLite3  PostgresSQL  Composer  Node(With Yarn,0 码力 | 377 页 | 14.56 MB | 1 年前3 Laravel 5.6 中文文档Homestead 和 Valet 再去了 解。本文只探讨如何美化 URL 让其更具有可读性。 Apache 框架中自带的 public/.htaccess 文件支持隐藏 URL 中的 index.php,如过你的 Laravel 应用使用 Apache 作为服务器,需要先确保 Apache 启 用了 mod_rewrite 模块以支持 .htaccess 解析。 如果 Laravel 自带的 的话,你还可以将其作为 SQLite 数据库存放目录; Public 目录 public 目录包含了应用入口文件 index.php 和前端资源文件(图片、JavaScript、CSS 等),该目录也是 Apache 或 Nginx 等 Web 服务器所指向 的应用根目录,这样做的好处是隔离了应用核心文件直接暴露于 Web 根目录之下,如果权限系统没做好或服务器配置有漏洞的话,很可能导致应用 敏感文件被黑客窃取,进而对网站安全造成威胁; :  Ubuntu 16.04  Git  PHP 7.2  PHP 7.1  PHP 7.0  PHP 5.6  Nginx  Apache(可选)  MySQL  MariaDB(可选)  SQLite3  PostgresSQL  Composer  Node(With Yarn,0 码力 | 377 页 | 14.56 MB | 1 年前3
 Laravel 6.0 中文文档URL 调整为 伪静态 URL。 Apache 框架中自带的 public/.htaccess 文件支持隐藏 URL 中 的 index.php,如过你的 Laravel 应用使用 Apache 作为服务器, 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 35 需要先确保 Apache 启用了 mod_rewrite 模块以支 的话,你还可以将其作为 SQLite 数据库存放目录。 对外公开目录 public 目录包含了应用入口文件 index.php 和前端资源文件(图 片、JavaScript、CSS 等),该目录也是 Apache 或 Nginx 等 Web 服务器所指向的应用根目录,这样做的好处是隔离了应用核心文件直 接暴露于 Web 根目录之下,如果权限系统没做好或服务器配置有漏 洞的话,很可能导致应用敏感文件被黑客窃取,进而对网站安全造成 wp-cli 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 55 可选软件 此外,你还可以选择性安装以下软件:  Apache  Blackfire  Cassandra  Chronograf  CouchDB  Crystal & Lucky Framework  Docker  Elasticsearch0 码力 | 1442 页 | 14.66 MB | 1 年前3 Laravel 6.0 中文文档URL 调整为 伪静态 URL。 Apache 框架中自带的 public/.htaccess 文件支持隐藏 URL 中 的 index.php,如过你的 Laravel 应用使用 Apache 作为服务器, 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 35 需要先确保 Apache 启用了 mod_rewrite 模块以支 的话,你还可以将其作为 SQLite 数据库存放目录。 对外公开目录 public 目录包含了应用入口文件 index.php 和前端资源文件(图 片、JavaScript、CSS 等),该目录也是 Apache 或 Nginx 等 Web 服务器所指向的应用根目录,这样做的好处是隔离了应用核心文件直 接暴露于 Web 根目录之下,如果权限系统没做好或服务器配置有漏 洞的话,很可能导致应用敏感文件被黑客窃取,进而对网站安全造成 wp-cli 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 55 可选软件 此外,你还可以选择性安装以下软件:  Apache  Blackfire  Cassandra  Chronograf  CouchDB  Crystal & Lucky Framework  Docker  Elasticsearch0 码力 | 1442 页 | 14.66 MB | 1 年前3
 Laravel 5.1 中文文档安装完成后,你还应该配置自己的本地环境,如数据库驱动、邮箱服务器、缓存驱 动等。 2.1.4 美化 URL  Apache 框架中自带的 public/.htaccess 文件支持 URL 中隐藏 index.php,如过你的 Laravel 应用 使用 Apache 作为服务器,需要先确保 Apache 启用了 mod_rewrite 模块以支持.htaccess 解析。 如果 Laravel 自带的 将会随着对本文档的探索而不断提高。 2、生命周期概览 2.1 第一件事 Laravel 应用的所有请求入口都是 public/index.php 文件,所有请求都会被 web 服务器 (Apache/Nginx)导向这个文件。index.php 文件包含的代码并不多,但是,这里是加载框 架其它部分的起点。 index.php 文件载入 Composer 生成的自动加载设置,然后从 bootstrap/app0 码力 | 307 页 | 3.46 MB | 1 年前3 Laravel 5.1 中文文档安装完成后,你还应该配置自己的本地环境,如数据库驱动、邮箱服务器、缓存驱 动等。 2.1.4 美化 URL  Apache 框架中自带的 public/.htaccess 文件支持 URL 中隐藏 index.php,如过你的 Laravel 应用 使用 Apache 作为服务器,需要先确保 Apache 启用了 mod_rewrite 模块以支持.htaccess 解析。 如果 Laravel 自带的 将会随着对本文档的探索而不断提高。 2、生命周期概览 2.1 第一件事 Laravel 应用的所有请求入口都是 public/index.php 文件,所有请求都会被 web 服务器 (Apache/Nginx)导向这个文件。index.php 文件包含的代码并不多,但是,这里是加载框 架其它部分的起点。 index.php 文件载入 Composer 生成的自动加载设置,然后从 bootstrap/app0 码力 | 307 页 | 3.46 MB | 1 年前3
 《Slides Dev Web》 11. HTTPS
certification si autosigné) • Obtenir le certificat et la clé privée du serveur • Configurer httpd. Pour Apache : – virtual host (port 443), ssl.conf, (ports.conf) • Création de l’arborescence sécurisée • Démarrage0 码力 | 6 页 | 109.17 KB | 1 年前3 《Slides Dev Web》 11. HTTPS
certification si autosigné) • Obtenir le certificat et la clé privée du serveur • Configurer httpd. Pour Apache : – virtual host (port 443), ssl.conf, (ports.conf) • Création de l’arborescence sécurisée • Démarrage0 码力 | 6 页 | 109.17 KB | 1 年前3
 《Slides Dev Web》 03. Laravel
com:bastian/raidit.git $git push --set-upstream origin master • Penser à ajouter sa clé publique à Github Apache • Virtual hosts – http-vhosts.conf (activer dans httpd.conf) – Un par site – Pointer dans /public0 码力 | 8 页 | 224.34 KB | 1 年前3 《Slides Dev Web》 03. Laravel
com:bastian/raidit.git $git push --set-upstream origin master • Penser à ajouter sa clé publique à Github Apache • Virtual hosts – http-vhosts.conf (activer dans httpd.conf) – Un par site – Pointer dans /public0 码力 | 8 页 | 224.34 KB | 1 年前3
 《Slides Dev Web》 06. HTTP & AJAX
[CRLF] • Réponse HTTP Status Code: HTTP/1.1 302 Found Date: Mon, 16 Nov 2009 08:01:35 GMT Server: Apache Location: http://www.sbb.ch/fr/ 2 Content-Length: 205 Connection: close Content-Type: text/html;0 码力 | 11 页 | 91.09 KB | 1 年前3 《Slides Dev Web》 06. HTTP & AJAX
[CRLF] • Réponse HTTP Status Code: HTTP/1.1 302 Found Date: Mon, 16 Nov 2009 08:01:35 GMT Server: Apache Location: http://www.sbb.ch/fr/ 2 Content-Length: 205 Connection: close Content-Type: text/html;0 码力 | 11 页 | 91.09 KB | 1 年前3
共 13 条
- 1
- 2













