12/08/2018, 13:51

Cake Php

Abstract If you are a web developer or a developer in general you must have heard or come across a development language called PHP. Php is a server side scripting language initially designed for web develoment but can also be used for general purpose programming language also. Introduced by ...

Abstract

If you are a web developer or a developer in general you must have heard or come across a development language called PHP. Php is a server side scripting language initially designed for web develoment but can also be used for general purpose programming language also. Introduced by Rasmus Lerdorf in 1994,

Php has the ability to connect to database and can be used to create dynamic web pages. It comes along with some features that have earned it its reputations today, this includes cross platform compatibility, scalability, efficient execution and is an open source technology. However using Php with any framework whatsoever is not professional and can result in difficulties in maintenance and and performance. Ever since php have been introduced many frameworks have also been developed to get the most out of it and some of this frameworks are Laravel, CodeIgniter, Symfony, Aura, CakePhp and more. These frameworks are based on Model, View, Controller design pattern. These frameworks provide, different common functionalities and classes in the form ofhelpers, components, and plug-in to reduce the development time. Due to these features like robustness, scalability, maintainability and performance, these frameworks are mostly used for web development in PHP, with performance being considered the most important factor.

Introduction

CakePhp is a rapid development framework for PHP which uses commonly known design patterns like Associative Data Mapping, Front Controller, and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. CakePHP framework is based on Model, View and Controller (MVC) design pattern. MVC separates the application into three different layers, Model, View and Controller. In MVC design pattern, model is data access layer and this layer communicates with a database, which obtains data from databases. View is a presentation layer and this layer is responsible for rendering information on the front end (browser) and Controller is the central part which communicates with both Model and View. The Controller takes the data from the Model, process this data and sends it to the View to render it on to the browser. In order to increase the usability of code, MVC is used and scalability and maintanability becomes easy. CakePhp and other frameworks are popular among developers because it makes the development of websites faster and the performance better.

CakePhp

0