2017 © Pedro Peláez
 

kohana-module commoneer

Extension of the Kohana Framework, adding commonly used features for faster development.

image

anroots/commoneer

Extension of the Kohana Framework, adding commonly used features for faster development.

  • Thursday, March 10, 2016
  • by anroots
  • Repository
  • 5 Watchers
  • 15 Stars
  • 1,098 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Commoneer Version 2.0.1 (17 September 2012)

Project status: Abandoned. This module is no longer developed or maintained., (*1)

Commoneer provides commonly used helpers and extensible classes that the author saw fit to add to Kohana. The module extends several Kohana's built-in classes, providing additional functionality and behaviour., (*2)

The module strongly reflects my developing style and might not be suitable for everyone., (*3)

See http://anroots.github.com/kohana-commoneer/ for additional information., (*4)

Core Philosophy

One should be able to do more with less code, thereby strong convention over configuration approach is taken. Controllers are smart enough to find their own views and assets. Extensible classes lay out the groundwork for common operations such as delete and find_all for modules., (*5)

Included Classes

Assets - Dynamic inclusion of stylesheets and scripts on as-needed basis. No need to write if statements to your master template file when all you have to do is add Assets::use_script('tablesorter') to your controller action and the script gets included. The output is automatically minified., (*6)

Controller_Template - Adds convention over configuration automatic view detection and convenience attributes, (*7)

Controller_Ajax - Call $this->respond($data); and have JSON output out of the box, (*8)

Commoneer_ORM - Extends the ORM module, overriding the delete() and adding get(), (*9)

Overriden error pages - We don't want clients to see the default stacktrace on Production, show a friendlier error page instead., (*10)

Extended Helpers

  • Date - Convert dates to localized / mysql format
  • Input - Manipulate and check user input
  • Security
  • Arr
  • Validation - recursively display (ORM) error messages

Dependencies

  • Default Kohana modules (Database, ORM...)
  • Notify module by kaltar: https://github.com/kaltar/Notify
  • Minify: https://github.com/mrclay/minify

Install

Standard Kohana module install:, (*11)

  • Clone the repository into your MODPATH folder:, (*12)

    cd your/modules/folder && git://github.com/anroots/kohana-commoneer.git, (*13)

  • Add a line to the modules definition in application/bootstrap.php to enable Commoneer, (*14)

    Kohana::modules(array( 'auth' => MODPATH . 'auth', ... 'commoneer' => MODPATH. 'commoneer', );, (*15)

  • See the userguide and API browser for usage information (enable the userguide module and visit http://localhost/your-kohana-installation/guide), (*16)

Documentation

Kohana Userguide documentation is provided as well as Phpdoc style comments. Activate the userguide module and navigate to http://localhost/your-kohana-path/guide., (*17)

The Versions

10/03 2016

dev-master

9999999-dev https://github.com/anroots/kohana-commoneer

Extension of the Kohana Framework, adding commonly used features for faster development.

  Sources   Download

Apache-2.0

The Requires

 

kohana commoneer kohana module

15/11 2012

3.0.x-dev

3.0.9999999.9999999-dev https://github.com/anroots/kohana-commoneer

Extension of the Kohana Framework, adding commonly used features for faster development.

  Sources   Download

Apache-2.0

The Requires

 

kohana commoneer kohana module

15/11 2012

3.0.0

3.0.0.0 https://github.com/anroots/kohana-commoneer

Extension of the Kohana Framework, adding commonly used features for faster development.

  Sources   Download

Apache-2.0

The Requires

 

kohana commoneer kohana module

15/11 2012

3.0.0-alpha.1

3.0.0.0-alpha1 https://github.com/anroots/kohana-commoneer

Extension of the Kohana Framework, adding commonly used features for faster development.

  Sources   Download

Apache-2.0

The Requires

 

kohana commoneer kohana module

13/11 2012

3.0.0-alpha

3.0.0.0-alpha https://github.com/anroots/kohana-commoneer

Extension of the Kohana Framework, adding commonly used features for faster development.

  Sources   Download

Apache-2.0

The Requires

 

kohana commoneer kohana module