Coder Social home page Coder Social logo

website2's Introduction

CodeIgniter Website

This is the official informational website for the CodeIgniter project.

The website has been open-sourced in the interest of transparency. We welcome issues and pull requests, to handle corrections.
We will be a bit more reserved with the content :-/

The project is governed by the CodeIgniter Foundation, and we have a working group in place to handle the website content and design. Style and structure changes will be addressed by this group.

Implementation

The site has been built with CodeIgniter 4, and is meant to be an example of "good" programming style, although definitely not the only way to do things.

Some of the programming design decisions reflected:

  • The public 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.

##Resources

Server Requirements

PHP version 7.2 or higher is required, with the following extensions installed:

  • intl
  • libcurl if you plan to use the HTTP\CURLRequest library

Additionally, make sure that the following extensions are enabled in your PHP:

  • json (enabled by default - don't turn it off)
  • mbstring
  • mysqlnd
  • xml (enabled by default - don't turn it off)

website2's People

Contributors

alexjlaroche avatar andikod avatar bchu28 avatar brendontang avatar cat-box avatar chowzler avatar digitalwolf98 avatar ewong604 avatar jim-parry avatar jkstudent101 avatar natanfelles avatar sdesai71 avatar sukhkhera avatar thomaswong66 avatar

Watchers

 avatar

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.