CakePHP Cookbook 2.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 7 Core Libraries 331 General Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . class KissesAndHugsController would be found in a file named KissesAndHugsCon- troller.php • The Component class MyHandyComponent would be found in a file named MyHandyComponent.php • The Model class OptionValue modifying Application Extensions. • Finally, the vendors folder is where you’ll place third-party PHP libraries you need to use with your CakePHP applications. The App Folder CakePHP’s app folder is where you0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook 2.x
DataSources Model Attributes Additional Methods and Properties Virtual fields Transactions Core Libraries General Purpose General Purpose Behaviors Behaviors Components Components Helpers Helpers Controller class KissesAndHugsController would be found in a file named KissesAndHugsController.php The Component class MyHandyComponent would be found in a file named MyHandyComponent.php The Model class OptionValue modifying Application Extensions. Finally, the vendors folder is where you’ll place third-party PHP libraries you need to use with your CakePHP applications. The App Folder CakePHP’s app folder is where you0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 3.x
Integration with FormHelper CSRF Protection and AJAX Requests Disabling the CSRF Component for Specific Actions Security Component Handling Blackhole Callbacks Restrict Actions to SSL Restricting Cross Controller Controller Communication Form Tampering Prevention Usage CSRF Protection Disabling Security Component for Specific Actions Sessions Session Configuration Built-in Session Handlers & Configuration Session longer – and you’ll also be lightening our support load. Both the manual and the API have an online component. The Bakery https://bakery.cakephp.org The CakePHP Bakery is a clearing house for all things0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 3.x
longer – and you’ll also be lightening our support load. Both the manual and the API have an online component. The Bakery https://bakery.cakephp.org The CakePHP Bakery is a clearing house for all things class LatestArticlesController would be found in a file named LatestArticlesCon- troller.php • The Component class MyHandyComponent would be found in a file named MyHandyComponent.php • The Table class OptionValuesTable add your article.')); } $this->set('article', $article); } } Note: You need to include the Flash component in any controller where you will use it. Often it makes sense to include it in your AppController0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook Documentation 5.xlonger – and you’ll also be lightening our support load. Both the manual and the API have an online component. The Bakery https://bakery.cakephp.org The CakePHP Bakery is a clearing house for all things class LatestArticlesController would be found in a file named LatestArticlesController.php The Component class MyHandyComponent would be found in a file named MyHandyComponent.php The Table class OptionValuesTable MenuLinksBehavior.php View ArticlesView.php MenuLinksView.php Helper ArticlesHelper.php MenuLinksHelper.php Component ArticlesComponent.php MenuLinksComponent.php Plugin Bad: cakephp/articles Good: you/cakephp- articles0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 4.x
longer – and you’ll also be lightening our support load. Both the manual and the API have an online component. The Bakery https://bakery.cakephp.org The CakePHP Bakery is a clearing house for all things class LatestArticlesController would be found in a file named LatestArticlesController.php The Component class MyHandyComponent would be found in a file named MyHandyComponent.php The Table class OptionValuesTable functions they display, in an underscored form Helper ArticlesHelper.php MenuLinksHelper.php Component ArticlesComponent.php MenuLinksComponent.php Plugin Bad: cakephp/articles Good: you/cakephp- articles0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook Documentation 5.xlonger – and you’ll also be lightening our support load. Both the manual and the API have an online component. The Bakery https://bakery.cakephp.org The CakePHP Bakery is a clearing house for all things class LatestArticlesController would be found in a file named LatestArticlesCon- troller.php • The Component class MyHandyComponent would be found in a file named MyHandyComponent.php • The Table class OptionValuesTable add your article.')); } $this->set('article', $article); } } Note: You need to include the Flash component in any controller where you will use it. Often it makes sense to include it in your AppController0 码力 | 848 页 | 2.53 MB | 1 年前3
CakePHP Cookbook 4.x
longer – and you’ll also be lightening our support load. Both the manual and the API have an online component. The Bakery https://bakery.cakephp.org The CakePHP Bakery is a clearing house for all things class LatestArticlesController would be found in a file named LatestArticlesCon- troller.php • The Component class MyHandyComponent would be found in a file named MyHandyComponent.php • The Table class OptionValuesTable add your article.')); } $this->set('article', $article); } } Note: You need to include the Flash component in any controller where you will use it. Often it makes sense to include it in your AppController0 码力 | 967 页 | 2.88 MB | 1 年前3
Falcon v3.0.0-b2 Documentationresponses • Full Unicode support • Intuitive request and response objects • Works great with async libraries like gevent • Minimal attack surface for writing secure APIs • 100% code coverage with a comprehensive convert any instance or subclass of falcon.HTTPError raised by a responder, hook, or middleware component into an appropriate HTTP response. You may raise an instance of falcon.HTTPError directly, or use pifpaf run redis -- uvicorn asgilook.asgi:app We will perform caching with a Falcon Middleware component. Again, note that all middleware callbacks must be asynchronous. Even initializing the Redis connection0 码力 | 340 页 | 1.15 MB | 1 年前3
Falcon v3.1.1-b3 Documentationconvert any instance or subclass of falcon.HTTPError raised by a responder, hook, or middleware component into an appropriate HTTP response. You may raise an instance of falcon.HTTPError directly, or use pifpaf run redis -- uvicorn asgilook.asgi:app We will perform caching with a Falcon Middleware component. Again, note that all middleware callbacks must be asynchronous. Even calling ping() and close() DEFAULT_REDIS_HOST self.uuid_generator = Config.DEFAULT_UUID_GENERATOR Let’s complete the Redis cache component by implementing two more middleware methods, in addition to process_startup() and process_shutdown()0 码力 | 378 页 | 1.29 MB | 1 年前3
共 67 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













