GithubHelp home page GithubHelp logo

ollieza / codeigniter-starting-point Goto Github PK

View Code? Open in Web Editor NEW
36.0 36.0 15.0 2.97 MB

A custom CodeIgniter installation with useful libraries, helpers, fixes, and layout modifications.

License: MIT License

PHP 97.99% C 0.18% JavaScript 0.63% CSS 0.86% HTML 0.28% Makefile 0.04% Hack 0.03%

codeigniter-starting-point's Introduction

CodeIgniter (2.1.0) Starting Point - Status = production ready
====================================================================

A custom CodeIgniter installation with useful libraries, helpers, fixes, and useful modifications to the standard distributed code released by Ellis Labs.

Changes and Additions
=====================

CI settings
- Saving session data to db
- Autoloading helpers, libraries, and config files

CI restructuring
- Moved application/config/database.php to application/config/database.php-default

.htaccess
- Mod_Rewrite rules to create pretty urls

crossdomain.xml
- None policy so access is not allowed from other domains - e.g. flash

Git ignore
- Ignored application/config/database.php
- Ignored application/config/settings_environment.php
- Ignored log files
- Ignored cache files

Constants - Added useful info
- Website name and slogan
- Meta description and keywords
- Twitter & Blog RSS feeds
- Email address' - support, developer, system

Environment settings - application/config/system_environment.php
- Profiler ON/OFF
- Email error log ON/OFF

Added base controllers
- Frontend
- Admin
- Shared
 
Helpers
- Debug
- Time - https://github.com/ollierattue/codeigniter-time-helper
- URL
- Form
- Tax helper (UK VAT rate)
- Page
- Template

Libraries
- Links library - Save database table names into application/config/database_tables.php and the array key is then used in models. This means a table rename only needs to be updated in one place. 
- Autoresponder - https://github.com/ollierattue/codeigniter-autoresponder 
- SimpleLoginSecure auth library - http://codeigniter.com/wiki/SimpleLoginSecure/
- Router extension - allows controllers to have multiple directories - https://github.com/ollierattue/codeigniter-multi-level-controller-extension
- URI library extension - filter_uri() now allows url_encode characters
- Form validation extension - added greater_than_or_equal(), email_available() with ajax support, current_password_check()
- Log library extension - emails errors to developer - http://wpstorm.net/2009/05/email-log-messages-library-codeigniter/
- Session library extension - set_flashmessage() with 'success' or 'error' status which adds div formatting as applicable.
- DB utility library extension - fixed bug in csv_from_result() and added html encoding

Models and db 
- Countries db table and model

Controllers and views
- Admin login, dashboard, logout functionality
- Amnesia - forgotten password reset

CSS
- Structured in frontend, admin, and shared directories
- Useful generic helper and reset code
- Useful form, development, and flash_data styling

Javascript
- jQuery
- Json js encode/decode functions

Images
- Image directory with useful icons

TODO
====

- Move to Tank Auth library from SimpleLoginSecure

codeigniter-starting-point's People

Contributors

kosk avatar ollieza 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

Watchers

 avatar  avatar

codeigniter-starting-point's Issues

Documentation

It would be great if you'd extend the readme to a sort of a documentation of what's included and how to use everything. This way you'd make it useful for other people too. Hint hint.

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.