Friday, July 10, 2020

What is CakePHP 4?


CakePHP



What is CakePHP? 

CakePHP is web application development framework based on PHP (Hypertext Processor). It is an open source scripting language and widely supported by the developers communities. It follows the MVC (Model, View and Controller) development pattern. 

What is the latest version available? 

At the time of this blog the latest version 7.4.8 of PHP released on 9th July 2020, for reference visit the link. CakePHP latest version 4.0 is available, for more information you can visit the link

What’s new in CakePHP 4.0? 

Most important thing in this new release the developers has revamped the application skeleton with more advance APIs which accelerates the development of application. New CakePHP requires minimum PHP version 7.2.

What is required for getting ready with CakePHP? 

To get starting developing application with CakePHP, there are few basic requirements that need to be fulfil.
  1. You need HTTP web server most recommended is Apache HTTP Server. It is an open source project started in April 1996. The latest version 2.4.43 of Apache HTTP Server released on 1st April, 2020. It is available for all modern OS, Windows, Linux, Mac etc.
  2. Minimum PHP version 7.2 but recommended is 7.4 latest.
  3. Minimum PHP extensions installed mbstring, intl, simplexxml and PDO.
The best method to install the PHP and Apache server is to download the XAMPP (Apache + MariaDB+ PHP+Perl) installer and it makes your life easy. The XAMPP installer is available on the following link

How to Install XAMPP? 

Go to the XAMPP website and download the latest version for your desired OS platform. 

For this blog we will download the windows based installation package. 

Steps you need to follow the installation.

Once it is downloaded on your drive, go to the location and double click the installer executable file. If you see the below screen, ignore the message and click on yes to continue with installation.


Then you will see another warning like below, It is recommended to install it to another location instead of C:\Program Files.




After clicking on OK on the warning dialog, welcome scree of installation wizard will appear. Click on next.


On select component page you can unselect the optional component but it is recommended to install all the components, you will need them at later stage. Click on next.


On next page select the installation location, you can select any location other than the C:\ Program Files, it is not recommended due to security restriction of windows. Click on next.


On next page select your language and click on next.



Click next and Click next, it will start installation. Installation process will take some time based on the speed of your computer.


After installation it will ask you to allow the access to Apache server through firewall. Allow access either on you private network or public network as per your need and finish the installation.



Once you have installed XAMPP with all its option, you have setup your basic development environment. Well done.

The mission is not ended here, to continue please subscribe the mailing group so you can hear from us when new blogs are published.

In the next blog we will continue the configuration of XAMPP and installation, configuration of CakePHP. Stay with us.


Related Posts:

  • What is CakePHP 4 Development Strategy?Hi guys, in the last article we have discussed the design pattern of CakePHP 4.0, today we will discuss the development strategy. When we talk about strategy, first question comes in the mind from where we should start. So th… Read More
  • What is the Design Pattern of CakePHP 4?CakePHP 4.0 follows the MVC (Model-View-Controller) design pattern. MVC consist on three main components. Model, View and Controller Model Any application which is dynamic in nature depend on data, model is the container of… Read More
  • How to create Model in CakePHP 4?Model is an important component of MVC design pattern, models are basically responsible for storing data and exchange with other layers in the application, in CakePHP models are fat layer and serve as business and data access… Read More
  • What is CakePHP 4?What is CakePHP? CakePHP is web application development framework based on PHP (Hypertext Processor). It is an open source scripting language and widely supported by the developers communities. It follows the MVC (Model,… Read More
  • How to create controller in CakePHP 4?Hi guys, in our last article we have seen how to setup database in MySQL. It is the first step to start application in CakePHP, or Database First approach. If you have not seen the article visit the link How to setup Database… Read More

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.