Category:Site Configuration

From Wikipedia of the Dark Jedi Brotherhood, an online Star Wars Club

The Dark Jedi Brotherhood (beta) site is a complex beast that leverages a number of technologies. If you are looking to join the SCL team, you'll want to familiarize yourself with these technologies.

Server Configuration

LAMP

The site runs in a LAMP (Linux, Apache, MySQL, and PHP) environment.

  • Linux server is a CentOS VPS hosted on Linode
  • HTTPD server is Apache 2
  • MySQL 5
  • PHP 5.2.16 (The wiki doesn't support 5.3 yet...ugh)

Caching

APC (Advanced PHP Cache)

APC is an opcode caching solution. DevBee explains opcode well:

PHP is an interpreted language. This means that each time a PHP generated page is requested, the server must read in the various files needed and "compile" them into something the machine can understand (opcode). A typical Drupal page requires more than a dozen of these bits of code be compiled.

Opcode cache mechanisms preserve this generated code in cache so that it need only be generated a single time to server hundreds or millions of subsequent requests.

Enabling opcode cache will reduce the time it takes to generate a page by up to 90%.

Memcached

Memcached is a high performance, distributed caching system. From the horse's mouth:

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.

Reverse Proxy

Varnish Cache is a web application accelerator also known as a caching HTTP reverse proxy. You install it in front of any server that speaks HTTP and configure it to cache the contents.

Application Configuration

MVC Framework

The DJB site's code uses Code Igniter as its MVC framework of choice. The documentation is extensive and it is relatively easy to develop within.

Templating Library

Keeping layout separate from logic is a good practice. The DJB does that using Smarty Templates.

JavaScript

The DJB uses jQuery to fuel its JavaScript infrastructure.

Pages in category "Site Configuration"

This category contains only the following page.