GithubHelp home page GithubHelp logo

dco5 / catalogue Goto Github PK

View Code? Open in Web Editor NEW

This project forked from asyafrudin/catalogue

0.0 1.0 0.0 739 KB

A sample project showing how to integrate CodeIgniter, DataTables, and jeditable.

PHP 99.33% CSS 0.42% JavaScript 0.25%

catalogue's Introduction

***********
DESCRIPTION
===========
This is a sample project containing a running copy of CodeIgniter integrated with DataTables and jeditable to implement a simple product catalogue. This project is nowhere near an actual catalogue. It only shows how to build a simple data management application with DataTables and jeditable as the front-end and CodeIgniter as the back-end of the application. The following basic functionalities are available:
- List of existing products.
- Add new product.
- Delete existing product.
- Edit existing product.

Listing of products (Product List) are implemented using DataTables. Delete functionality is implemented with custom delete buttons for each row of data in the Product List. Edit functionality is implemented with in-place editor supported by jeditable. Add functionality is implemented with standard HTML form.

Each Product has their own Category. With a many-to-one relationship between Product and Category, this project also shows how to list data from multiple table in DataTables. It also shows how to implement in-place editing of each Product's Category using built-in drop down list feature in jeditable.

******************
TOOLS OF THE TRADE
==================
- CodeIgniter (2.1.3).
  http://codeigniter.com/  
- jQuery (1.8.2)
  http://jquery.com/
- jQuery UI (1.9.1)
  http://jqueryui.com/
- DataTables (1.9.4).
  http://datatables.net/
- jeditable (November 23, 2012)
  http://www.appelsiini.net/projects/jeditable
- DataTables Server Side Script for CodeIgniter (November 26, 2012)
  https://github.com/blake-nouribekian/codeigniter-datatables

************
HOW TO SETUP
============
0. Import required database from sql/catalogue.sql.
1. Add a copy of CodeIgniter's database.php config file to application/config/ tailored to suit your local MySQL database configuration.
2. Off you go!

*******************
FILES WORTH LOOKING
===================
Here are the list of files you should pay attention if you want to make further modification:
- application/controllers/*.php
- application/models/*.php
- application/views/*.php
- application/libraries/*.php
- css/*
- js/*

NOTE: sql/catalogue.sql are important to import the neccessary database objects for this project.

catalogue's People

Contributors

asyafrudin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.