Sunteți pe pagina 1din 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

S-ar putea să vă placă și