Don't forget to Hit the Subscribe Button
Below: https://goo.gl/FZkVrR
----------------------------------------------------------------------------------------------------------
Topic Introduction:-
In this example, the landing page index.php will be the CRUD action controller. In this controller, the student and the attendance CRUD action cases are stacked by using PHP switch control structure.
The actions parameter is passed with the URL based on which the controller case will be executed. The model classes Student.php and Attendance.php are consisting of CRUD functions which will be called from the appropriate CRUD cases.
The model class functions are preparing the query and query parameters array. The query and its parameters are sent on invoking the appropriate database functions.
In the DBController class, the query statements are executed after binding the query parameters using MySQLi.
The control flow through the landing controller model DBController will be used to get the dynamic results. The dynamic results are rendered on the presentation layer which is created in the template files.
This essentially summarizes the MVC architecture and the flow of control between the different layers involved in the implementation.
Source Code: for source code Please leave your email id in the comment box.
---------------------------------------------------------------------------------------
Learn New Technologies -- Visit Our Channel --
https://www.youtube.com/tutorialspoint2016
1) CodeIgniter Mini Project Tutorial in Hindi/Urdu
Using Angular JS & Boostrap 3 : https://goo.gl/FSwsJ4
2) Codeigniter Tutorial for Beginners
Step by Step in Hindi : https://goo.gl/bxG6gJ
3) PDO-OOP-PHP-CRUD-with-Bootstrap : https://goo.gl/q1KRTn
4) AngularJS Tutorial for Beginners
(For Absolute Beginners ) : https://goo.gl/Hak26N
5) JSON Tutorial for Beginner : https://goo.gl/ryPu35
6) Git and GitHub Training In Hindi : https://goo.gl/HpToSd
7) Java Tutorial For Beginners
(Step by Step tutorial) : https://goo.gl/QxJ68x
8) PHP Tutorial for Beginners (For Absolute Beginners) : https://goo.gl/S3urkU
9) OOPS Tutorial for Beginners in PHP : https://goo.gl/k2kJDM
10) Bootstrap Tutorial for Beginners : https://goo.gl/NGFDse
11) Magic Methods in PHP Tutorial : https://goo.gl/BdYLfJ
12) Build a PHP MVC Application : https://goo.gl/yqDCkb
13) Whats new in PHP 7 | (Introduction) : https://goo.gl/rTTKkr
14) CRUD with PHP and MySQLi Tutorial : https://goo.gl/yyjWD7
15) Technology Tips and Tricks : https://goo.gl/MpR952
16) MongoDB Tutorial for Beginners (Hindi) : https://goo.gl/NZXD1u
---------------------------------------------------------------------------------------------
For any queries feel free to comment or send a mail on tutorialspoint2016@gmail.com
You can connect with us in social Media :-
facebook : https://www.facebook.com/TechnicalSunejaji/
Want to Join : https://www.facebook.com/groups/1981858225403035/
Don't forget to hit the Subscribe & Like button!
------------------------------------------------------------
Below: https://goo.gl/FZkVrR
----------------------------------------------------------------------------------------------------------
Topic Introduction:-
In this example, the landing page index.php will be the CRUD action controller. In this controller, the student and the attendance CRUD action cases are stacked by using PHP switch control structure.
The actions parameter is passed with the URL based on which the controller case will be executed. The model classes Student.php and Attendance.php are consisting of CRUD functions which will be called from the appropriate CRUD cases.
The model class functions are preparing the query and query parameters array. The query and its parameters are sent on invoking the appropriate database functions.
In the DBController class, the query statements are executed after binding the query parameters using MySQLi.
The control flow through the landing controller model DBController will be used to get the dynamic results. The dynamic results are rendered on the presentation layer which is created in the template files.
This essentially summarizes the MVC architecture and the flow of control between the different layers involved in the implementation.
Source Code: for source code Please leave your email id in the comment box.
---------------------------------------------------------------------------------------
Learn New Technologies -- Visit Our Channel --
https://www.youtube.com/tutorialspoint2016
1) CodeIgniter Mini Project Tutorial in Hindi/Urdu
Using Angular JS & Boostrap 3 : https://goo.gl/FSwsJ4
2) Codeigniter Tutorial for Beginners
Step by Step in Hindi : https://goo.gl/bxG6gJ
3) PDO-OOP-PHP-CRUD-with-Bootstrap : https://goo.gl/q1KRTn
4) AngularJS Tutorial for Beginners
(For Absolute Beginners ) : https://goo.gl/Hak26N
5) JSON Tutorial for Beginner : https://goo.gl/ryPu35
6) Git and GitHub Training In Hindi : https://goo.gl/HpToSd
7) Java Tutorial For Beginners
(Step by Step tutorial) : https://goo.gl/QxJ68x
8) PHP Tutorial for Beginners (For Absolute Beginners) : https://goo.gl/S3urkU
9) OOPS Tutorial for Beginners in PHP : https://goo.gl/k2kJDM
10) Bootstrap Tutorial for Beginners : https://goo.gl/NGFDse
11) Magic Methods in PHP Tutorial : https://goo.gl/BdYLfJ
12) Build a PHP MVC Application : https://goo.gl/yqDCkb
13) Whats new in PHP 7 | (Introduction) : https://goo.gl/rTTKkr
14) CRUD with PHP and MySQLi Tutorial : https://goo.gl/yyjWD7
15) Technology Tips and Tricks : https://goo.gl/MpR952
16) MongoDB Tutorial for Beginners (Hindi) : https://goo.gl/NZXD1u
---------------------------------------------------------------------------------------------
For any queries feel free to comment or send a mail on tutorialspoint2016@gmail.com
You can connect with us in social Media :-
facebook : https://www.facebook.com/TechnicalSunejaji/
Want to Join : https://www.facebook.com/groups/1981858225403035/
Don't forget to hit the Subscribe & Like button!
------------------------------------------------------------
- Category
- Start web programming
Comments