Cohesion
latest
  • Introduction
  • Installation
  • Quickstart
  • Code Structure
  • Configuration
  • Dependency Injection
  • Routing
  • Templating
  • Error Handling
  • Utility Classes
  • Examples
  • Contributing
Cohesion
  • Docs »
  • Cohesion PHP Framework
  • Edit on GitHub

Cohesion PHP Framework¶

The primary objective of this framework is to provide a simple framework to help developers create good clean PHP code. It forces developers to write code that follows many common software development principles.

Cohesion is more than just a Framework, it’s a development guideline that tries to enforce best practices to improve maintainability.

Contents¶

  • Introduction
    • Origins
    • Philosophy
  • Installation
    • Requirements
    • Installing Composer
    • Installing Nginx
    • Installing Cohesion with Composer
    • Setting up Nginx server
  • Quickstart
    • Frontend
    • Backend / Services
  • Code Structure
    • Services - Business Logic
    • Data Transfer Objects (DTOs) - Object Data
    • Data Access Objects (DAOs) - Data Access Logic
    • Controllers
    • Views
  • Configuration
    • File Structure
    • Environment specific configurations
    • Configuration Options
  • Dependency Injection
    • Dependency Injection simplified
    • How Cohesion performs Dependency Injection
  • Routing
    • Route matching
    • Redirects
  • Templating
    • Additional functionalities
  • Error Handling
    • Exceptions
    • Error Output
  • Utility Classes
    • Database Interaction
    • Configuration Library
    • Input Handler
  • Examples
  • Contributing
    • Licence
    • Code

Code¶

Cohesion on GitHub

Next

© Copyright 2014, Adric Schreuders. Revision 340ea17d.

Built with Sphinx using a theme provided by Read the Docs.