Author: Awais Farooq

  • Controllers

    In MVC framework, “C” stands for the Controller which refers to the switchboards of the web application. The actions undertaken by the controller, helps to pass parameters to the view so that it can display and respond to the user input accordingly. For example, if we register through a sign-up form which includes details of…

  • Configuration

    The config folder of the web application includes the following files − config.php It includes the configurations for database connectivity and routing as per the directory path. loader.php It extends the existing class of \Phalcon\Loader(). The loader class registers the directories which requires web application. services.php This file associates all the functions which implement the services…

  • Functionality

    Model View Controller (MVC) is a software design and structural pattern for developing webbased applications. This software architectural separates the representation of information from the user’s interaction with it. The MVC model defines the web applications with three logic layers. Model Models are objects which represent knowledge. There should be a one-to-one relationship between the model…

  • Application Structure

    In this chapter, we will discuss the Application Structure of Phalcon. Following is the complete directory structure of a Phalcon project. There is one root folder which is considered as the code base and is publicly available for the web server. It is also called as web directory. Other folders outside the web root directory are considered out…

  • Environmental Setup

    Prerequisites − We need WAMP/LAMP/MAMP or XAMPP stack for this framework. Following are the steps for the installation process of Phalcon framework in Windows. Step 1 − Phalcon installation is completely dependent on dll file. DLL (Dynamic Link Library) creates the required package and plugins for Phalcon. The following link is used for downloading dll file − https://phalconphp.com/en/download Step 2 −…

  • Overview

    Phalcon is introduced as one of the recent frameworks of PHP, developed by a group of enthusiastic developers. Phalcon is a loosely coupled framework, which means it allows its objects to be treated like glue components, based on the needs of application. Phalcon offers some unique features in comparison to other frameworks (traditional or existing)…

  • Open Source

    Phalcon is open-source software released under the terms of the BSD License.

  • CLI Support

    It provides command-line interface tools for tasks like generating code, migrations, and more.

  • Support for PHP 7+

    Phalcon supports PHP 7 and higher versions, ensuring compatibility with modern PHP development practices.

  • Extensive Documentation

    It offers extensive documentation and resources for developers looking to learn or work with the framework.