GithubHelp home page GithubHelp logo

bangraay / crud_ci_bootrstrap_modals_ajax Goto Github PK

View Code? Open in Web Editor NEW

This project forked from achmadalam/crud_ci_bootrstrap_modals_ajax

0.0 2.0 0.0 6.22 MB

ApacheConf 0.01% PHP 26.71% HTML 25.76% JavaScript 42.97% CSS 4.55%

crud_ci_bootrstrap_modals_ajax's Introduction

Proyek

CRUD_CI_Bootrstrap_Modals_AJAX

Pemilik

Gita Citra Puspita

Dibuat Pada

Selasa, 15 Nov 2016

Perubahan

TIDAK ADA

Informasi tentang proyek ini

  • Proyek ini menggunakan database mysql (kamu bisa mengecek file sql pada folder database).
  • Dikembangkan dengan menggunakan CodeIgniter Versi 3.1.2
  • Menggunakan modal dialog untuk form tambah, ubah, dan hapus.
  • Menggunakan Ajax untuk proses penerimaan dan pengiriman data ke server.
  • Alert menggunakan sweetalert.js.
  • Menampilkan data pada tabel menggunakan datatables server side.
  • Sebelum memasukan data kedalam datatables, data diubah dalam bentu json.
  • Proyek ini menggunakan template bootstrap dan adminLTE.

Struktur file dan folder pada proyek ini

  • application
    • cache
    • config
      • autoload.php : file pengaturan library apa saja yang secara otomatis akan di load saat sistem berjalan.
      • config.php : file pengaturan sistem untuk base url, dsb.
      • constants.php
      • database.php : file pengaturan koneksi dengan database.
      • doctypes.php
      • foreign_chars.php
      • hooks.php
      • index.html
      • memcached.php
      • migration.php
      • mimes.php
      • profiler.php
      • routes.php : file pengaturan routing sistem.
      • smileys.php
      • user_agents.php
    • controllers
      • Anggota.php : file controller yang mengatur proses / logic dari proses CRUD data pada tabel anggota
      • index.html
    • core
    • helpers
    • hooks
    • index.html
    • language
    • libraries
    • logs
    • models
      • Anggota_model.php : file model Anggota yang berisi fungsi insert, update, select, dan delete data pada tabel anggota.
      • index.html
    • third_party
    • views
      • anggota_view.php : file view yang berisi tampilan user interface untuk CRUD data anggota.
      • errors
      • index.html
  • assets : folder ini berisi file-file css dan js yang digunakan oleh sistem.
    • bootstrap
    • dist
    • plugins
  • database
    • db_anggota.sql : file database yang digunakan oleh sistem.
  • index.php
  • README.md
  • system
  • .htaccess

Perhatian!

Pada project ini ada file .htaccess yang harus kalian buat. Posisi file .htaccess dapat kalian lihat pada struktur file dan folder. Berikut isi dari file .htaccess tersebut:

		RewriteEngine on
		RewriteCond $1 !^(assets)
		RewriteRule ^(.*)$ index.php [L]
		RewriteCond $1 !^(index.php|assets)
		RewriteRule ^(.*)$ index.php/$1 [L]
	

FQA

Apa yang harus saya lakukan untuk mencoba project ini?

  • Kamu harus download project ini, ekstrak dan simpan di dalam folder htdocs/www.
  • Buat database dengan nama db_anggota.
  • Import file database db_anggota.sql yang ada pada folder database.
  • Buat file .htaccess pada root project.
  • Berikut isi dari file .htaccess tersebut:
    				RewriteEngine on
    				RewriteCond $1 !^(assets)
    				RewriteRule ^(.*)$ index.php [L]
    				RewriteCond $1 !^(index.php|assets)
    				RewriteRule ^(.*)$ index.php/$1 [L]
    			
  • Ubah setting koneksi database pada file database.php yang ada pada path /application/config/. Ubah pada poin:
    				'hostname' => 'localhost',
    				'username' => 'root',
    				'password' => '',
    				'database' => 'db_anggota',
    			
  • Jika kamu mengubah nama folder project ini silahkan ganti setting base_url pada file config.php yang letaknya di path /application/config/
    				$config['base_url'] = 'localhost/CRUD_CI_Bootrstrap_Modals_AJAX/';
    			

Hal-hal apa saja yang harus saya perhatikan untuk memahami project ini?

  • Kamu harus tahu apa itu codeIgniter.
  • Kamu harus tahu apa itu metode MVC.
  • Kamu harus tahu bagaimana cara menggunakan/menginstall codeIgniter.

Apa itu CodeIgniter?

CodeIgniter adalah sebuah framework php yang bersifat open source dan menggunakan metode MVC (Model, View, Controller).

Apa itu metode MVC?

MVC adalah sebuah metode pembagian proses menjadi tiga bagian Model, View, dan Controller.

  • Model merupakan sekumpulan modul yang berisi fungsi membaca data, mengubah data, menambah data, dan menghapus data.
  • View merupakan sekumpulan modul yang berisi tampilan user interface dari suatu sistem.
  • Controller merupakan sekumpulan modul yang berisi logic / proses dari suatu sistem.

Bagaimana cara menggunakan/menginstall CodeIgniter?

Cara menggunakan/menginstall CodeIgniter sangat mudah.

  • Download project ini.
  • Lalu ekstrak dan ubah nama folder menjadi CI agar mudah diakses nama projectnya pada browser.
  • Setelah itu pindahkan project / folder CI ke dalam folder htdocs atau www.
  • Akses project pada browser dengan mengetik http://localhost/CI

crud_ci_bootrstrap_modals_ajax's People

Contributors

gcp01234 avatar

Watchers

James Cloos avatar  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.