Category: Phalcon Front-End

  • VOLT: Template Engine

    Volt provides Phalcon fast execution as it is very fast and designer friendly templating language written in C for PHP. It has many helpers defined to write views. Volt is inspired by Jinja and written by Armin Ronacher. Implementation Volt views are compiled in php which saves time to write php code manually. Activating Volt In…

  • Phalcon Views

    View represents the front-end of the application. It consists of HTML files embedded inside PHP code which creates the view of the application. View provides the data to the web browser from your application. Phalcon\Mvc\View and Phalcon\Mvc\View\Simple are responsible for the managing the view layer of MVC application. Integrating Views with controller Views are automatically integrated when controller…

  • Phalcon Image

    This component allows developers to manipulate image files. We can perform multiple operation on a single image file. Adapters Adapter are used to encapsulate specific image manipulator programs. The following image manipulator programs are supported: Class Description Phalcon\Image\Adapter\Gd Requires the GD PHP extension Phalcon\Image\Adapter\Imagick Requires the ImageMagick PHP extension Implementation Resizing Image We can resize…

  • Phalcon Forms

    It handles creation and maintenance of forms in the web application. Now, as we have designed a basic web-app before we would be adding signup form. Designing Signup form Change the index.phtml viewfile, add the signup page link as a controller. app/views/index/index.phtml OUTPUT: Now, we write the signup controller app/controllers/SignupController.php Initializing Form In this form, we provide…