Skip to content

Latest commit

 

History

History
82 lines (55 loc) · 2.07 KB

core-libraries.rst

File metadata and controls

82 lines (55 loc) · 2.07 KB

Core Libraries

CakePHP comes with a plethora of built-in functions and classes. These classes and functions try to cover some of the most common features required in web applications.

General Purpose

General purpose libraries are available and reused in many places across CakePHP.

.. toctree::
    :maxdepth: 2

    core-libraries/toc-general-purpose

Behaviors

Behaviors add extra functionality to your models. CakePHP comes with a number of built-in behaviors such as :php:class:`TreeBehavior` and :php:class:`ContainableBehavior`.

To learn about creating and using behaviors, read the section on :doc:`/models/behaviors`.

.. toctree::
    :maxdepth: 2

    core-libraries/toc-behaviors

Components

CakePHP has a selection of components to help take care of basic tasks in your controllers. See the section on :doc:`/controllers/components` for how to configure and use components.

.. toctree::
    :maxdepth: 2

    core-libraries/toc-components

Helpers

CakePHP features a number of helpers that aid in view creation. They assist in creating well-formed markup (including forms), aid in formatting text, times and numbers, and can even integrate with popular javascript libraries. Here is a summary of the built-in helpers.

Read :doc:`/views/helpers` to learn more about helpers, their api, and how you can create and use your own helpers.

.. toctree::
    :maxdepth: 2

    core-libraries/toc-helpers

Utilities

Beyond the core MVC components, CakePHP includes a great selection of utility classes that help you do everything from webservice requests, to caching, to logging, internationalization and more.

.. toctree::
    :maxdepth: 2

    core-libraries/toc-utilities