Skip to content

Latest commit

 

History

History
94 lines (88 loc) · 2.68 KB

CakePHP3Features.md

File metadata and controls

94 lines (88 loc) · 2.68 KB

Features

Since I have decided to release it, I'm trying to use the maximum of CakePHP 3's features :

Behaviors

  • Timestamp
    • Used to allow Cake to modify the fields created and modified automatically
  • CounterCache
    • To build counter automatically
      • Blog Comments
      • Blog Articles
      • Blog Articles Likes
  • Custom Behavior :
    • Upload Behavior : Cake3-Upload
      • To upload safely an avatar for user

Components

  • Pagination
    • To build custom pagination request for the list of articles, users etc
  • Sessions
    • To store user's information
  • Authentication
    • For login/logout an user
  • CSRF
    • For security reasons...
  • Flash
    • With custom message : Error, Success, Info, Primary
  • Cross Site Request Forgery (CSRF)
    • To provide the max security
  • Request Handling
    • To render json views (Used with AJAX request/response)

Helpers

  • Url
    • To build URLs for AJAX request. (Like system)
  • Form
  • Html
  • Number
    • To build beautiful number for comments/likes count.
  • Paginator
    • To build beautiful pagination
  • Flash
    • To render some flash message
  • Text
    • To truncate some text
  • Time
    • To build a new date time when an user try to login
  • Custom Helpers :
    • ACL Helper
      • To check the permissions in a view
    • I18n Helper
      • To build translate inputs in form

Utilities

  • Email
    • In the Contact page
  • Folder & File
    • With the UploadBehavior
  • Inflector
    • With the SluggableBehavior
  • Internationalization & Localization
  • Router
    • To build custom routes names
    • Prefix : Admin
  • Cache
    • To cache all Google Analytics requests in the Administration Panel
    • ACL authorizations

General