Monday, January 8, 2024

CodeIgniter 4 Basisc Guide for Starting new Project








CodeIgniter: CodeIgniter is an open-source PHP framework designed to build dynamic web applications

It follows the MVC (Model-View-Controller) architectural pattern, making it easier to separate presentation from logic and data handling.

It offers features like database abstraction, helpers for handling common tasks, security features, and a rich set of libraries

To Run CodeIgniter App -> php spark serve

Clear cache -> to clear cache - php spark cache:clear

to clear routes cache -> php spark routes:clear

Small Task to Learn Project Building - >

  • Create Controller Hello and Display Message.
  • Create Controller to display static page in View and set routes for it.
  • Create controller to load Contact form and when submit button clicked display message sent.
  • Create any Controller and Pass data to controller to View.

0 comments

Post a Comment