0% found this document useful (0 votes)
46 views

What Is Framework?: Apsi 4Th Module

CodeIgniter is a PHP framework that uses the MVC model to build dynamic websites. The framework makes it easier for programmers to create structured web applications with plugins and concepts. The framework includes folders for controllers, views, and models. The controller interacts with the model to obtain data from the database and sends it to the view to display. The view contains HTML tags and output variables from the controller. The model handles all database interactions and CRUD operations. Some common CodeIgniter commands include loading a view, creating functions, retrieving input data, performing calculations, and loading models. These commands help manage the flow between the MVC components when building an application.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

What Is Framework?: Apsi 4Th Module

CodeIgniter is a PHP framework that uses the MVC model to build dynamic websites. The framework makes it easier for programmers to create structured web applications with plugins and concepts. The framework includes folders for controllers, views, and models. The controller interacts with the model to obtain data from the database and sends it to the view to display. The view contains HTML tags and output variables from the controller. The model handles all database interactions and CRUD operations. Some common CodeIgniter commands include loading a view, creating functions, retrieving input data, performing calculations, and loading models. These commands help manage the flow between the MVC components when building an application.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

APSI 4TH MODULE

WHAT IS FRAMEWORK? WHAT IS THE WHAT IS FOLDER


Framework is a software to make it easier for FUNCTION OF MODEL?
programmers to create a web application in which FOLDER VIEWS?
there are various functions including plugins, and
concepts to form a particular system so that it is
The view contains The model holds all
arranged and structured neatly.
the HTML tags and methods related to
Framework types are larvae, ci, yii, cakephp,
fuelphp, and symfoni also the output interactions with the
variables sent by the database. So CRUD
Controller. In View operations (Create,
WHAT IS CODEIGNITER? there cannot be a Read, Update,
code to interact with Delete) are all in the
CI / CodeIgniter becomes a PHP framework with the database. Model.
the MVC model (Model, View, Controller) to build
dynamic websites using PHP which can
accelerate developers to create a web application.
Besides being lightweight and fast, CodeIgniter
also has super-complete documentation along
with examples of code implementation.

WHAT IS THE FUNCTION OF


FOLDER CONTROLLERS?

The controller is a bridge between the Model


and View. The controller interacts with the
Model to obtain data from the database then
sends it to View to display.

THE COMMANDS FOUND IN CODEIGNITER.


1. $ this-> load-> view ('welcome_message');
WHAT IS MVC?
Used on the controller which functions to call the view folder
named "welcome_message" MVC or the view controller
2. Public function perkalian () {} model itself is a patent /
aims to create a function called multiplication
programming technique
3. $ data ['v1'] = (double) $ this-> input-> post ('v1', true); //
that separates the flow,
retrieve the value entered
Aim to enter data 1 which is of type double
data and interfaces from
4. $ data ['result'] = $ data ['v1'] * $ data ['v2']; the system that is simply
Aim to manage data that has been inputted MVC that separates
5. $ this-> load-> model ("student"); design, data and process.
Aim to download the model named student

You might also like