CakePHP Cookbook 3.x
• Conventions Over Configuration • The Model Layer • The View Layer • The Controller Layer • CakePHP Request Cycle • Just the Start • Additional Reading Configuration • Creating our First Model • CMS Tutorial - Creating the Articles Controller • Create the Article List Template • Create the View Action Database Database Configuration Creating our First Model CMS Tutorial - Creating the Articles Controller Create the Article List Template Create the View Action Create the View Template Adding0 码力 | 1244 页 | 1.05 MB | 2 年前3
CakePHP Cookbook 4.x
• Conventions Over Configuration • The Model Layer • The View Layer • The Controller Layer • CakePHP Request Cycle • Just the Start • Additional Reading Configuration • Creating our First Model • CMS Tutorial - Creating the Articles Controller • Create the Article List Template • Create the View Action Database Configuration • Creating our First Model • CMS Tutorial - Creating the Articles Controller • Create the Article List Template • Create the View Action • Create the View0 码力 | 1249 页 | 1.04 MB | 2 年前3
CakePHP Cookbook 2.x
Configuration A Note on mod_rewrite Blog Tutorial - Adding a layer Create a Post Model Create a Posts Controller Creating Post Views Adding Posts Data Validation Editing Posts Deleting Posts Routes Conclusion Up CakePHP Overview What is CakePHP? Why use it? Understanding Model-View-Controller The Model layer The View layer The Controller layer CakePHP request cycle Benefits Where to Get Help The Official CakePHP Controllers The App Controller Request parameters Controller actions Request Life-cycle callbacks Controller Methods Interacting with Views Flow Control Callbacks Other Useful Methods Controller Attributes $components0 码力 | 1096 页 | 958.62 KB | 2 年前3
02 TiDB Operator 架构与实现 付业成/f/0/b/af0ba3339ba8eb2fcdf2647d94c085d4/p9_9.jpg) ## Operator Pattern - Custom Resource & Controller apiVersion: pingcap.com/v1alpha1 kind: TidbCluster spec: version: v4.0.3 pd: - Custom Resource - TidbCluster - Tidb Initializer - TidbMonitor - Backup/Restore - Custom Controller - Scheduler Extender (optional) - Admission Webhook (optional) - ...Scheduler framework, Aggregated /desired> Actual State TiDB Kubernetes API Compare & Make Changes ## Custom Controller TiDB Operator 0 码力 | 47 页 | 1.73 MB | 1 年前3
ThinkJS 3.0 中文文档i18n Payload view-nunjucks view-ejs view-handlebars view-pug Router View WebSocket Logic Controller Cache session-file session-cookie session-db session-redis Session Middleware Extend Adapter //项目扩展配置文件 | | ---- middleware.js //中间件配置文件 | | ---- router.js //自定义路由配置文件 | | ---- controller //控制器目录 | | ---- base.js | | ---- index.js | | ---- logic //logic 目录 | | |--- index.js 下的 middleware 类无法在 3.0 下使用,3.0 下可以直接使用 Koa 的 middleware。 ## Controller 将基类 think.controller.base 改为 think.Controller,并移除 think.controller.rest 类。 ## Model 将基类 think.model.base 改为 think.Model。 ## 基础功能0 码力 | 129 页 | 2.12 MB | 2 年前3
Operator Pattern 用 Go 扩展 Kubernetes 的最佳实践概念,用于管理和运行基于应用程序领域的复杂有状态应用程序。给出了用 TPR + controller—runtime 早期版本的 sample: etcd operator ## CRD K8s 1.9 版本发布,CRD进入 beta 阶段并正式取代 TPR;controller-runtime 加入 K8s 社区并正式发布; 自此,CRD + controller-runtime 逐渐成为开发 operator 的首选 Application; Operator = CRD + control loop, i.e., Declarative API + Automation; kubebuilder + controller—runtime + helm ## Operator Capability Levels ## ANSIBLE ## Level I ## Basic Install Automated [Image](/uploads/documents/e/9/2/8/e9285922cb84ea7e2cf1f473a4f03572/p10_1.jpg) Node API server Cloud controller manager (optional) 的实现 …Spring implements a controller in a very abstract way, which enables you to create a wide variety of controllers0 码力 | 163 页 | 2.28 MB | 3 月前3
Best practices for building Kubernetes Operators7_1.jpg) Actual State ## Controllers • Controller tracks at least one resource type It’s a common approach to manage only one resource type per controller - Controllers reconciliation loop/control state of the resource (based on manifest) the actual one • Operator’s fundamental • Built-in controller examples: ☐ ReplicaSert ☐ Deployment ☐ StatefulSet ○ Job ## Operators • Concept was introduced message: Value is immutable rule: self == oldSelf ## V alidating Admission Webhooks “An admission controller is a piece of code that intercepts requests to the Kubernetes API server prior to persistence of0 码力 | 36 页 | 2.19 MB | 1 年前3
Cloud Native Contrail Networking
Installation and Life Cycle ManagementGuide for Rancher RKE2
Multi-Cluster CN2 on Rancher RKE2 | 28 Install Contrail Tools | 29 Install ContrailReadiness Controller | 30 Manifests | 31 Manifests in Release 23.2 | 31 Contrail Tools in Release 23.2 | 32 services in single-cluster and multi-cluster deployments - Highly available and resilient network controller overseeing all aspects of the network configuration and control planes - Analytics services using container and VM workloads (using kubevirt) • Support for DPDK data plane acceleration The Contrail controller automatically detects workload provisioning events such as a new workload being instantiated, network0 码力 | 72 页 | 1.01 MB | 2 年前3
ThinkJS 2.2 Documentationusing async/await or */yield features. JavaScript //user controller, home/controller/user.js export default class extends think.controller.base { //login action async loginAction(self){ -- zh-cn.js | | | | | | -- route.js | | | | | -- controller | | | | | | | | | -- error.js | | | | | | | | | | -- runtime -- home -- config -- controller -- base.js -- index.js -- logic -- doc.js -- model */ export default { // key: value }; JavaScript ## src/common/controller Within this folder, you should put the common controller files. For example, the error.js has designed some different error0 码力 | 156 页 | 2.62 MB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
ModelViewControllerORMDatabaseMigrationConventionsInstallationCakePHPMigration GuideController LayerModel LayerModel-View-ControllerPHPConfigurationTiDB OperatorKubernetesController ManagerCustom ResourceReconciliationThinkJS 3.0Koa 2.xMiddlewareOperator PatternCRDController-RTKubebuilderSpring MVCDispatcherServlet@Controller@RequestMapping视图解析器Kubernetes OperatorsCustom ResourcesKubebuilder/Operator-sdkContrail NetworkingCloud NativeRancher RKE2Contrail ControllerThinkJSMVC框架ES6/7TypeScript自动更新













