CakePHP Overview - CakePHP

What is the overview of CakePHP?

CakePHP is an open source MVC framework. It makes growing, deploying and retaining packages a good deal simpler. CakePHP has variety of libraries to reduce the overload of maximum common responsibilities. Following are the benefits of the use of CakePHP.

  • Open foundation
  • MVC Framework
  • Templating Engine
  • Caching Operations
  • Search Engine Friendly URLs
  • Easy CRUD (Create, Read, Update, Delete) Database Interactions.
  • Libraries and Helpers
  • Built-in Validation
  • Localization
  • Email, Cookie, Security, Session, and Request Handling Components

View Helpers for AJAX, JavaScript, HTML Forms and More

The subsequent illustration describes how a Request Lifecycle works –

cakePHP-Request cycle

An ordinary CakePHP request cycle starts off evolved with a person requesting a web page or aid for your utility. At a high degree, each request goes via the subsequent steps −

  • The web server rewrite regulations direct the request to webroot/index.personal home page.
  • Your software’s autoloader and bootstrap documents are executed.
  • Any dispatch filters which can be configured can handle the request, and optionally generate a response.
  • The dispatcher selects the ideal controller & motion based totally on routing regulations.
  • The controller’s motion is referred to as and the controller interacts with the desired fashions and additives.
  • The controller delegates reaction creation to the View to generate the output as a consequence of the version records.
  • The view uses Helpers and Cells to generate the reaction frame and headers.
  • The response is despatched back to the consumer.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

CakePHP Topics