Laravel 5.1 中文文档翻译文件 用于为 vendor 包发布语言文件的默认目录做了移动,所有 vendor 包语言文件从 resources/lang/packages/{locale}/{namespace}移动到了 resources/lang/vendor/{namespace}/{locale}目录。例如,Acme/Anvil 包的 acme/anvil::foo 英语语言文件将会从 resources/la Homestead.yaml 文件中还要配置公共 SSH key 的路径,如果没有 SSH key,那么在 Mac 或 Linux 上,可以通过如下命令来生成: ssh-keygen -t rsa -C "you@homestead" 在 Windows 上,可以安装 Git 然后使用 Git 自带的“Git Bash”来执行上述命令。除此之外, 你还可以使用 PUTTY 和 PUTTYgen 工具来生成 站点中的域名添加到本地机器上的 hosts 文件,该文件会将对本地域名的 请求重定向到 Homestead 环境,在 Mac 或 Linux 上,该文件位于/etc/hosts,在 Windows 上,位于 C:\Windows\System32\drivers\etc\hosts,添加方式如下: 192.168.10.10 homestead.app 确保 IP 地址和你的 Homestead.yaml0 码力 | 307 页 | 3.46 MB | 1 年前3
Laravel 6.0 中文文档Laravel 中文学习资源:https://xueyuanjun.com 46 resources 目录包含了应用视图文件和未编译的原生前端资源文件 (LESS、SASS、JavaScript),以及本地化语言文件; 路由目录 routes 目录包含了应用定义的所有路由。Laravel 默认提供了四个 路由文件用于给不同的入口使用:web.php、 api.php、 console.php 和 channels Homestead.yaml file, the path to your priva te key does not exist. 解决办法如下: ssh-keygen -t rsa -b 4096 -C "your_email@example.com" eval "$(ssh-agent -s)" ssh-add -K ~/.ssh/id_rsa 再次运行上述命令即可添加成功: 安装 Homestead /home/vagrant/project1 注:map 表示宿主机 Web 项目根目录,to 表示映射到 的虚拟机 Web 项目根目录,Windows 下需要将 ~ 替换 成完整的目录路径,比 如 C:\Users\user\Code\project1。 你需要将每个项目映射自己的对应目录而不是映射整个 ~/code 目 录: folders: 本文档由学院君提供 学院君致力于提供优质 Laravel0 码力 | 1442 页 | 14.66 MB | 1 年前3
Laravel 5.2 中文文档= Validator::make($request->all(), [ 'person.*.email' => 'email|unique:users' ]); 同样,你可以在语言文件中使用 * 来指定验证数组字段: 'custom' => [ 'person.*.email' => [ 'unique' => 'Each person must 站点配置中的域名添加到本地机器上的 hosts 文件中,该文件会将对 本地域名的请求重定向到 Homestead 虚拟机,在 Mac 或 Linux 上,该文件位 于 /etc/hosts,在 Windows 上,位于 C:\Windows\System32\drivers\etc\hosts,添加 方式如下: 192.168.10.10 homestead.app 确保 IP 地址和你的 Homestead.yaml \Authenticate::class, 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::c lass, 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 33 'guest'0 码力 | 377 页 | 4.56 MB | 1 年前3
Laravel 5.6 中文文档敏感文件被黑客窃取,进而对网站安全造成威胁; Resources 目录 resources 目录包含了应用视图文件和未编译的原生前端资源文件(LESS、SASS、JavaScript),以及本地化语言文件; Routes 目录 routes 目录包含了应用定义的所有路由。Laravel 默认提供了四个路由文件用于给不同的入口使用:web.php、 api.php、 console.php Homestead.yaml file, the path to your private key does not exist. 解决办法如下: ssh-keygen -t rsa -b 4096 -C "your_email@example.com" eval "$(ssh-agent -s)" ssh-add -K ~/.ssh/id_rsa 再次运行上述命令即可添加成功: 安装 站点配置中的域名添加到本地机器上的 hosts 文件中,该文件会将对本地域名的请求重定向到 Homestead 虚拟机,在 Mac 或 Linux 上,该文件位于 /etc/hosts,在 Windows 上,位于 C:\Windows\System32\drivers\etc\hosts,添加方式如下: 192.168.10.10 homestead.test 确保 IP 地址和你的 Homestead.yaml0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 5.3 中文文档注:预计升级升级时间:2-3 小时 PHP & HHVM Laravel 5.3 要求 PHP 5.6.4 及以上版本,官方将不再支持 HHVM,因为其不包含 PHP 5.6+新提供 的语言特性。 废弃 所有罗列在 Laravel 5.2 升级指南中的废弃功能都已从框架中移除,你需要查看这个列表以确定不 再使用这些废弃功能。 数组 key/value 顺序更改 Arr 站点配置中的域名添加到本地机器上的 hosts 文件中,该文件会将对本地域 名的请求重定向到 Homestead 虚拟机,在 Mac 或 Linux 上,该文件位于 /etc/hosts,在 Windows 上,位于 C:\Windows\System32\drivers\etc\hosts,添加方式如下: 192.168.10.10 homestead.app 本文档由 Laravel 学院(LaravelAcademy org)提供 Laravel 学院致力于提供优质 Laravel 中文学习资源 67 入剪贴板,以便你直接复制到浏览器地址栏,就是这么简单。 要停止共享站点,使用 Control + C 即可。 5、查看日志 如果你想要在终端显示所有站点的日志,可以运行 valet logs 命令,这会在终端显示新的日志。 6、自定义 Valet 驱动 你还可以编写自定义的 Valet0 码力 | 691 页 | 9.37 MB | 1 年前3
《Slides Dev Web》02. Introduction aux frameworks PHP
Model View Controller – M : Accès aux données, logique métier – V : Templates des pages à générer – C : Orchestration, transfert des infos • Front Controller – Traitement et dispatch des requêtes grâce la page générée à partir de la vue, et c’est lui qui renvoie le HTML (objet Response) au client. Performance • Un framework web est lent : – Rendu d’une page nécéssite de traverser tout le code – Pour y en a-t-il tant? L’explication donnée par Joe Gregorio pour le langage Python9 est : « parce que c’est facile. » Dans les faits, cela montre également une maturité de la plateforme. There are people0 码力 | 24 页 | 1.03 MB | 1 年前3
《Slides Dev Web》 05. JavaScript & DOM
généraliste (paquets npm) Caractéristiques du langage • Orienté Objet par prototype • Syntaxe proche de C, Java • Faiblement typé : – Pas de déclaration, type déterminé par la dernière affectation – Risque -ultimate-list/ 18https://developer.mozilla.org/fr/docs/Web/JavaScript/Guide/Le_mod%C3%A8le_objet_JavaScript_en_d%C3%A9tai ls 19http://www.w3schools.com/js/js_function_closures.asp 20https://www.promisejs JSFiddle40 – JSLint41 Sources 34https://developer.mozilla.org/fr/docs/Web/JavaScript/Une_r%C3%A9introduction_%C3%A0_JavaScript 35https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f0 码力 | 10 页 | 91.95 KB | 1 年前3
《Slides Dev Web》 12. Risques applicatifs
des développeurs : – OS, serveurs, langages : patches rapidement disponibles – nos applications : c’est nous qui en sommes responsables OWASP1 • Open Web Application Security Project 1https://owasp du logiciel 9. Carences des systèmes de contrôle et de journalisation 10. Falsification de requêtes côté serveur • Non exhaustif : ex. : risques liés à Node JS9 Injection de code • Données mal validées 15https://onlineunicodetools.com/spoof-unicode-text 16https://www.shodan.io/ 5 • Buffer Overflows (surtout en C) • Trojans, backdoors • Usurpation de mots de passe : dictionnaire, force brute • SOCIAL ENGINEERING0 码力 | 12 页 | 474.37 KB | 1 年前3
Learning Laravelis applied by default within the RouteServiceProvider ( https://github.com/laravel/laravel/commit/5c30c98db96459b4cc878d085490e4677b0b67ed) In app/Providers/RouteServiceProvider.php you will find the following $request * @param \Closure $next * @param string [$checkWhitelist] true or false Is a string b/c of the way the arguments are supplied. * @return mixed */ public function handle($request development machine) in the laravel folder (on server host - shared hosting account). You can use: C-panel : which would be the slowest option • FTP Client: like FileZilla to connect to you shared hosting0 码力 | 216 页 | 1.58 MB | 1 年前3
《Slides Dev Web》 08 . RSShttps://intranet.he-arc.ch/sites/ingenierie/ Bachelor_Modules_Annees_Fich/12-13/Niveau-3/ ING-DM3254-12-D%C3%A9veloppement%20web%20et%20mobile-V1.docxUn nouveau cours Mon https://intranet.he-arc.ch/sites/ingenierie/ Bachelor_Modules_Annees_Fich/12-13/Niveau-3/ ING-DM3254-12-D%C3%A9veloppement%20web%20et%20mobile-V1.docx http://dgr.he-arc.ch/atom/1234 href="http://www.site.tld/feed">
• Valider un flux – w3c5 – feedvalidator6 • MIME Types – application/atom+xml – application/rss+xml 5https://validator.w30 码力 | 7 页 | 52.98 KB | 1 年前3
共 15 条
- 1
- 2













