The Laravel Handbook
Handbook 0. Table of contents 0. Table of contents 1. Introduction to Laravel 2. Getting started 3. Blade 4. Dynamic routes 5. Adding a database 6. How to use migrations to create and modify the database here I recommend you install the extensions Laravel Extra Intellisense Laravel Artisan Laravel Blade Snippets PHP tools for VS Code We have a bunch of folders and a bunch of files. The first thing applications. In this case the welcome view is defined in the file resources/views/welcome.blade.php : You can clear all the content of this file, and typetest
into it. Save (cmd-s0 码力 | 111 页 | 14.25 MB | 1 年前3Learning Laravel
Contribution Guidelines 2 Contribution Style Guide 2 About Laravel 2 Main Features 2 MVC 2 Blade Templating Engine 3 Routing & Middleware 3 Artisan 3 Eloquent ORM 3 Event Handling 3 Versions 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 structure of the application. Blade Templating Engine Laravel is shipped with a templating engine known as Blade. Blade is quite easy to use, yet, powerful. One feature the Blade templating engine does not0 码力 | 216 页 | 1.58 MB | 1 年前3Laravel 5.0 Documentation
Data iv. Database Sessions v. Session Drivers xx. Templates i. Blade Templating ii. Other Blade Control Structures iii. Extending Blade xxi. Unit Testing i. Introduction ii. Defining & Running Tests For better security by default, Laravel 5.0 escapes all output from both the {{ }} and {{{ }}} Blade directives. A new {!! !!} directive has been introduced to display raw, unescaped output. The most you must use the old Blade syntax, add the following lines at the bottom of AppServiceProvider@register : \Blade::setRawTags('{{', '}}'); \Blade::setContentTags('{{{', '}}}'); \Blade::setEscapedContentTags('{{{'0 码力 | 242 页 | 1.44 MB | 1 年前3Laravel 3.2 Documentation
generic error page. Upgrading From 3.2.6 Replace the laravel folder. Laravel 3.2.6 Revert Blade code back to 3.2.3 tag. Upgrading From 3.2.5 Replace the laravel folder. Laravel 3.2.5 Added unless structure to Blade template engine. Added Blade comments. Added simpler environment management. Added Blade::extend() method to define custom blade compilers. Added View::exists config/application.php .. 'Profiler' => 'Laravel\\Profiling\\Profiler', Add the following code above Blade::sharpen() in application/start.php .. if (Config::get('application.profiler')) { Profiler::attach();0 码力 | 139 页 | 1.13 MB | 1 年前3《Slides Dev Web》 03. Laravel
RESTful • ORM (Eloquent, implémentation du pattern Active Record) • Migrations • Moteur de templates (Blade) • Pagination • Authentification, sessions • Mail • Tests unitaires • Extensible par packages8 (bundles) Architecture MVC • Structure d’une appli web = cycle Requête/Reponse9 • Modèle : Eloquent ORM • Vue : Blade Engine • Contrôleur : hérite de BaseController Pratique • Conventions de codage : Laravel respecte action : index – Ajouter la route correspondante : /test/index . . . • Vues32 – Ajouter une vue Blade (.blade.php) – Afficher cette vue dans l’action index 29https://laravel.com/docs/master/artisan 30https://laravel0 码力 | 8 页 | 224.34 KB | 1 年前3《Slides Dev Web》02. Introduction aux frameworks PHP
créer sa glue ou même ses outils propres. Liens avec Laravel • Modèle MVC • Templates utilisant blade. • ORM nommé Eloquent. • Front-Controller (Illuminate\Routing) • Bibliothèques … (Illuminate\*) •0 码力 | 24 页 | 1.03 MB | 1 年前3Mypy 1.8.0 Documentation
a fixed schema, such as {'id': 1, 'items': ['x']}. Here is a typical example: movie = {'name': 'Blade Runner', 'year': 1982} Only a fixed set of string keys is expected ('name' and 'year' above), and import TypedDict Movie = TypedDict('Movie', {'name': str, 'year': int}) movie: Movie = {'name': 'Blade Runner', 'year': 1982} Movie is a TypedDict type with two items: 'name' (with type str) and 'year'0 码力 | 234 页 | 902.89 KB | 1 年前3Mypy 1.10.0+dev Documentation
a fixed schema, such as {'id': 1, 'items': ['x']}. Here is a typical example: movie = {'name': 'Blade Runner', 'year': 1982} Only a fixed set of string keys is expected ('name' and 'year' above), and import TypedDict Movie = TypedDict('Movie', {'name': str, 'year': int}) movie: Movie = {'name': 'Blade Runner', 'year': 1982} Movie is a TypedDict type with two items: 'name' (with type str) and 'year'0 码力 | 318 页 | 270.84 KB | 1 年前3Mypy 1.8.0 Documentation
a fixed schema, such as {'id': 1, 'items': ['x']}. Here is a typical example: movie = {'name': 'Blade Runner', 'year': 1982} Only a fixed set of string keys is expected ('name' and 'year' above), and import TypedDict Movie = TypedDict('Movie', {'name': str, 'year': int}) movie: Movie = {'name': 'Blade Runner', 'year': 1982} Movie is a TypedDict type with two items: 'name' (with type str) and 'year'0 码力 | 318 页 | 271.55 KB | 1 年前3Mypy 1.10.0+dev Documentation
a fixed schema, such as {'id': 1, 'items': ['x']}. Here is a typical example: movie = {'name': 'Blade Runner', 'year': 1982} Only a fixed set of string keys is expected ('name' and 'year' above), and import TypedDict Movie = TypedDict('Movie', {'name': str, 'year': int}) movie: Movie = {'name': 'Blade Runner', 'year': 1982} 1.17. TypedDict 103 Mypy Documentation, Release 1.10.0+dev.790e8a73d86710 码力 | 234 页 | 913.89 KB | 1 年前3
共 22 条
- 1
- 2
- 3