CakePHP Cookbook 2.x
snippets 3. Scaffolding: Prototyping before creating code 4. Code Generation with Bake: Generating basic CRUD code 5. Simple Authentication and Authorization Application: User authentication and authorization [https://en.wikipedia.org/wiki/MIT_License] Compatible with versions PHP 5.2.8 and greater Integrated CRUD [https://en.wikipedia.org/wiki/Create,_read,_update_and_delete] for database interaction Application controller, you’re up and running. CakePHP’s scaffolding is pretty cool. It allows you to get a basic CRUD application up and going in minutes. It’s so cool that you’ll want to use it in production apps. Now0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
3. Scaffolding: Prototyping before creating code 4. Code Generation with Bake: Generating basic CRUD code 5. Simple Authentication and Authorization Application: User authentication and authorization Release 2.x • Flexible licensing27 • Compatible with versions PHP 5.2.8 and greater • Integrated CRUD28 for database interaction • Application scaffolding29 • Code generation • MVC30 architecture controller, you’re up and running. CakePHP’s scaffolding is pretty cool. It allows you to get a basic CRUD application up and going in minutes. It’s so cool that you’ll want to use it in production apps. Now0 码力 | 820 页 | 2.52 MB | 1 年前3
Learning Laravel)->except('store'); } } Resource Controller Laravel resource routing assigns the typical "CRUD" routes to a controller with a single line of code. For example, you may wish to create a controller will create the file app/Http/Controllers/HelloController.php. The --resource option will generate CRUD methods for the controller, e.g. index, create, show, update. Register a route to HelloController's here Laravel generator Get your APIs and Admin Panel ready in minutes.Laravel Generator to generate CRUD, APIs, Test Cases and Swagger Documentation Read more about this here Laravel Socialite Laravel0 码力 | 216 页 | 1.58 MB | 1 年前3
Laravel 5.3 中文文档function($join) { $join->on('foo', 'bar')->where('bar', 'baz'); }); $bindings 属性也被移除,要直接操作 join 绑定可以使用 addBinding 方法: $query->join(DB::raw('('.$subquery->toSql().') table'), function($join) 中文学习资源 48 法只是将异常传递给异常被记录的基类,当然你也可以按自己的需要记录异常并进行相关处理。 例如,如果你需要以不同方式报告不同类型的异常,可使用 PHP 的 instanceof 比较操作符: /** * 报告或记录异常 * * This is a great spot to send exceptions to Sentry, Bugsnag, etc. (Vagrant 提供了一个便捷的方式来管理和设置虚拟机),该盒子为我们提供了优秀的开发环境, 有了它,我们不再需要在本地环境安装 PHP、HHVM、Web 服务器以及其它工具软件,我们也完 全不用再担心误操作搞乱操作系统 —— 因为 Vagrant 盒子是一次性的,如果出现错误,可以在 本文档由 Laravel 学院(LaravelAcademy.org)提供 Laravel 学院致力于提供优质0 码力 | 691 页 | 9.37 MB | 1 年前3
Laravel 5.6 中文文档try_files $uri $uri/ /index.php?$query_string; } 当然,使用 Homestead 或 Valet 的话,以上配置已经为你配置好,无需额外操作。 环境配置 基于应用运行的环境不同设置不同的配置值能够给我们开发带来极大的方便,比如,我们通常在本地和线上环境配置不同的缓存驱动,这一功能在 Laravel 中很容易实现。 Laravel 该盒子为我们提供了一个优秀的开发环境,有了它,我们不再需要在本地环境安装 PHP、Composer、Nginx、MySQL、Memcached、Redis、Node 等其它工具软件,我们也完全不用再担心误操作搞乱操作系统 —— 因为 Vagrant 盒子是一次性的,如果出现错误,可以在数分钟内销毁并重新创 建该 Vagrant 盒子! 为什么说它是重量级的开发环境呢?谁用谁知道,要使用上这个开发环境,你需要安装 来开启。如果你是在 UEFI 系统上使用 Hyper-V,则 需要关闭 Hyper-V 以便可以访问 VT-x。 预装软件 Homestead 可以运行在 Windows、Mac 以及 Linux 等主流操作系统上,预装的软件和工具列表如下: Ubuntu 16.04 Git PHP 7.2 PHP 7.1 PHP 7.0 PHP 5.6 0 码力 | 377 页 | 14.56 MB | 1 年前3
CakePHP Cookbook 3.x
been removed from CakePHP core. An improved scaffolding plugin, named CRUD, can be found here: https://github.com/FriendsOfCake/crud The Controller::$ext property has been removed. You now have to extend never intended for production use. An improved scaffolding plugin, named CRUD, can be found here: https://github.com/FriendsOfCake/crud ComponentCollection Replaced This class has been renamed to Cake\C a powerful code generation CLI tool that leverages the conventions CakePHP uses to create skeleton CRUD applications very efficiently. We’re going to use bake to build our users code: cd /path/to/our/app0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
been removed from CakePHP core. An improved scaffolding plugin, named CRUD, can be found here: https://github.com/ FriendsOfCake/crud • The Controller::$ext property has been removed. You now have to extend never intended for production use. An improved scaffolding plugin, named CRUD, can be found here: https://github.com/ FriendsOfCake/crud ComponentCollection Replaced This class has been renamed to Cake\C generation CLI (Command Line Interface) tool that leverages the conventions CakePHP uses to create skeleton CRUD (Create, Read, Update, Delete) applications very efficiently. We’re going to use bake to build our0 码力 | 967 页 | 2.80 MB | 1 年前3
《Slides Dev Web》 03. Laravel
7 Ressources • Tips33 • Cheat Sheet34 • Laracast35 • Learning Laravel36 • Laravel REST API CRUD tuto37 • Les vôtres38 Sources 33https://github.com/LaravelDaily/laravel-tips 34https://hackr.i0 码力 | 8 页 | 224.34 KB | 1 年前3
《Slides Dev Web》02. Introduction aux frameworks PHP
org/web/20160316065751/http://blog.mazenod.fr/2010/01/design-pattern-mvc-zoom-sur-la- couche-modele-dal-dao-orm-crud/ 6http://ui-patterns.com/ 2 Figure 1: MVC 3 Bonnes pratiques • Heavy Model, Light Controller0 码力 | 24 页 | 1.03 MB | 1 年前3
Laravel 6.0 中文文档laravel/installer 确保 Composer 的全局 vendor bin 目录包含在系统 $PATH 路径 中,以便系统可以找到 laravel 可执行命令。在不同的操作系统中, 这个目录的位置也有所不同,常见的几种操作系列存放位置罗列如 下: macOS 和 GNU/Linux : $HOME/.composer/vendor/bin ($HOME 表示当前用户家目录,可以用 ~ 官方文档),该盒子为我们提供了一个优秀的开发环境,有了它,我 们不再需要在本地环境安装 PHP、Composer、Nginx、MySQL、 Memcached、Redis、Node 等其它工具软件,我们也完全不用再担 心误操作搞乱操作系统 —— 因为 Vagrant 盒子是一次性的,如果 出现错误,可以在数分钟内销毁并重新创建该 Vagrant 盒子! 为什么说它是重量级的开发环境呢?谁用谁知道,要使用上这个开发 环境,你需要安装 来开启。如果你 是在 UEFI 系统上使用 Hyper-V,则需要关闭 Hyper-V 以便可以访问 VT-x。 预装软件 Homestead 可以运行在 Windows、Mac 以及 Linux 等主流操作系 统上,预装的软件和工具列表如下: Ubuntu 18.04 本文档由学院君提供 学院君致力于提供优质 Laravel 中文学习资源:https://xueyuanjun.com 540 码力 | 1442 页 | 14.66 MB | 1 年前3
共 27 条
- 1
- 2
- 3













