Skip to main content

Posts

Showing posts from 2020

Simple Codeigniter 4 CRUD Application in Hindi (Introduction & Installation) - Part 1

============================================== Simple Codeigniter 4 CRUD Application in Hindi ============================================== Server Requirements: ------------------------------------ PHP version 7.2 or newer is required, with the *intl* extension and *mbstring* extension installed. Currently supported databases are: ------------------------------------ MySQL (5.1+) via the MySQLi driver PostgreSQL via the Postgre driver SQLite3 via the SQLite3 driver https://codeigniter4.github.io/userguide/intro/requirements.html ------------------------------------- Installation ------------------------------------- 0) You need to install Composer first, if you already installed you can skip this step. 1) Open your working folder, if you are using xammpp you need to open htdocs directory. 2) Now open CMD and go to htdocs folder, and run the composer command given below. composer create-project codeigniter4/appstarter ci4_crud Note: make sure *intl* and *mbstring...

Codeigniter tutorial in Hindi ( get_instance() )

"Codeigniter tutorial for beginners step by step in Hindi 2020" is a video series for beginners who want to learn the Codeigniter framework from scratch. This Codeigniter tutorial video series is perfect for beginners who want to learn from scratch, during the video series I will cover most of the topics of Codeigniter framework. Topic:- In this video, I have explained about get_insance() method. In Codeigniter custom libraries or custom helpers, you will not be able to access Codeigniter resources using $this super object. For this situation, we use &get_insance() and it returns a reference of the super object Syntax $CI = & get_insance(); Now we are able to access Codeigniter resources the way given below:- $CI→load→library(''yourLibraryName'); $CI→yourLibraryName→yourMethod()

Codeigniter tutorial in Hindi (Core classes)

"Codeigniter tutorial for beginners step by step in Hindi 2020" is a video series for beginners who want to learn the Codeigniter framework from scratch. This Codeigniter tutorial video series is perfect for beginners who want to learn from scratch, during the video series I will cover most of the topics of Codeigniter framework. Topic:- In this video I have explained about core classes of the Codeigniter framework, I also explained how you can extend the Controller core class. Here are the steps you need to follow to extend the core class. Step 1) Create a file in the application/core folder and save something like this "MY_Controller.php". Step 2) Now create a class MY_Controller and extend with CI_Controller as we are extending CI_Controller, now you will get all parent properties because of inheritance. Step 3) Now you can create your methods inside this class.

Codeigniter tutorial in Hindi (Extending Helpers)

"Codeigniter tutorial for beginners step by step in Hindi 2020" is a video series for beginners who want to learn the Codeigniter framework from scratch. This Codeigniter tutorial video series is perfect for beginners who want to learn from scratch, during the video series I will cover most of the topics of Codeigniter framework. Topic:- In this video, you will learn how to extend a helper in Codeigniter framework. Here are the steps you can follow to extend a helper in Codeigniter framework.

Codeigniter tutorial in Hindi (Extending Libraries)

"Codeigniter tutorial for beginners step by step in Hindi 2020" is a video series for beginners who want to learn the Codeigniter framework from scratch. This Codeigniter tutorial video series is perfect for beginners who want to learn from scratch, during the video series I will cover most of the topics of Codeigniter framework. Topic:- In this video, you will learn how to extend a library in Codeigniter framework. Here are the steps you can follow to extend a library in Codeigniter framework.

Codeigniter tutorial in Hindi (Custom Library)

"Codeigniter 3 tutorial step by step in Hindi" is a video series for beginners who want to learn the Codeigniter framework from scratch. This video series is perfect for the beginners who want to learn from scratch, during the video series I will cover most of the topics of Codeigniter framework. Topic:- In this video, you will learn how to create and use a custom library in the Codeigniter framework. Here are the steps you can follow to create and use a custom library in the Codeigniter framework.

Codeigniter tutorial in Hindi (Custom Helper)

"Codeigniter tutorial for beginners step by step in Hindi 2020" is a video series for beginners who want to learn the Codeigniter framework from scratch. This Codeigniter tutorial video series is perfect for beginners who want to learn from scratch, during the video series I will cover most of the topics of Codeigniter framework. Topic:- In this video explained how you can create and use custom helpers in Codeigniter. Here are the steps you can follow to create and use a custom helper.

Codeigniter tutorial in Hindi (Helpers)

"Codeigniter tutorial for beginners step by step in Hindi 2020" is a video series for beginners who want to learn the Codeigniter framework from scratch. This Codeigniter tutorial video series is perfect for beginners who want to learn from scratch, during the video series I will cover most of the topics of Codeigniter framework. Topic:- Codeigniter has two types of facilities that can help in the development of the application these are Libraries and Helpers. All the CodeIgniter libraries and helpers are placed in the system folder.

Codeigniter tutorial in Hindi (Libraries)

