Glossary

  • CDN
  • Content Delivery Network. A 3rd party vendor you can pay to helpdistribute your content to data centers around the world. This helpsput your static assets closer to geographically distributed users.
  • columns
  • Used in the ORM when referring to the table columns in an databasetable.
  • CSRF
  • Cross Site Request Forgery. Prevents replay attacks, doublesubmissions and forged requests from other domains.
  • DSN
  • Data Source Name. A connection string format that is formed like a URI.CakePHP supports DSN’s for Cache, Database, Log and Email connections.
  • dot notation
  • Dot notation defines an array path, by separating nested levels with .For example:
  1. Cache.default.engine

Would point to the following value:

  1. [
  2. 'Cache' => [
  3. 'default' => [
  4. 'engine' => 'File'
  5. ]
  6. ]
  7. ]
  • DRY
  • Don’t repeat yourself. Is a principle of software development aimed atreducing repetition of information of all kinds. In CakePHP DRY is usedto allow you to code things once and re-use them across yourapplication.
  • fields
  • A generic term used to describe both entity properties, or databasecolumns. Often used in conjunction with the FormHelper.
  • HTML attributes
  • An array of key => values that are composed into HTML attributes. For example:
  1. // Given
  2. ['class' => 'my-class', 'target' => '_blank']
  3.  
  4. // Would generate
  5. class="my-class" target="_blank"

If an option can be minimized or accepts its name as the value, then truecan be used:

  1. // Given
  2. ['checked' => true]
  3.  
  4. // Would generate
  5. checked="checked"
  • PaaS
  • Platform as a Service. Platform as a Service providers will providecloud based hosting, database and caching resources. Some popularproviders include Heroku, EngineYard and PagodaBox
  • properties
  • Used when referencing columns mapped onto an ORM entity.
  • plugin syntax
  • Plugin syntax refers to the dot separated class name indicating classesare part of a plugin:
  1. // The plugin is "DebugKit", and the class name is "Toolbar".
  2. 'DebugKit.Toolbar'
  3.  
  4. // The plugin is "AcmeCorp/Tools", and the class name is "Toolbar".
  5. 'AcmeCorp/Tools.Toolbar'
  • routes.php
  • A file in config directory that contains routing configuration.This file is included before each request is processed.It should connect all the routes your application needs sorequests can be routed to the correct controller + action.
  • routing array
  • An array of attributes that are passed to Router::url().They typically look like:
  1. ['controller' => 'Posts', 'action' => 'view', 5]