 CakePHP Cookbook Documentation 5.xclass so you don’t have to manually add that trait to your Testcase classes. 36 https://docs.phpunit.de/en/10.0/extending-phpunit.html#extending-the-test-runner 42 Chapter 3. Migration Guides CakePHP Cookbook Localization. So it’s recommended to use either the two letter ISO code of the language like en, fr, de or the full locale name such as fr_FR, es_AR, da_DK which contains both the language and the country $article->translation('en')->title; // Adds a new translation data entity to the article $article->translation('de')->title = 'Wunderbar'; Limiting the Translations to be Retrieved You can limit the languages that0 码力 | 848 页 | 2.53 MB | 1 年前3 CakePHP Cookbook Documentation 5.xclass so you don’t have to manually add that trait to your Testcase classes. 36 https://docs.phpunit.de/en/10.0/extending-phpunit.html#extending-the-test-runner 42 Chapter 3. Migration Guides CakePHP Cookbook Localization. So it’s recommended to use either the two letter ISO code of the language like en, fr, de or the full locale name such as fr_FR, es_AR, da_DK which contains both the language and the country $article->translation('en')->title; // Adds a new translation data entity to the article $article->translation('de')->title = 'Wunderbar'; Limiting the Translations to be Retrieved You can limit the languages that0 码力 | 848 页 | 2.53 MB | 1 年前3
 CakePHP Cookbook Documentation 5.xsystem PHPUnit 10 removed the old hook system and introduced a new Event system [https://docs.phpunit.de/en/10.0/extending-phpunit.html#extending-the-test-runner] which requires the following code in your Localization. So it’s recommended to use either the two letter ISO code of the language like en, fr, de or the full locale name such as fr_FR, es_AR, da_DK which contains both the language and the country $article->translation('en')->title; // Adds a new translation data entity to the article $article->translation('de')->title = 'Wunderbar'; Limiting the Translations to be Retrieved You can limit the languages that0 码力 | 1080 页 | 939.39 KB | 1 年前3 CakePHP Cookbook Documentation 5.xsystem PHPUnit 10 removed the old hook system and introduced a new Event system [https://docs.phpunit.de/en/10.0/extending-phpunit.html#extending-the-test-runner] which requires the following code in your Localization. So it’s recommended to use either the two letter ISO code of the language like en, fr, de or the full locale name such as fr_FR, es_AR, da_DK which contains both the language and the country $article->translation('en')->title; // Adds a new translation data entity to the article $article->translation('de')->title = 'Wunderbar'; Limiting the Translations to be Retrieved You can limit the languages that0 码力 | 1080 页 | 939.39 KB | 1 年前3
 CakePHP Cookbook 4.x
RouteBuilder::resources() now inflects resource names to dasherized form instead of underscored by de- fault in URLs. You can retain underscored inflection by using 'inflect' => 'underscore' in $options argument. • Router::plugin() and Router::prefix() now use plugin/prefix name in dasherized form in URL by de- fault. You can retain underscored from (or any other custom path) by using 'path' key in $options will be returned. Logging Users Out AuthComponent::logout() Eventually, you’ll want a quick way to de-authenticate someone and redirect them to where they need to go. This method is also useful if you0 码力 | 967 页 | 2.88 MB | 1 年前3 CakePHP Cookbook 4.x
RouteBuilder::resources() now inflects resource names to dasherized form instead of underscored by de- fault in URLs. You can retain underscored inflection by using 'inflect' => 'underscore' in $options argument. • Router::plugin() and Router::prefix() now use plugin/prefix name in dasherized form in URL by de- fault. You can retain underscored from (or any other custom path) by using 'path' key in $options will be returned. Logging Users Out AuthComponent::logout() Eventually, you’ll want a quick way to de-authenticate someone and redirect them to where they need to go. This method is also useful if you0 码力 | 967 页 | 2.88 MB | 1 年前3
 CakePHP Cookbook 4.x
$bookmarks = $query - >select(['Bookmarks.id','Bookmarks.url','Bookmarks.title','Bookmarks.de scription']) ->leftJoinWith('Tags') ->where(['Tags.title IS' => null]) $bookmarks = $query - >select(['Bookmarks.id','Bookmarks.url','Bookmarks.title','Bookmarks.de scription']) ->innerJoinWith('Tags') ->where(['Tags.title IN ' => $options['tags']]) will be returned. Logging Users Out AuthComponent::logout() Eventually, you’ll want a quick way to de-authenticate someone and redirect them to where they need to go. This method is also useful if you0 码力 | 1249 页 | 1.04 MB | 1 年前3 CakePHP Cookbook 4.x
$bookmarks = $query - >select(['Bookmarks.id','Bookmarks.url','Bookmarks.title','Bookmarks.de scription']) ->leftJoinWith('Tags') ->where(['Tags.title IS' => null]) $bookmarks = $query - >select(['Bookmarks.id','Bookmarks.url','Bookmarks.title','Bookmarks.de scription']) ->innerJoinWith('Tags') ->where(['Tags.title IN ' => $options['tags']]) will be returned. Logging Users Out AuthComponent::logout() Eventually, you’ll want a quick way to de-authenticate someone and redirect them to where they need to go. This method is also useful if you0 码力 | 1249 页 | 1.04 MB | 1 年前3
 CakePHP Cookbook 3.x
will be returned. Logging Users Out AuthComponent::logout() Eventually, you’ll want a quick way to de-authenticate someone and redirect them to where they need to go. This method is also useful if you $options['escape'] - Boolean. If set to true it will HTML encode the value provided inside $title. De- faults to false. For example: echo $this->Form->button('A Button'); echo $this->Form->button('Another Localization. So it’s recommended to use either the two letter ISO code of the language like en, fr, de or the full locale name such as fr_FR, es_AR, da_DK which contains both the language and the country0 码力 | 967 页 | 2.80 MB | 1 年前3 CakePHP Cookbook 3.x
will be returned. Logging Users Out AuthComponent::logout() Eventually, you’ll want a quick way to de-authenticate someone and redirect them to where they need to go. This method is also useful if you $options['escape'] - Boolean. If set to true it will HTML encode the value provided inside $title. De- faults to false. For example: echo $this->Form->button('A Button'); echo $this->Form->button('Another Localization. So it’s recommended to use either the two letter ISO code of the language like en, fr, de or the full locale name such as fr_FR, es_AR, da_DK which contains both the language and the country0 码力 | 967 页 | 2.80 MB | 1 年前3
 CakePHP Cookbook 3.x
will be returned. Logging Users Out AuthComponent::logout() Eventually, you’ll want a quick way to de-authenticate someone and redirect them to where they need to go. This method is also useful if you Localization. So it’s recommended to use either the two letter ISO code of the language like en, fr, de or the full locale name such as fr_FR, es_AR, da_DK which contains both the language and the country $article->translation('en')->title; // Adds a new translation data entity to the article $article->translation('de')->title = 'Wunderbar'; Limiting the Translations to be Retrieved You can limit the languages that0 码力 | 1244 页 | 1.05 MB | 1 年前3 CakePHP Cookbook 3.x
will be returned. Logging Users Out AuthComponent::logout() Eventually, you’ll want a quick way to de-authenticate someone and redirect them to where they need to go. This method is also useful if you Localization. So it’s recommended to use either the two letter ISO code of the language like en, fr, de or the full locale name such as fr_FR, es_AR, da_DK which contains both the language and the country $article->translation('en')->title; // Adds a new translation data entity to the article $article->translation('de')->title = 'Wunderbar'; Limiting the Translations to be Retrieved You can limit the languages that0 码力 | 1244 页 | 1.05 MB | 1 年前3
 《Slides Dev Web》02. Introduction aux frameworks PHP
similaires pour de nombreuses applis • Composants de haut-niveau réutilisables (faible couplage) • Règles de codage et d’architecture • Code sûr et efficace • Facilite les tests et la gestion de projets complexes complexes • Utilisation de Design Patterns dès que possible • Comportement par défaut • Extensible • Principe d’inversion de contrôle Différences entre framework et library sur Stack Overflow2 ou artima 3http://www.artima.com/forums/flat.jsp?forum=106&thread=152104 1 Design Patterns et webdev • Inversion de contrôle (IoC4) • Model View Controller – M : Accès aux données, logique métier – V : Templates des0 码力 | 24 页 | 1.03 MB | 1 年前3 《Slides Dev Web》02. Introduction aux frameworks PHP
similaires pour de nombreuses applis • Composants de haut-niveau réutilisables (faible couplage) • Règles de codage et d’architecture • Code sûr et efficace • Facilite les tests et la gestion de projets complexes complexes • Utilisation de Design Patterns dès que possible • Comportement par défaut • Extensible • Principe d’inversion de contrôle Différences entre framework et library sur Stack Overflow2 ou artima 3http://www.artima.com/forums/flat.jsp?forum=106&thread=152104 1 Design Patterns et webdev • Inversion de contrôle (IoC4) • Model View Controller – M : Accès aux données, logique métier – V : Templates des0 码力 | 24 页 | 1.03 MB | 1 年前3
 《Slides Dev Web》 12. Risques applicatifs
CWE5 – Grande communauté d’experts – Formation, documentation et ressources – Outils d’audit, de tests et de formation Top 106 OWASP 2021 (fr7 - historique8) 1. Contrôle d’accès défaillants 2. Défaillances configuration de sécurité 6. Composants vulnérables et obsolètes 7. Identification & Authentification de mauvaise qualité 8. Manque d’intégrité des données et du logiciel 9. Carences des systèmes de contrôle contrôle et de journalisation 10. Falsification de requêtes côté serveur • Non exhaustif : ex. : risques liés à Node JS9 Injection de code • Données mal validées : possibilité d’exécuter du code • Passées0 码力 | 12 页 | 474.37 KB | 1 年前3 《Slides Dev Web》 12. Risques applicatifs
CWE5 – Grande communauté d’experts – Formation, documentation et ressources – Outils d’audit, de tests et de formation Top 106 OWASP 2021 (fr7 - historique8) 1. Contrôle d’accès défaillants 2. Défaillances configuration de sécurité 6. Composants vulnérables et obsolètes 7. Identification & Authentification de mauvaise qualité 8. Manque d’intégrité des données et du logiciel 9. Carences des systèmes de contrôle contrôle et de journalisation 10. Falsification de requêtes côté serveur • Non exhaustif : ex. : risques liés à Node JS9 Injection de code • Données mal validées : possibilité d’exécuter du code • Passées0 码力 | 12 页 | 474.37 KB | 1 年前3
 《Slides Dev Web》 06. HTTP & AJAX
: invention www en 1990 (v0.9) – Connexion, GET, réponse, fermeture • HTTP 1.0 (1996) – Entêtes de requête (Host, Referer, User-Agent, …) et réponse (Content-Type, Set- Cookie, Location, …) • HTTP connexions, compression entêtes, push, … – Supporté par presque tous2 les navigateurs, une majorité de serveurs • HTTP 3.03 (2019) – UDP, correction erreur, contrôle congestion, multiplexage (0 RTT) ent#sl ide=id.p19 2https://caniuse.com/#feat=http2 3https://http3-explained.haxx.se/fr/ 1 Codes de réponse • 1xx : Information • 2xx : Succès • 3xx : Redirection • 4xx : Erreur Client • 5xx : Erreur0 码力 | 11 页 | 91.09 KB | 1 年前3 《Slides Dev Web》 06. HTTP & AJAX
: invention www en 1990 (v0.9) – Connexion, GET, réponse, fermeture • HTTP 1.0 (1996) – Entêtes de requête (Host, Referer, User-Agent, …) et réponse (Content-Type, Set- Cookie, Location, …) • HTTP connexions, compression entêtes, push, … – Supporté par presque tous2 les navigateurs, une majorité de serveurs • HTTP 3.03 (2019) – UDP, correction erreur, contrôle congestion, multiplexage (0 RTT) ent#sl ide=id.p19 2https://caniuse.com/#feat=http2 3https://http3-explained.haxx.se/fr/ 1 Codes de réponse • 1xx : Information • 2xx : Succès • 3xx : Redirection • 4xx : Erreur Client • 5xx : Erreur0 码力 | 11 页 | 91.09 KB | 1 年前3
 《Slides Dev Web》 11. HTTPS
Couche Application : – Entre les couches transport et application – Pas besoin de modifier la pile TCP/IP • Possibilité de sécuriser d’autres protocoles : – HTTP, SMTP, SIP, … • Services offerts : – Délivré par une autorité de certification • Certificats clients Autorité de Certification • Tiers de confiance – enregistrée et certifiée par des autorités publiques ou de gouvernance de l’Internet • Rôle période de validité – Maintenir la liste des certificats valides/révoqués 2 • Certificats auto-signés : – usage interne – pas de tiers de confiance Contenu d’un certificat X509 • version de X.509 (v30 码力 | 6 页 | 109.17 KB | 1 年前3 《Slides Dev Web》 11. HTTPS
Couche Application : – Entre les couches transport et application – Pas besoin de modifier la pile TCP/IP • Possibilité de sécuriser d’autres protocoles : – HTTP, SMTP, SIP, … • Services offerts : – Délivré par une autorité de certification • Certificats clients Autorité de Certification • Tiers de confiance – enregistrée et certifiée par des autorités publiques ou de gouvernance de l’Internet • Rôle période de validité – Maintenir la liste des certificats valides/révoqués 2 • Certificats auto-signés : – usage interne – pas de tiers de confiance Contenu d’un certificat X509 • version de X.509 (v30 码力 | 6 页 | 109.17 KB | 1 年前3
共 69 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7














