Learning LaravelStackOverflow Slack Community 2 Featured Tutorial 2 Contribution Guidelines 2 Contribution Style Guide 2 About Laravel 2 Main Features 2 MVC 2 Blade Templating Engine 3 Routing & Middleware 3 ORM 3 Event Handling 3 Versions 3 Examples 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 LaraDock (Laravel Homestead for Docker) 114 Installation 114 Basic Usage 115 Chapter 33: Installation Guide 116 Remarks 116 Examples 116 Installation 116 Hello World Example (Basic) 117 Hello World Example0 码力 | 216 页 | 1.58 MB | 1 年前3
Laravel 5.0 Documentation
Introduction 2. Prologue i. Release Notes i. Laravel 5.0 ii. Laravel 4.2 iii. Laravel 4.1 ii. Upgrade Guide i. Upgrading To 5.0 From 4.2 ii. Upgrading To 4.2 From 4.1 iii. Upgrading To 4.1.29 From <= 4.1 Upgrading To 4.1 From 4.0 iii. Contribution Guide i. Bug Reports ii. Core Development Discussion iii. Which Branch? iv. Security Vulnerabilities v. Coding Style 3. Setup i. Installation i. Install Composer 1 Upgrade Guide Upgrading To 5.0 From 4.2 Upgrading To 4.2 From 4.1 Upgrading To 4.1.29 From <= 4.1.x Upgrading To 4.1.26 From <= 4.1.25 Upgrading To 4.1 From 4.0 Contribution Guide Bug Reports0 码力 | 242 页 | 1.44 MB | 1 年前3
《Slides Dev Web》 10. Rwdtype : all, screen, print, tv, braille, handheld, ... 2. dans une feuille de style #nav {float: right;} #nav ul {list-style: none;} @media screen and (min-width: 400px) and (orientation: 200px; } #nav li {float: left; margin: 0 0 0 .5em; border: none;} } 3. Règle CSS import @import url(style600min.css) screen and (min-width: 600px); Media Queries6 width, height, device-width, device-height0 码力 | 7 页 | 76.36 KB | 1 年前3
《Slides Dev Web》 09. Services Web
systèmes, langages, … – Solution : Protocole générique, abstraction différences – Exemples : RPC, RMI (java), CORBA, DCOM (MS) • Utiliser les technologies du web, comme HTTP et XML : – indépendantes de la distribuées3 pour l’entreprise – Mashups4 d’applications web (exemples5) – Applications Facebook, API Google6 – IFTTT7 • Consommer un service web ≠ Créer un service web SOAP • AVANT : Simple Object Access 5https://science.howstuffworks.com/innovation/repurposed-inventions/5-web-mashups.htm 6https://developers.google.com/apis-explorer/ 7https://ifttt.com/ 8https://en.wikipedia.org/wiki/List_of_web_service_specifications0 码力 | 6 页 | 47.90 KB | 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 : typo Objets : Object Function • Particularités – Prototypes18 – Fermetures19 – Promesses20 (MDN21, Google22) Fonctions • Pas de type de retour • Possibilité de retourner ou non une valeur • Sans retour ts-for-better-productivity-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_closures0 码力 | 10 页 | 91.95 KB | 1 年前3
《Slides Dev Web》 06. HTTP & AJAX
HTTP 3.03 (2019) – UDP, correction erreur, contrôle congestion, multiplexage (0 RTT) 1https://docs.google.com/presentation/d/1eqae3OBCxwWswOsaWMAWRpqnmrVVrAfPQclfSqPkXrA/present#sl ide=id.p19 2https://caniuse d’être asynchrone ! AJAX • XHR est devenue la méthode standard jusqu’à 2018 – Popularisée par Google (GMaps, GMail, …) – Le w3c fait évoluer un draft10 depuis 2006 • Principe 1. Envoi de requête HTTP all-result 15https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching 16https://blog.teamtreehouse.com/the-definitive-guide-to-get-vs-post 7 Figure 1: “GETorPOST”0 码力 | 11 页 | 91.09 KB | 1 年前3
The Laravel Handbook
development), and much more. Here’s a 101 on Blade (for more I highly recommend the official Blade guide). In the route definition, you can pass data to a Blade template: Route::get('/test', function () the latest changes you did to the database. Find more about migrations on the official migrations guide. 7. Using forms to accept user input and store it into the database Now we’re going to create a php artisan serve if you stopped the service, and go to http://127.0.0.1:8000/newdog The style is not brilliant, but the form shows up: 31 Now back to the app/Http/Controllers/DogController0 码力 | 111 页 | 14.25 MB | 1 年前3
《Slides Dev Web》 12. Risques applicatifs
com/webauthnworks/introduction-to-webauthn-api-5fd1fb46c285 27https://fidoalliance.org/members/ 28https://webauthn.guide/ 29https://auth0.com/blog/introduction-to-web-authentication/ 30https://www.freecodecamp.org/news/intro-to-webauthn/ Protection CSRF38 en français • Utilitaires, tutos, exercices – Web Goat39 – Insecure Labs40 – Google-Gruyere41 Sources 33https://www.owasp.org/index.php/Main_Page 34https://www.youtube.com/watch?v=pHI2zitLph8 surf.html 39https://www.owasp.org/index.php/Webgoat 40https://www.insecurelabs.org/task 41https://google-gruyere.appspot.com/ 120 码力 | 12 页 | 474.37 KB | 1 年前3
Laravel 5.2 中文文档*/ public function bind($abstract, $concrete = null, $shared = false) { // } Code Style Fixer 可以使用 PHP-CS-FIXER 在代码提交前修复代码风格。 在此之前,需要安装全局工具,然后通过在项目根目录下运行如下命令检查代码风格: php-cs-fixer fix , 你还需要为应用使用的 OAuth 服务添加认证信息,这些认证信息位于配置文 件 config/services.php,而且键为 facebook, twitter,linkedin, google, github 或 bitbucket,这取决于应用需要的提供者。例如: 'github' => [ 'client_id' => 'your-github-app-id', ['name' => 'JavaScript: The Good Parts', 'pages' => 176], ['name' => 'JavaScript: The Definitive Guide', 'pages' => 10 96],]); $collection->avg('pages'); // 636 chunk() chunk 方法将一个集合分割成多个小尺寸的小集合:0 码力 | 377 页 | 4.56 MB | 1 年前3
Laravel 5.1 中文文档Laravel 中还可以使用 Laravel Socialite 通过 OAuth 提供者进行简单、方便的认证,也就是 社会化登录,目前支持使用 Facebook、Twitter、LinkedIn、Google 和 Bitbucket 进行登录 认证。 要使用社会化登录,需要在 composer.json 文件中添加依赖: composer require laravel/socialite , 你还需要为应用使用的 OAuth 服务添加认证信息,这些认证信息位于配置文件 config/services.php,而且键为 facebook, twitter,linkedin, google, github 或 bitbucket, 这取决于应用需要的提供者。例如: 'github' => [ 'client_id' => 'your-github-app-id', ['name' => 'JavaScript: The Good Parts', 'pages' => 176], ['name' => 'JavaScript: The Definitive Guide', 'pages' => 10 96], ]); $collection->sum('pages'); // 1272 此外,你还可以传递自己的回调来判断对哪些值进行求和: $collection0 码力 | 307 页 | 3.46 MB | 1 年前3
共 19 条
- 1
- 2













