CakePHP Cookbook Documentation 5.xDocumentation Translations Documentation Formatting Guide Tickets Reporting Bugs Reporting Security Issues Code Initial Setup Working on a Patch Submitting a Pull Request Coding Standards Adding New Features Control Structures Comparison Function Calls Method Definition Bail Early Method Chaining Commenting Code Including Files PHP Tags Naming Convention Careful when using empty()/isset() Backwards Compatibility Test Case Conventions Creating Your First Test Case Running Tests Filtering Test Cases Generating Code Coverage Combining Test Suites for Plugins Test Case Lifecycle Callbacks Fixtures Test Connections0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook Documentation 5.x. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . foreach ($resultset as $row) { echo $row->username; } You may notice that we didn’t have to write any code before we could start working with our data. By using conventions, CakePHP will use standard classes Memcached, Redis and other backends. • Powerful code generation tools so you can start immediately. • Integrated testing framework so you can ensure your code works perfectly. The next obvious steps are0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
Documentation Translations Documentation Formatting Guide Tickets Reporting Bugs Reporting Security Issues Code Initial Setup Working on a Patch Submitting a Pull Request Coding Standards Adding New Features Control Structures Comparison Function Calls Method Definition Bail Early Method Chaining Commenting Code Including Files PHP Tags Naming Convention Careful when using empty()/isset() Backwards Compatibility Test Case Conventions Creating Your First Test Case Running Tests Filtering Test Cases Generating Code Coverage Combining Test Suites for Plugins Test Case Lifecycle Callbacks Fixtures Test Connections0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . foreach ($resultset as $row) { echo $row->username; } You may notice that we didn’t have to write any code before we could start working with our data. By using conventions, CakePHP will use standard classes Memcached, Redis and other backends. • Powerful code generation tools so you can start immediately. • Integrated testing framework so you can ensure your code works perfectly. The next obvious steps are0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook 3.x
Documentation Translations Documentation Formatting Guide Tickets Reporting Bugs Reporting Security Issues Code Initial Setup Working on a Patch Submitting a Pull Request Coding Standards Adding New Features Control Structures Comparison Function Calls Method Definition Bail Early Method Chaining Commenting Code Including Files PHP Tags Naming Convention Careful when using empty()/isset() Backwards Compatibility Test Case Conventions Creating Your First Test Case Running Tests Filtering Test Cases Generating Code Coverage Combining Test Suites for Plugins Test Case Lifecycle Callbacks Fixtures Test Connections0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . foreach ($query as $row) { echo $row->username; } You may notice that we didn’t have to write any code before we could start working with our data. By using conventions, CakePHP will use standard classes Memcached, Redis and other backends. • Powerful code generation tools so you can start immediately. • Integrated testing framework so you can ensure your code works perfectly. The next obvious steps are0 码力 | 967 页 | 2.80 MB | 1 年前3
The PHP Handbook
dynamically typed language. The types of variables are checked at runtime, rather than before the code is executed as it happens for statically typed languages (which also happen to be compiled, the two index.php file in a code editor. I recommend using VS Code, it’s a very simple code editor. See https://flaviocopes.com/vscode/ for an introduction. 11 This is the code that generates the file exists, and PHP code is executed server-side before Apache sends the page back to the browser. In the PHP file, we have a code”. 13 We have an ending0 码力 | 97 页 | 8.78 MB | 1 年前3
CakePHP Cookbook 2.x
Routing in shells / CLI Shell API More topics Shell Helpers Running Shells as cronjobs Completion Shell Code Generation with Bake Schema management and migrations I18N shell ACL Shell Test shell Upgrade shell Routes Conclusion Simple Authentication and Authorization Application Creating all users’ related code Authentication (login and logout) Authorization (who’s allowed to access what) Simple Acl controlled Documentation Translations Documentation Formatting Guide Tickets Reporting bugs Reporting security issues Code Initial setup Working on a patch Submitting a pull request Coding Standards Language Adding New0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691 Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . increase productivity and make coding more enjoyable: we hope you’ll see this as you dive into the code. This tutorial will walk you through the creation of a simple blog application. We’ll be getting half a page or so. Let’s get started! Getting CakePHP First, let’s get a copy of fresh CakePHP code. To get a fresh download, visit the CakePHP project on GitHub: https://github.com/cakephp/cakephp/tags0 码力 | 820 页 | 2.52 MB | 1 年前3
Laravel 5.6 中文文档to: /home/vagrant/Code 如果你只是创建了很少的站点,使用一般的映射就够了。不过,随着站点数量的增加,你就会遇到性能问题,尤其是在包含大量文件的低端机器或项 目中,性能问题可能会非常明显。如果你不幸遇到了这个问题,可以尝试映射每个项目到各自的 Vagrant 文件夹: folders: - map: ~/code/project1 to: /home/vagrant/code/project1 - map: ~/code/project2 to: /home/vagrant/code/project2 如果要开启 NFS,只需简单添加一个标识到同步文件夹配置: folders: - map: ~/Development to: /home/vagrant/Code type: cademy.org 14 你还可以通过 options 传递其他 Vagrant 支持的同步文件夹选项: folders: - map: ~/code to: /home/vagrant/code type: "rsync" options: rsync__args: ["--verbose", "--archive"0 码力 | 377 页 | 14.56 MB | 1 年前3
共 85 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













