CodeIgniter 4 REST API, MySQL and Angular 10 CRUD Example

I am going to show you an example on Angular CodeIgniter 4 REST API MySQL CRUD. CRUD is an acronym and stands for Create, Read, Update and Delete operations. REST or RESTful is a Representational State Transfer which defines an architectural style in software engineering. The REST API works on HTTP or HTTPS protocol. The Angular framework will be used in this example for representing the UI (User Interface) where end users will perform CRUD operations.

Continue

REST API CRUD Example in CodeIgniter 4 Framework

Here I am going to show you how to build REST web services in PHP based Codeigniter 4 framework. CodeIgniter 4 is the upcoming version of the framework and it is still under development, intended for use with PHP 7.2 or higher version. REST is an acronym that stands for Representational State Transfer (RESTful), which is an architectural style for distributed applications. PHP based CodeIgniter framework enables developers to develop the projects much faster, it provides the core part that can easily be extended or replaced completely to make the…

Continue

Angular + CodeIgniter File Upload Example

Introduction Angular + CodeIgniter file upload example will show here how to upload a file to server. Here CodeIgniter will be responsible for storing the file into a server location and Angular will be used on UI side to interact with end users, who will browse and select a file for uploading. We will create CodeIgniter REST API and will integrate with Angular to upload a file.

Continue

Codeigniter REST + ReactJS CRUD Example

Introduction Here we will see Codeigniter REST + ReactJS CRUD example. We have seen previously Codeigniter REST API examples for GET, POST, PUT and DELETE but here we will see them together. We will use ReactJS as a front-end technology to represent our UI. In this example we will use Codeigniter version 3.1.9 and node version 6.11.3 and npm version 3.10.10. We basically create two projects – one is frontend or client side called web-app and another one is server side called ci-3-1-9. Obviously as the name suggests web-app, so it will…

Continue

AngularJS Codeigniter REST CRUD Example

In this Codeigniter AngularJS CRUD example, we will see the integration of AngularJS with Codeigniter REST. We are going to create CRUD application using Codeigniter REST API on server side and AngularJS is encapsulated within PHP file on client side. Thus the client will communicate with server asynchronously using AngularJS $http service. Please read the following tutorials before reading this tutorial Working with RESTful services in Codeigniter – GET example Working with RESTful services in Codeigniter – POST example Working with RESTful services in Codeigniter – PUT example Working with…

Continue

Working with RESTful services in Codeigniter – DELETE example

Introduction In this tutorial I am going to show you how we can work with RESTful or REST webservice in Codeigniter framework. You may also be interested in Working with RESTful services in Codeigniter – GET example, Working with RESTful services in Codeigniter – POST example  and Working with RESTful services in Codeigniter – PUT example The base/root URI for the Web service such as http://<host>/<appcontext/contextpath>/<url pattern>/<resources>. The MIME type of the response data supported, which are JSON/XML/TEXT/HTML etc. HTTP methods are mapped to CRUD (create, read, update and delete) actions…

Continue

Working with RESTful services in Codeigniter – PUT example

Introduction In the tutorial, working with restful services in codeigniter – put example, I am going to show you how we can work with RESTful or REST webservice in Codeigniter framework. You may also like the Working with RESTful services in Codeigniter – POST example,  Codeigniter GET example with REST service and Working with RESTful services in Codeigniter – DELETE example The base/root URI for the Web service such as http://<host>/<appcontext/contextpath>/<url pattern>/<resources>. The MIME type of the response data supported, which are JSON/XML/TEXT/HTML etc. HTTP PUT: Update an existing resource…

Continue

Working with RESTful services in Codeigniter – POST example

Introduction In this tutorial I am going to show you how we can work with RESTful or REST webservice in Codeigniter framework. You may also like the Working with RESTful services in Codeigniter – PUT example, Codeigniter GET example with REST service and Working with RESTful services in Codeigniter – DELETE example The base/root URI for the Web service such as http://<host>/<appcontext/contextpath>/<url pattern>/<resources>. The MIME type of the response data supported, which are JSON/XML/TEXT/HTML etc. HTTP methods are mapped to CRUD (create, read, update and delete) actions for a resource. Although…

Continue

Working with RESTful services in Codeigniter – GET example

Introduction In this tutorial I am going to show you how we can work with RESTful or REST webservice in Codeigniter framework. You may like also Working with RESTful services in Codeigniter – POST example, Working with RESTful services in Codeigniter – PUT example and Working with RESTful services in Codeigniter – DELETE example The base/root URI for the Web service such as http://<host>/<appcontext/contextpath>/<url pattern>/<resources>. The MIME type of the response data supported, which are JSON/XML/TEXT/HTML etc. HTTP methods are mapped to CRUD (create, read, update and delete) actions for a…

Continue