https://github.com/n2geoff/codeigniter-starter
Codeigniter Project Starter
https://github.com/n2geoff/codeigniter-starter
codeigniter php restful-api starter-template
Last synced: about 2 months ago
JSON representation
Codeigniter Project Starter
- Host: GitHub
- URL: https://github.com/n2geoff/codeigniter-starter
- Owner: n2geoff
- Created: 2012-11-04T18:18:17.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-12-09T03:55:27.000Z (over 6 years ago)
- Last Synced: 2025-01-16T08:15:02.244Z (3 months ago)
- Topics: codeigniter, php, restful-api, starter-template
- Language: HTML
- Size: 5.04 MB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
CodeIgniter Starter Project
----A re-structured version Codeigniter, bootstrapped with the webs best libraries to provide a scaleable, out-of-the-box development stack (IE8+).
#### What's Included
- [Codeigniter - 2.2.2](http://www.codeigniter.com)
- [Rest Server](https://github.com/philsturgeon/codeigniter-restserver)
- [Modular Extensions - fecd39c](https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/)
- [HTML5 Boilerplate - 5.2](http://html5boilerplate.com/)
- [Twitter Bootstrap - 3.3.4](http://getbootstrap.com/)
- [JQuery - 1.11.3](http://jquery.com/)## Setup
### 1. Clone Repo
clone git://github.com/n2geoff/codeigniter-starter.git
### 2. Configure Apache Virtual Host
DocumentRoot "/application/public/"
ServerName application.dev
ErrorLog "logs/application-error.log"
CustomLog "logs/application-access.log" combined
### 3. Start Developing
## Folder Structure
codeigniter/
2.2.2/ <-- Original System Folder
core/
database/
fonts/
helpers/
language/
libraries/application/ <-- application, ie. example.com
private/ <-- Original Application Folder
cache/
config/
controllers/
core/
errors/
helpers/
hooks/
language/
libraries/
logs/
models/
modules/ <-- Added
migrations/ <-- Added
third_party/
views/
public/
css/
fonts/
img/
js/
user_guide/ <-- Original User Guide
### System StructureThe `codeigniter/2.2.2` folder structure change allows switching between versions of Codeigiter by simply updating your `$system_path` setting in `application/public/index.php`.
$system_path = '../../codeigniter/2.2.2';
>To add another version of Codeigniter, create a folder representing the Codeigniter version (2.2.2) and copy the contents of the `system` into that folder.
### Application Structure
The _application folder_ is still where all you application code lives, only now it includes -- all your application code. Your javascript files, your stylesheets, and your images.
The goal is two-fold
1. Self-contained Applications
2. Support for Multiple Applications### Public Folder
A place to store all your web accessible content, such as images, stylesheets, ect...
>`application/public/` folder is the entry point for your web accessible content.