Giter Club home page Giter Club logo

cigenerator's Introduction

cigenerator

Code generator for CodeIgniter + Twitter Bootstrap + My Model. Built on top of CodeIgniter.

DEMO

http://dora.my/cigenerator/

about cigenerator

This Code Generator will generate basic CRUD (add, edit, delete, list) controller , model, view (add,edit form), javascript, and also the lang file. The model is utilizing Jamie Rumbelow MY Model which you can get it from Github.

why cigenerator

There are many CRUD generator out there, but not much to my liking. So I build this one for my own daily use and tailored to my preference and practice when coding. However instead just keep it to myself, I think maybe I can make it open source to improve it and also help others.

How to setup

  1. Set your database connection at application/config/database.php
  2. Change builds folder permission to 0777 if you are on unix platform (linux/mac)

How to use

  1. Choose table that you want to generate CRUD
  2. Choose field that will appeared in form
  3. Choose the form validation
  4. Generate!

Database table convention

Table name example : tb_department, tb_position PK field example : department_id, staff_id, position_id FK example : department_id, staff_id, position_id

By using same field name, we can auto generate relationship between 2 tables

Sample database for testing : sample_db.sql

cigenerator's People

Watchers

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