CakePHP Cookbook Documentation 5.x
tags. Before we can implement this, we’ll add a new route. Your config/routes.php (with the baked comments removed) should look like: comments. Initial Setup Before working on patches for CakePHP, it’s a good idea to get your environment message') ->send(); Commenting Code All comments should be written in English, and should in a clear way describe the commented block of code. Comments can include the following phpDocumentor [https://phpdoc0 码力 | 1080 页 | 939.39 KB | 1 年前3CakePHP Cookbook Documentation 5.x
tags. Before we can implement this, we’ll add a new route. Your config/routes.php (with the baked comments removed) should look like: comments. Initial Setup Before working on patches for CakePHP, it’s a good idea to get your environment great message') ->send(); Commenting Code All comments should be written in English, and should in a clear way describe the commented block of code. Comments can include the following phpDocumentor70 tags:0 码力 | 848 页 | 2.53 MB | 1 年前3CakePHP Cookbook 4.x
Console ConsoleIo::comment() was added. This method formats text with a blue foreground like comments in the generated help text. TableHelper now supports aformatting tag, which aligns tags. Before we can implement this, we’ll add a new route. Your config/routes.php (with the baked comments removed) should look like: comments. Initial Setup Before working on patches for CakePHP, it’s a good idea to get your environment 0 码力 | 1249 页 | 1.04 MB | 1 年前3CakePHP Cookbook 4.x
Console • ConsoleIo::comment() was added. This method formats text with a blue foreground like comments in the generated help text. • TableHelper now supports aformatting tag, which aligns tags. Before we can implement this, we’ll add a new route. Your config/routes.php (with the baked comments removed) should look like: comments. Initial Setup Before working on patches for CakePHP, it’s a good idea to get your environment 0 码力 | 967 页 | 2.88 MB | 1 年前3CakePHP Cookbook 3.x
to many associations. Shell cake i18n extract has a new --relative-paths option that makes path comments in POT files relative to the application root directory instead of absolute paths. cake i18n extract --marker-error option that enables reporting of translation functions that use non-static values as comments in POT files. TestSuite New assertion methods were added to IntegrationTestCase: assertResponseNotEquals() Table::getAssociation() can now read deeply nested associations using . separated paths. e.g Users.Comments. This method will raise exceptions when getting an unknown association now. Table::addBehaviors()0 码力 | 1244 页 | 1.05 MB | 1 年前3CakePHP Cookbook 3.x
many associations. Shell • cake i18n extract has a new --relative-paths option that makes path comments in POT files relative to the application root directory instead of absolute paths. • cake i18n --marker-error option that enables reporting of translation functions that use non-static values as comments in POT files. TestSuite • New assertion methods were added to IntegrationTestCase: – assertResponseNotEquals() Table::getAssociation() can now read deeply nested associations using . separated paths. e.g Users. Comments. This method will raise exceptions when getting an unknown association now. • Table::addBehaviors()0 码力 | 967 页 | 2.80 MB | 1 年前3The Zig Programming Language 0.12.0 Documentation
@import Errors Root Source File Source Encoding Comments Zig supports 3 types of comments. Normal comments are ignored, but doc comments and top-level doc comments are used by the compiler to generate the package produced with: Shell zig test -femit-docs main.zig comments.zig const print = @import("std").debug.print; pub fn main() void { // Comments in Zig start with "//" and end at the next LF byte (end {}); // another comment } Shell $ zig build-exe comments.zig $ ./comments Hello, world! There are no multiline comments in Zig (e.g. like /* */ comments in C). This allows Zig to have the property that0 码力 | 241 页 | 7.37 MB | 1 年前3Laravel 3.2 Documentation
has_many Eloquent relationship. Added unless structure to Blade template engine. Added Blade comments. Added simpler environment management. Added Blade::extend() method to define custom Getting the plural form if given value is greater than one: echo Str::plural('comment', count($comments)); Slugs Generating a URL friendly slug: return Str::slug('My First Blog Post!'); Generating probably related to one another. For instance, an order may belong to a user. Or, a post may have many comments. Eloquent makes defining relationships and retrieving related models simple and intuitive. Laravel0 码力 | 139 页 | 1.13 MB | 1 年前3Laravel 5.0 Documentation
should not be done lightly, and may make your application more vulnerable to XSS exploits. Also, comments with {{- - will no longer work. Move your language files from app/lang to the new resources/lang Route::resource('photos.comments', 'PhotoCommentController'); This route will register a "nested" resource that may be accessed with URLs like the following: photos/{photos}/comments/{comments} . class PhotoCommentController H:i\'); ?>', $view); }); Including Sub-Views Overwriting Sections Displaying Language Lines Comments Extending Blade Introduction Defining & Running Tests Test Environment Calling Routes From0 码力 | 242 页 | 1.44 MB | 1 年前3Back to Basics: Debugging Techniques
cases to fail • Verify that new code passes its own test cases • Practice defensive programming • Comments • It's much easier to find defects in modular, well-designed code with well-written and extensive with print statements • In more complex systems, take advantage of existing logging facilities • Comments • Great way to stay "on the path" when developing new code • An easy first step in narrowing down ) • Call tracers and domain-specific diagnostic tools (strace, wireshark, SQL analyzers...) • Comments • Very powerful tools for deterministic problems • Not always useful for non-deterministic problems0 码力 | 44 页 | 470.68 KB | 5 月前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100