CakePHP Cookbook 2.x
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 Additional Rewriting Fire It 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 Associations: Linking Models Together Retrieving Your Data Saving Your Data Deleting Data Data Validation Callback Methods Behaviors DataSources Model Attributes Additional Methods and Properties Virtual0 码力 | 1096 页 | 958.62 KB | 1 年前3
CakePHP Cookbook 2.x
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Understanding Model-View-Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Where a basic knowledge of the MVC programming pattern. A quick overview can be found in Understanding Model-View-Controller. Don’t worry, it’s only half a page or so. Let’s get started! Getting CakePHP First something like this: $ chown -R www-data app/tmp If for some reason CakePHP can’t write to that directory, you’ll see warnings and uncaught exceptions that cache data cannot be written. 4 https://git-scm0 码力 | 820 页 | 2.52 MB | 1 年前3
CakePHP Cookbook 3.x
Contents CakePHP at a Glance Conventions Over Configuration The Model Layer The View Layer The Controller Layer CakePHP Request Cycle Just the Start Additional Reading Where to Get Help CakePHP Conventions our Installation CMS Tutorial - Creating the Database Database Configuration Creating our First Model CMS Tutorial - Creating the Articles Controller Create the Article List Template Create the View our Installation CMS Tutorial - Creating the Database Database Configuration Creating our First Model CMS Tutorial - Creating the Articles Controller Create the Article List Template Create the View0 码力 | 1244 页 | 1.05 MB | 1 年前3
CakePHP Cookbook 4.x
Contents CakePHP at a Glance Conventions Over Configuration The Model Layer The View Layer The Controller Layer CakePHP Request Cycle Just the Start Additional Reading Where to Get Help CakePHP Conventions our Installation CMS Tutorial - Creating the Database Database Configuration Creating our First Model CMS Tutorial - Creating the Articles Controller Create the Article List Template Create the View our Installation CMS Tutorial - Creating the Database Database Configuration Creating our First Model CMS Tutorial - Creating the Articles Controller Create the Article List Template Create the View0 码力 | 1249 页 | 1.04 MB | 1 年前3
CakePHP Cookbook 3.x
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 The Model Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291 Paginating a Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640 Clearing Cached Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640 Using0 码力 | 967 页 | 2.80 MB | 1 年前3
CakePHP Cookbook Documentation 5.xContents CakePHP at a Glance Conventions Over Configuration The Model Layer The View Layer The Controller Layer CakePHP Request Cycle Just the Start Additional Reading Where to Get Help CakePHP Conventions Deprecations New Features PHPUnit 10 Upgrade phpunit.xml adjustments ->withConsecutive() has been removed data providers have to be static Tutorials & Examples Content Management Tutorial Getting CakePHP Checking Tutorial - Creating the Database Database Configuration Migrations CMS Tutorial - Creating our First Model CMS Tutorial - Creating the Articles Controller Create the Article List Template Create the View0 码力 | 1080 页 | 939.39 KB | 1 年前3
CakePHP Cookbook 4.x
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 The Model Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261 Paginating a Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 612 Clearing Cached Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613 Using0 码力 | 967 页 | 2.88 MB | 1 年前3
CakePHP Cookbook Documentation 5.xConfiguration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 The Model Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 CMS Tutorial - Creating our First Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 CMS Tutorial - Creating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193 Paginating a Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1930 码力 | 848 页 | 2.53 MB | 1 年前3
共 8 条
- 1