"Codeigniter 3 tutorial step by step in Hindi" is a video series for beginners who want to learn the Codeigniter framework from scratch. This video series is perfect for the beginners who want to learn from scratch, during the video series I will cover most of the topics of Codeigniter framework. Topic:- Codeigniter has two types of facilities that can help in the development of the application these are Libraries and Helpers. All the CodeIgniter libraries and helpers are placed in the system folder.

Codeigniter tutorial in Hindi (Model #2)

"Codeigniter tutorial for beginners step by step in Hindi 2020" is a video series for beginners who want to learn the Codeigniter framework from scratch.  This Codeigniter tutorial video series is perfect for beginners who want to learn from scratch, during the video series I will cover most of the topics of Codeigniter framework.   Topic:-  This video is part 2 of my previous Codeigniter model video, in this video, I have explained how you can use query builder in Codeigniter and fetch records from the database using a Model.

Simple Ajax Codeigniter CRUD application in Hindi Part - 3

"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 3 ====================================================== UPDATE ====================================================== Edit functionality 21) Now in this step we will create a javascript function that will fetch info of a record using ajax in json format. And then we will populate this information in edit dialog form. We will use the same dilaog box that we used to create a record but internal form will be different. 22) Create a method called "getRow" in Car_model.php model to fetch a single record from database. Now In CarModel controller we will create a method called "getCarModel...

Codeigniter tutorial step by step in Hindi (Active Record Class)

"Codeigniter 3 tutorial step by step in Hindi" is a video series for beginners who want to learn the Codeigniter framework from scratch. This video series is perfect for the beginners who want to learn from scratch, during the video series I will cover most of the topics of Codeigniter framework. In this video, I have explained about Codeigniter Active Record Class. After going through this video you will understand the benefits of Active Record Class. I also explained how to use different methods of active record class, you can get the full documentation of Active Record class on Codeigniter official website.

Codeigniter 3 tutorial step by step in Hindi (Models #1)

"Codeigniter 3 tutorial step by step in Hindi" is a video series for beginners who want to learn the Codeigniter framework from scratch. This video series is perfect for beginner who wants to learn from scratch, during the video series I will cover most of the topics of Codeigniter framework. In this video I have explained about codeigniter views, how to create a view in Codeigniter 3, how to call a view in Controller.

Codeigniter 3 tutorial in Hindi (Controller)

"Codeigniter 3 tutorial step by step in Hindi" is a video series for beginners who want to learn the Codeigniter framework from scratch. This video series is perfect for beginner who wants to learn from scratch, during the video series I will cover most of the topics of Codeigniter framework. In this video I have explained how to about codeigniter controller, how to create a controller in Codeigniter, how to use controller in Controller.

Codeigniter 3 tutorial in Hindi (How to configure)

"Codeigniter 3 tutorial step by step in Hindi" is a video series for beginners who want to learn the Codeigniter framework from scratch. This video series is perfect for beginner who wants to learn from scratch, during the video series I will cover most of the topics of Codeigniter framework. In "Codeigniter 3 tutorial step by step in Hindi (How it Works)" video you will learn how Codeigniter works.

Codeigniter tutorial in Hindi (How it Works)

"Codeigniter 3 tutorial step by step in Hindi" is a video series for beginners who want to learn the Codeigniter framework from scratch. This video series is perfect for beginner who wants to learn from scratch, during the video series I will cover most of the topics of Codeigniter framework. In "Codeigniter 3 tutorial step by step in Hindi (How it Works)" video you will learn how Codeigniter works.

Codeigniter tutorial in Hindi (Directory Structure)

Codeigniter Directory Structure If you want to learn a framework you first have to understand the directory structure of a framework, so I've attached a screenshot above.    When you'll download the footprint of the Codeigniter framework from the Codeigniter official website, you will see the directory structure as shown in the above image. Because it has a very small footprint something around 2.6 MB, it is a very fast and stable framework. If you see the screenshot, you will see 4 folders. And each folder has some subdirectories. Now let me explain these directories. application:- This is the folder where we mostly write our business logic. It consists of models, views, controllers, config, and other important stuff. Overall, all your code will be placed under the application directory.       system:-  This is the folder where you will see all the core files of the Codeigniter framework. It is highly advisable to don't make c...

Codeigniter tutorial in Hindi (Introduction)

Codeigniter is an open-source PHP framework that is widely used for creating small/large scale web applications. It is based on the most popular design architecture called MVC. It comes with built-in reusable libraries which enhances the efficiency of a developer while developing an application. MVC design architecture There are many design architecture in programming language and the most popular is MVC. If your application is based on MVC, that simply means, your application has three design layers.  M => Model V  => View C => Controller Model => In a model, we do all the database related operations like fetch or select the data from a database, update a record in the database or delete a record from the database.     View => In a view, we write all the stuff like HTML, CSS, and Jquery. So, we can say the frontend we see in a browser is a view. Controller => Well, In the controller, we write our business logic, it works as...