Giter VIP home page Giter VIP logo

codeigniterplus's Introduction

#Codeigniterplus

Build Status

Codeigniterplus is scaffolding for a good standard web application, built on the top of codeigniter framework and extended with various other third party frontend/backend libraries/techonlogies. This will help developers to have a kick-ass quick start along their way to better managed web application development.

See Release Notes

See The Complete List Of Libraries Used For This Project

View Live Demo

Technical Requirement

  • PHP version 5.3.x
  • Mysql version 5.x+ Database Engine(Should work with other db as well which doctrine support. But I haven't tested yet)
  • Composer (to install and use third party libraries through it, which is highly recommended).
  • Bower to install front-end any third party packages.

Basic Site functionality

  • Set up with modern dependency based PHP development standard.
  • Set up with modern front end development stack(bower, bootstrap, jQuery).
  • You will get ready made authentication functionality
  • An organized integrated view template structure so that you don't get lost in a sea of view files.
  • Separate view root for front-end/public pages and back-end/authenticated users' pages.
  • Basic Administration panel, to perform administration functionality. You have your freedom to add as much as you want :).
  • Integrated basic SEO settings, seo for pagination.

See all available feature in details also.

*nix Installation

  • Change application/config/database.php according to your database server credential and commit locally(or add that file to .gitignore file).
  • Create a makefile as instructed on deployment wiki page.
  • run the 'make all' command.

Windows Installation

This project is tightly coupled with composer and bower. So, make sure you have them installed and you know the basics!

  • Crate a new project with your chosen name.
  • Paste all file from CodeIgniterPlus to your project directory.
  • Run "composer update" command to get doctrine dependency installed.
  • Run "bower install" command to get latest front-end packages installed.
  • Change 'RewriteBase' on '.htaccess' file as per your your chosen name. If using root level domain, just remove it and keep as 'RewriteBase /'.
  • Create a database with your given database name in config/database.php file.
  • Now edit config/database.php file; Here change the database server, database name, user name and password as per your database server.
  • Make sure the following directories exists(create if not) and do have write permission by the application(easy to have them with '777' mode):
    • {root}/application/cache
    • {root}/application/logs
    • {root}/application/models/proxies
  • Run http://{domain_path}/home/db_schema for create database tables from the doctrine entities, automatically. (Note :Every time when you update your entity file in models/entity directory just Run the above url for update existing schema.)
  • run the application, register with username 'admin'. This will cause to create default two roles 'admin' and user automatically and will make user 'admin' in 'admin' role. From this on, whenever a registration happens, all will be assigned default 'user' role. (Note: If you wish to change this functionality please do so on 'application/libraries/DX_Auth.php', starting at line 930.)

HomePage Screenshot:

Codeigniterplus Home Screen

References:

And introductory post to codeigniterplus: Introduction To CodeIgniterplus

Future Considerations:

  • Docker Integration(in progress!)
  • Front End enhancements: integrate requirejs, angularjs, grunt.
  • Unit Tests: add necessary PHPUnit tests for custom classes.
  • Acceptance/Functional Test: Using Codeception.
  • Support for other view engine: Current view engine logic already seperated to MY_Controller class. Additional logic should be integrated to generalize view engine choice, so that developers can use other engines they like, such as twig

Your Contribution

You can choose from the above 'Future considerations' section as well. In that case, you can optionally create a issue mentioning which feature you want to work on. Then, fork the repo, implement the feature/make changes and create a pull request. Thanks!

codeigniterplus's People

Contributors

jeferex avatar nilacseruet avatar ranacseruet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

codeigniterplus's Issues

Problem in Messages Add

Class 'PdContact' not found in C:\xampp\htdocs\codeigniterplus\application\modules\admin\controllers\message.php on line 141

Pagination doesn't work

The pagination doesn't work. In messages, I inserted 15 rows. When I go to page number 1, everithing is OK but page number 2 shows me messages with Id > 2 and it should show messages with id > 10.

Please check it out.

Delete the RewriteBase option

The option RewriteBase is not necessary the user may comment the option. i were using the option and were return a error message.

Error message

Severity: Warning

Message: Creating default object from empty value

Filename: core/MY_Controller.php

Line Number: 60

Yes, I am using php 5.4.4

File is missing

Message: include(./vendor/autoload.php): failed to open stream: No such file or directory

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.