"Simple Ajax Codeigniter CRUD application in Hindi (Create, Read, Update, Delete)" is a video series tutorial based on Jquery, Ajax, Codeigniter, MySql and Bootstrap 4 in this video you will learn following concepts.
- How to create a ajax based CRUD application step by step.
- How to use bootstrap & Jquery to create an ajax crud application
Here are the Steps for part 1
===========================================
Here are the steps you can follow
1) Download and setup codeigniter from codeigniter official website, you can also follow my video regarding codeigniter configuration.
2) Create a database using phpMyadmin and create a car_models table which we will use in our ajax crud application.
id, name, price, transmission(Automatic, Manual), color, created_at, updated_at
3) Configure codeigniter using config.php/database.php/autoload.php files.
4) Create a Controller called "CarModel" in application/controllers folder.
5) Create a index method in "CarModel" controller, which will show car models listing page.
6) Create a view file called list.php in application/views folder, you can create a subfolder if you want to place inside a sub folder.
7) Download bootstrap.css and bootstrap.js files and place inside a folder called assets in root directory.
8) Now in list.php view file we will integrate bootstrap.css/bootstrap.js/style.css files, we will also write some code which you can see in video.
==================================================
CREATE
==================================================
Create functionality
9) Create a bootstrap modal where we will add a Create form to add new car models.
10) Create a method called "showCreateForm" in "CarModel" controller which will return a Create form view as string.
11) Create a view file called create.php in application/views/car_models folder and write form there.
12) Create an ajax request, fetch create form and put inside bootstrap dialog.
13) Create a function "saveModel" in "CarModel" controller, this function will apply validation and add car model record in database.
14) Create a Model file called "Car_model.php" in application/models/ folder, this model will do all the database operation related to car_model add/update/delete.
15) Create a "create" method in "Car_model.php" model, which will add record in database.
16) Use "create" method in "saveModel" function to add a record.
17) Now create a alert dialog which will show success message after adding a record in DB.
If you have any questions, please post your comment and I will try to help you asap. And please don't forget to Like, Subscribe & Share.
My other videos:-
Simple Blog Application in Codeigniter (Video Series)
• Simple Blog Application In Codeignite...
Simple Codeigniter CRUD application in Hindi (Create, Read, Update, Delete)
• Simple Codeigniter CRUD application i...
What is Codeigniter in Hindi
• What is Codeigniter in Hindi
🔶 Keywords 🔶
#codeigniter
#codeignitertutorial
#codeignitercrud
🔶 Youtube Equipments:-
1) 2020 Apple Mac Mini ♦︎ https://amzn.to/3yuisa9
2) WD Elements USB 3.0 1TB Portable External Hard Drive ♦︎ https://amzn.to/3Ro8Ru6
3) JBL Headphone ♦︎ https://amzn.to/3AKz7Jg
4) Dell E2420HS 24 Inch (60.9 cm) FHD (1920 x 1080) LED Backlit LCD IPS Monitor https://amzn.to/3RojihB
5) boAt Rockerz 450 ♦︎ https://amzn.to/3PdNR7M
🔶 Microphone
1) Boya BYM1 Omnidirectional Lavalier Condenser Microphone ♦︎ https://amzn.to/3ySYk32
2) Maono AU-903 Portable USB Microphone ♦︎ https://amzn.to/3c28WDO
🔶 Keyboard
1) Logitech K120 Wired Keyboard for Windows ♦︎ https://amzn.to/3nV2bWQ
2) HP K500F Gaming Keyboard ♦︎ https://amzn.to/3yuVlMT
3) Apple Magic Keyboard with Numeric Keypad ♦︎ https://amzn.to/3yvuakW