Skip to content

lagc03/ci-skeleton-3

Repository files navigation

A CodeIgniter clean skeleton application based on twitter bootstrap


VERSION 1.0

  • tested with php version 5.6.19

INCLUDES

  • Codeigniter 3.1.3
  • bootstrap 3.3.7
  • font awesome 4.7.0
  • view rendering handled by a smart MY_Controller. (Alessandro Arnodo)
  • jQuery 3.1.1
  • nav_helper (Alessandro Arnodo)
  • .htaccess tip for remove index.php (Alessandro Arnodo)
  • basejs view always include in page. (usefull to access via js some server side information e.g. base_url())

USAGE

  1. edit .htaccess file in order to match your server config (see line 5 in the file); if you have http://localhost/site you need to set RewriteBase /site/
  2. set up your defaults values in application/config/development/custom.php
  3. take a look to home controller and template view files to understand how does rendering works.
  4. create your template: set up an header, footer, nav, and main for example purpose. Skeleton.php contains the scaffolding page.
  5. pass your data to the view using in controller $this->data["my_var"] = "value";

My_Controller (Alessandro Arnodo)

is made for basic page template. You need to customize it in order to match your needs.

My_Model (Jamie Rumbelow)

It provides a full CRUD base to make developing database interactions easier and quicker, as well as an event-based observer system, in-model data validation, intelligent table name guessing and soft delete.

Contributor

####Luis Garnica (updated plugins and moved to CI 3.1.3)

Authors

####Alessandro Arnodo (original CI Skeleton and My_Controller)

####Jamie Rumbelow (My_Model author)

About

Skeleton App for Codeigniter 3.1.3

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
license.txt

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages