Grocery CRUD - Library Add Editing Delete Data Automatically From MYSQL




CRUD (Create, Read, Update, Delete) is a very familiar function for backend programmers. To save time in building this function in projects using Codeigniter Framework, BlogITCode would like to share with you the Grocery CRUD library.

Grocery CRUD is a library that has pre-built functions for adding, reading, updating, and deleting data. You just need to download this library and embed it in your project, then use the pre-built functions to manipulate the database without having to build a model.

Note:

  • When downloading the Grocery CRUD library, you can customize the language (language folder) and the display template for adding, reading, updating, and deleting data (theme folder).
  • In some cases, your interface may already have embedded jquery.js (jquery.min.js), so you need to disable the jquery.js provided by this library to avoid conflicts. The steps are as follows:
  • Open the list_template.php file (grocery_crud/themes/choose the theme used (e.g. flexigrid)/) and remove the code segment: $this->set_js_lib($this->default_javascript_path.'/'.grocery_CRUD::JQUERY); then save.
  • Next, open Grocery_CRUD.php (CI libraries folder), find and remove the code segments $this->set_js_lib($this->default_javascript_path.'/'.grocery_CRUD::JQUERY); then save.

* If you want to use Grocery CRUD  you have to follow these requirements to use the application.: PHP 5.6 - 7.x, Apache, MYSQL, Codeigniter

* Download : https://www.grocerycrud.com/downloads

* Installation guide: https://www.grocerycrud.com/documentation

Previous Post Next Post