Learning Laravelright before the usual .php which is nothing other than the actual file extension. As such, .blade.php is the resulting file extension for Blade template files. Blade template engine files are stored in the connections' name mysql below: 'connections' => [ 'sqlite' => [ 'driver' => 'sqlite', 'database' => database_path('database.sqlite'), 'prefix' => '', ], 'mysql' the connection() method to tell Laravel which database connection you use: Schema::connection("sqlite")->create("table",function(Blueprint $table){ $table->increments('id'); }); Artisan Migrate0 码力 | 216 页 | 1.58 MB | 1 年前3
Laravel 3.2 Documentation......................................................................... 76 Quick Start Using SQLite ............................................................................................. 76 following goodies will help you take full advantage of Laravel, but they are not required: SQLite, MySQL, PostgreSQL, or SQL Server PDO drivers. Memcached or APC. 12 Problems? If to maintain. All views are stored within the application/views directory and use the PHP file extension. The View class provides a simple way to retrieve your views and return them to the client. Let's0 码力 | 139 页 | 1.13 MB | 1 年前3
Laravel 5.6 中文文档目录包含了应用所有的配置文件,建议通读一遍这些配置文件以便熟悉 Laravel 所有默认配置项; Database 目录 database 目录包含了数据库迁移文件及填充文件,如果有使用 SQLite 的话,你还可以将其作为 SQLite 数据库存放目录; Public 目录 public 目录包含了应用入口文件 index.php 和前端资源文件(图片、JavaScript、CSS 等),该目录也是 Apache PHP 7.1 PHP 7.0 PHP 5.6 Nginx Apache(可选) MySQL MariaDB(可选) SQLite3 PostgresSQL Composer Node(With Yarn, Bower, Grunt, and Gulp) Redis Memcached UploadedFile 类还提供了访问上传文件绝对路径和扩展名的方法。 extension 方法可以基于文件内容判断文件扩展名,该扩展名可能会和客户端提 供的扩展名不一致: $path = $request->photo->path(); $extension = $request->photo->extension(); 其他文件方法 UploadedFile 实例上还有很多其他可用方法,查看该类的0 码力 | 377 页 | 14.56 MB | 1 年前3
Laravel 6.0 中文文档目录包含了应用所有的配置文件,建议通读一遍这些配置文 件以便熟悉 Laravel 所有默认配置项。 数据库目录 database 目录包含了数据库迁移文件及填充文件,如果有使用 SQLite 的话,你还可以将其作为 SQLite 数据库存放目录。 对外公开目录 public 目录包含了应用入口文件 index.php 和前端资源文件(图 片、JavaScript、CSS 等),该目录也是 Apache PHP 7.2 PHP 7.1 PHP 7.0 PHP 5.6 Nginx MySQL lmm(用于 MySQL 或 MariaDB 数据库快照) SQLite3 PostgreSQL Composer Node(With Yarn, Bower, Grunt, and Gulp) Redis Memcached Beanstalkd UploadedFile 类还提供了访问上传文件绝对路径和扩展名的方 法。 extension 方法可以基于文件内容判断文件扩展名,该扩展名 可能会和客户端提供的扩展名不一致: $path = $request->photo->path(); $extension = $request->photo->extension(); 其他文件方法 UploadedFile 实例上还有很多其他可用方法,查看该类的0 码力 | 1442 页 | 14.66 MB | 1 年前3
CakePHP Cookbook Documentation 5.xfo', ['user' => $user]) ?> The View layer provides a number of extension points like View Templates, Elements and View Cells to let you re-use your presentation logic. provide a platform-independent way to run queries so the subtle differences between MySQL, PostgreSQL, SQLite, etc. don’t become obstacles. bin/cake bake migration CreateUsers email:string password:string higher) MariaDB (10.1 or higher) PostgreSQL (9.6 or higher) Microsoft SQL Server (2012 or higher) SQLite 3 Auth Auth has been removed. Use the cakephp/authentication [https://book.cakephp.org/authentication/2/en/index0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.xinfo', ['user' => $user]) ?> The View layer provides a number of extension points like View Templates, Elements and View Cells to let you re-use your presentation logic. provide a platform-independent way to run queries so the subtle differences between MySQL, PostgreSQL, SQLite, etc. don’t become obstacles. bin/cake bake migration CreateUsers email:string password:string created MariaDB (10.1 or higher) – PostgreSQL (9.6 or higher) – Microsoft SQL Server (2012 or higher) – SQLite 3 5.0 Migration Guide 33 CakePHP Cookbook Documentation, Release 5.x Auth • Auth has been removed0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
fo', ['user' => $user]) ?> The View layer provides a number of extension points like View Templates, Elements and View Cells to let you re-use your presentation logic. template extension has also been changed from .ctp to .php. The special extension provided no real benefit and instead required editors/IDEs to be configured to recognise files with .ctp extension as PHP anywhere else a ComparisonExpression is generated. The SQLite implementation of listTables() now returns tables and views. This change aligns SQLite with other database dialects. Datasource Switched C0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
info', ['user' => $user]) ?> The View layer provides a number of extension points like View Templates, Elements and View Cells to let you re-use your presentation logic. template extension has also been changed from .ctp to .php. The special extension provided no real benefit and instead required editors/IDEs to be configured to recognise files with .ctp extension as PHP anywhere else a ComparisonExpression is generated. • The SQLite implementation of listTables() now returns tables and views. This change aligns SQLite with other database dialects. 4.3 Migration Guide 550 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 2.x
supports a variety of database storage engines: MySQL (4 or greater) PostgreSQL Microsoft SQL Server SQLite Note All built-in drivers require PDO. You should make sure you have the correct PDO extensions CSV file for a user. By default CakePHP view files are written in plain PHP and have a default extension of .ctp (CakePHP Template). These files contain all the presentational logic needed to get the data your application. Elements live in the /app/View/Elements/ folder, and have the .ctp filename extension. They are output using the element method of the view: echo $this->element('helpbox'); Passing0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
variety of database storage engines: • MySQL (4 or greater) • PostgreSQL • Microsoft SQL Server • SQLite Note: All built-in drivers require PDO. You should make sure you have the correct PDO extensions CSV file for a user. By default CakePHP view files are written in plain PHP and have a default extension of .ctp (CakePHP Template). These files contain all the presentational logic needed to get the data your application. Elements live in the /app/View/Elements/ folder, and have the .ctp filename extension. They are output using the element method of the view: echo $this->element('helpbox'); Elements0 码力 | 820 页 | 2.52 MB | 1 年前3
共 68 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













