 Laravel 3.2 Documentationcan either download a bundle repository to your bundles directory or use the "Artisan" command-line tool to automatically install them.  The Eloquent ORM is the most advanced PHP ActiveRecord implementation use an OR condition. 81 where_in, where_not_in, or_where_in, and or_where_not_in The suite of where_in methods allows you to easily construct queries that search an array of values: DB: array(1, 2, 3)) ->get(); where_null, where_not_null, or_where_null, and or_where_not_null The suite of where_null methods makes checking for NULL values a piece of cake: return DB::table('users')0 码力 | 139 页 | 1.13 MB | 1 年前3 Laravel 3.2 Documentationcan either download a bundle repository to your bundles directory or use the "Artisan" command-line tool to automatically install them.  The Eloquent ORM is the most advanced PHP ActiveRecord implementation use an OR condition. 81 where_in, where_not_in, or_where_in, and or_where_not_in The suite of where_in methods allows you to easily construct queries that search an array of values: DB: array(1, 2, 3)) ->get(); where_null, where_not_null, or_where_null, and or_where_not_null The suite of where_null methods makes checking for NULL values a piece of cake: return DB::table('users')0 码力 | 139 页 | 1.13 MB | 1 年前3
 《Slides Dev Web》02. Introduction aux frameworks PHP
'accueil'); $r->addRoute( 'GET', '/equipe/{slug}', 'equipe' ); }); suite) $httpMethod = $_SERVER["REQUEST_METHOD"]; $uri = $_SERVER["REQUEST_URI"]; // nettoyage de $uri spéciaux (e.g. %20) $routeInfo = $dispatcher->dispatch( $httpMethod, $uri ); suite) switch($routeInfo[0]) { case Dispatcher::NOT_FOUND: case Dispatcher::METHOD_NOT_ALLOWED: 22 /*0 码力 | 24 页 | 1.03 MB | 1 年前3 《Slides Dev Web》02. Introduction aux frameworks PHP
'accueil'); $r->addRoute( 'GET', '/equipe/{slug}', 'equipe' ); }); suite) $httpMethod = $_SERVER["REQUEST_METHOD"]; $uri = $_SERVER["REQUEST_URI"]; // nettoyage de $uri spéciaux (e.g. %20) $routeInfo = $dispatcher->dispatch( $httpMethod, $uri ); suite) switch($routeInfo[0]) { case Dispatcher::NOT_FOUND: case Dispatcher::METHOD_NOT_ALLOWED: 22 /*0 码力 | 24 页 | 1.03 MB | 1 年前3
 《Slides Dev Web》 01. Cours devweb
déployée avec tous les éléments cités plus haut testable et fonctionnel Évaluation des projets - suite • Note finale : – Code : 50% ∗ Absence bugs, qualité code, lisibilité, respect conventions et bonnes0 码力 | 7 页 | 129.56 KB | 1 年前3 《Slides Dev Web》 01. Cours devweb
déployée avec tous les éléments cités plus haut testable et fonctionnel Évaluation des projets - suite • Note finale : – Code : 50% ∗ Absence bugs, qualité code, lisibilité, respect conventions et bonnes0 码力 | 7 页 | 129.56 KB | 1 年前3
 The Laravel Handbook
some other aspects they seem more modern. It’s just a different tool. And I think as Web Developers we must know in which scenario one tool is more optimal than others. So we can make the best technical migrations folder: 25 If you open the database/database.sqlite file using a database visualization tool like TablePlus (free version, available for all operating systems) you will see the newly created inclues some classes under a “Eloquent” folder. Eloquent is an ORM (object-relational mapper), a tool that basically lets us interact with a database using a (PHP, in this case) class. The model has0 码力 | 111 页 | 14.25 MB | 1 年前3 The Laravel Handbook
some other aspects they seem more modern. It’s just a different tool. And I think as Web Developers we must know in which scenario one tool is more optimal than others. So we can make the best technical migrations folder: 25 If you open the database/database.sqlite file using a database visualization tool like TablePlus (free version, available for all operating systems) you will see the newly created inclues some classes under a “Eloquent” folder. Eloquent is an ORM (object-relational mapper), a tool that basically lets us interact with a database using a (PHP, in this case) class. The model has0 码力 | 111 页 | 14.25 MB | 1 年前3
 Laravel 5.0 Documentation
clone https://github.com/laravel/homestead.git Homestead Once you have installed the Homestead CLI tool, run the bash init.sh command to create the Homestead.yaml configuration file: bash init.sh Once the box has been added to your Vagrant installation, you are ready to install the Homestead CLI tool using the Composer global command: composer global require "laravel/homestead=~2.0" Make sure when you run the homestead command in your terminal. Once you have installed the Homestead CLI tool, run the init command to create the Homestead.yaml configuration file: homestead init The Homestead0 码力 | 242 页 | 1.44 MB | 1 年前3 Laravel 5.0 Documentation
clone https://github.com/laravel/homestead.git Homestead Once you have installed the Homestead CLI tool, run the bash init.sh command to create the Homestead.yaml configuration file: bash init.sh Once the box has been added to your Vagrant installation, you are ready to install the Homestead CLI tool using the Composer global command: composer global require "laravel/homestead=~2.0" Make sure when you run the homestead command in your terminal. Once you have installed the Homestead CLI tool, run the init command to create the Homestead.yaml configuration file: homestead init The Homestead0 码力 | 242 页 | 1.44 MB | 1 年前3
 Learning Laravelreach the controllers and can thus modify or reject requests. Artisan Artisan is the command line tool you can use to control parts of Laravel. There are a lot of commands available to create models, resources needed for development. You can also write your own commands to extend the Artisan command line tool. Eloquent ORM To connect your models to various types of databases, Laravel offers its own ORM with use site1.dev to access your application from the browser. Installation IMPORTANT!! Valet is a tool designed for macOS only. Prerequisites Valet utilizes your local machine's HTTP port (port 80),0 码力 | 216 页 | 1.58 MB | 1 年前3 Learning Laravelreach the controllers and can thus modify or reject requests. Artisan Artisan is the command line tool you can use to control parts of Laravel. There are a lot of commands available to create models, resources needed for development. You can also write your own commands to extend the Artisan command line tool. Eloquent ORM To connect your models to various types of databases, Laravel offers its own ORM with use site1.dev to access your application from the browser. Installation IMPORTANT!! Valet is a tool designed for macOS only. Prerequisites Valet utilizes your local machine's HTTP port (port 80),0 码力 | 216 页 | 1.58 MB | 1 年前3
共 6 条
- 1













