Giter Site home page Giter Site logo

codeigniter-website's Introduction

CodeIgniter Website

This was the official informational website for the CodeIgniter project.

This repository is no longer in effect, replaced by the CodeIgniter4 version.

Programming Style

The website exhibits "good" programming style, although definitely not the only way to do things.

Some of the programming design decisions reflected:

  • The <code>public</code> folder is the intended document root for the webapp.
  • The architecture adheres more to the "model-view-adapter" convention, where the view is unaware of the source of data and the model is unaware of how any data might be presented. The controllers are go-betweens.
  • A "master template" lets each controller focus only with building its part of a webpage.
  • A base controller takes care of assembling finished pages, using the master template.
  • Using the template parser eliminates PHP code from the views, where possible.
  • Mock data for the recent news and most recently active threads, means that the website can be tested locally, without needing access to the live forum database.
  • View fragments are used to style single "records" on their own, improving cohesion.
  • An <code>.htaccess</code> file is incorporated, to configure Apache to remove index.php from any URLs.
  • Some of the formatting has gotten out of hand, so I am trying to conform to the CodeIgniter style guide as much as practical.

Sitemap

The site has a simple structure ... basically two-level (homepage and then content pages). There are a couple of additional pages, one for IRC for the visitors who do not have a suitable client, and one for related but subordinate information, accessible from the footer navbar.

Appropriate comments are found in each of the controllers.

Project Folders

/application the obvious /public document root /assets CSS, javascript & media /data zipped files for downloading, avatars /user_guide symbolic link to the current user guide /userguide2 the user guide for CI2 /userguide3 the user guide for CI3

Installation

Please see the installation section of the CodeIgniter User Guide.

License

Please see the license agreement

Resources

Acknowledgement

The CodeIgniter Project would like to thank the Reactor Engineers, EllisLab, all the contributors to the CodeIgniter project, and you, the CodeIgniter user.

This repository is maintained by James Parry, Project Lead.

codeigniter-website's People

Contributors

appleboy avatar boydiao avatar calico90 avatar diederiklascaris avatar greydnls avatar hex-ci avatar jim-parry avatar kevinmorssink avatar michalsn avatar narfbg avatar thedigitalorchard avatar xkb avatar zhanghongyi 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

Watchers

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

codeigniter-website's Issues

Exploit CI cache

Load the cache driver in the base controller constructor.
In the welcome controller, retrieve the github & forum results from the cache if available.
If not, get them the current way & store them in the cache, probably with a TTL of 5 minutes (shouldn't need longer).
This should reduce the consumption of rate-limited public API calls to github & other such services.

codeigniter forum registration problem

Hello,

I'm trying to register on codeigniter forum but when i push submit registration button nothing happens.
I'm using Opera and Internet Explorer.
Can you check please?

Thanks!
forum-codeigniter

Exploit github api

Now that we have a general purpose github api wrapper, it would be good to exploit that further, for instance extracting the number of downloads (CI3, CI2), total and over time. This might involve adding a table where we track the # of downloads at given points in time, so that we can report the usage over time (eg monthly), or acknowledge the most significant contributors in a month.

https://developer.github.com/v3/
https://developer.github.com/v3/repos/

css idea

Maybe we can add LESS of SCSS files to this project.

Class 'Github\Client' not found

Once I run this project it showing me this error:

An uncaught Exception was encountered

Type: Error

Message: Class 'Github\Client' not found

Filename: /Applications/MAMP/htdocs/website/application/libraries/Github_api.php

Line Number: 26

Backtrace:

File: /Applications/MAMP/htdocs/website/application/core/MY_Controller.php
Line: 65
Function: library

File: /Applications/MAMP/htdocs/website/application/controllers/Welcome.php
Line: 53
Function: __construct

File: /Applications/MAMP/htdocs/website/index.php
Line: 277
Function: require_once

Remove ETags

Modify the htaccess to eliminate ETags - perceived vulnerability

Github buttons not showing?

When I loaded the official website tonight, I found that the style of github buttons is not shown. I tried with three main browsers, but got no luck. But when I looked into the source codes, it seemed nothing was wrong as far as I can tell. And when I pulled the latest changes and run locally, it turned out to be fine.

Screenshot:
screen shot 2015-10-08 at 21 44 00

I wonder if others has the same issue or it only happened to me unluckily?

Encouraging HTTPS

We have arranged for CDN & SSL support of our server, and should start encouraging https:// links on our website. Some of these might be addressed as "//" links, while others might need the "https://" prefix.

Relative links in the site should redirect correctly automatically, but there are a number of hard-coded ones :(

The main website can be accessed using https, but trying to do that with the forum is giving me a bit of grief.

bcit-ci/codeigniter-website

An uncaught Exception was encountered

Type: Error

Message: Class 'Github\Client' not found

Filename: C:\xampp\htdocs\codeigniter-website\application\libraries\Github_api.php

Line Number: 26

Backtrace:

File: C:\xampp\htdocs\codeigniter-website\application\core\MY_Controller.php
Line: 28
Function: library

File: C:\xampp\htdocs\codeigniter-website\application\controllers\Welcome.php
Line: 15
Function: __construct

File: C:\xampp\htdocs\codeigniter-website\public\index.php
Line: 277
Function: require_once

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.