CakePHP Cookbook Documentation 5.x
Controller::middleware() More on Controllers The Pages Controller Components Views View The App View View Templates Alternative Echos Alternative Control Structures View Variables Setting View Variables Extending Handling Configuration Deprecation Warnings Changing Exception Handling Listen to Events Custom Templates Custom Error Page Layout Custom Controller Custom ExceptionRenderer Changing the ErrorController Using Bake Plugin Classes Plugin Routes Plugin Controllers Plugin Models Plugin Templates Overriding Plugin Templates from Inside Your Application Plugin Assets Linking to Assets in Plugins Components0 码力 | 1080 页 | 939.39 KB | 1 年前3CakePHP Cookbook 4.x
Controller::middleware() More on Controllers The Pages Controller Components Views View The App View View Templates Alternative Echos Alternative Control Structures View Variables Setting View Variables Extending Configuration Deprecation Warnings Changing Exception Handling Listen to Events Custom Error Templates Custom Error Page Layout Custom ErrorController Custom ExceptionRenderer Changing the ErrorController Using Bake Plugin Objects Plugin Routes Plugin Controllers Plugin Models Plugin Templates Overriding Plugin Templates from Inside Your Application Plugin Assets Linking to Assets in Plugins Components0 码力 | 1249 页 | 1.04 MB | 1 年前3CakePHP Cookbook Documentation 5.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207 ii View Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 581 Custom Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 645 Plugin Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 848 页 | 2.53 MB | 1 年前3CakePHP Cookbook 4.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305 View Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687 Custom Error Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687 Custom . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 747 Plugin Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 967 页 | 2.88 MB | 1 年前3CakePHP Cookbook 3.x
Callback Methods More on Controllers The Pages Controller Components Views The App View View Templates Alternative Echos Alternative Control Structures View Variables Setting View Variables Extending Exception Handling Error & Exception Configuration Changing Exception Handling Customize Error Templates Customize the Error Page Layout Customize the ErrorController Change the ExceptionRenderer Changing Using Bake Plugin Objects Plugin Routes Plugin Controllers Plugin Models Plugin Templates Overriding Plugin Templates from Inside Your Application Plugin Assets Linking to Assets in Plugins Components0 码力 | 1244 页 | 1.05 MB | 1 年前3CakePHP Cookbook 3.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339 View Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 712 Customize Error Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 712 Customize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 766 Plugin Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 967 页 | 2.80 MB | 1 年前3《Slides Dev Web》02. Introduction aux frameworks PHP
Inversion de contrôle (IoC4) • Model View Controller – M : Accès aux données, logique métier – V : Templates des pages à générer – C : Orchestration, transfert des infos • Front Controller – Traitement et .. include "templates/entete.html"; if ("equipe" === $_GET["page"]) { // SELECT FROM u WHERE id=$_GET["id"] // ... include "templates/equipe.html"; } else { // ... include "templates/accueil.html"; html"; } 13 Quel est le problème avec cette solution? (Source de l’image19) Sécurité des templates • Principle of Least Privilege ( polp20 ) • Intégration faite par un graphiste, société externe Dans0 码力 | 24 页 | 1.03 MB | 1 年前3Falcon v1.3.0 Documentation
Falcon tries to do as little as possible while remaining highly effective. Routes based on URI templates RFC REST-inspired mapping of URIs to resources Global, resource, and method hooks Idiomatic HTTP resource crash my app? Why are trailing slashes trimmed from req.path? Why are field names in URI templates restricted to certain characters? Why is my query parameter missing from the req object? How can large-scale deployments. Features Highly-optimized, extensible code base Intuitive routing via URI templates and REST-inspired resource classes Easy access to headers and bodies through request and response0 码力 | 194 页 | 266.90 KB | 1 年前3Falcon v1.3.0 Documentation
Falcon tries to do as little as possible while remaining highly effective. • Routes based on URI templates RFC • REST-inspired mapping of URIs to resources • Global, resource, and method hooks • Idiomatic large-scale deployments. Features • Highly-optimized, extensible code base • Intuitive routing via URI templates and REST-inspired resource classes • Easy access to headers and bodies through request and response HTTP response to that request. By convention, these are called req and resp, respectively. Route templates and hooks can inject extra params, as we shall see later on. Right now, the image resource responds0 码力 | 146 页 | 535.22 KB | 1 年前3The Laravel Handbook
that end with .blade.php and are Blade templates. Blade is a server-side templating language. In its basic form it’s HTML. As you can see, those templates I used above don’t have anything other than than HTML. 18 But you can do lots of interesting stuff in Blade templates: insert data, add conditionals, do loops, display something if the user is authenticated or not, or show different information (run both in 2 different terminal windows). Now we’re ready to use Tailwind CSS in our Blade templates! Add this line to the page head :0 码力 | 111 页 | 14.25 MB | 1 年前3
共 55 条
- 1
- 2
- 3
- 4
- 5
- 6