Skip to content

NeroJz/ci_doctrine

Repository files navigation

Codeigniter 2 integrated with Doctrine ORM

Feel lazy to write SQL statements? Feel overwhelming on the relationship between the tables?
Doctrine ORM is a solution for you

Hi, this is a pet project that utilized Codeigniter and Doctrine

It uses Object Relational Mapping to map your model to database's tables. For simplicity, it makes developer writes less code in querying database. Please refer Doctrine Official Website for more information.

This project aims to provide brief introduction on how to use Doctrine in CI project.
This project provides a starting point for you to explore the features of Doctrine. To fully experience the advantages of using Doctrine, it is recommended to study other more sophisticated frameworks like Symfony or Laravel.

To use this framework, follow the steps below:

1. Download the files from this repository.

2. Update the database configuration inside the application/config/database.php

3. Run "composer update" to download all dependencies

4. Run "bower install" to install bootstrap / jquery

5. Run "php application/doctrine.php org:scheme-tool:create" to generate the tables in database.

There are some examples inside the controllers folder. Kindly refer these file to see how it's work.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages