Posts Tagged ‘Kohana’

Modifying Kohana Formo ORM habtm for Binary Flags in the Pivot Table

I am wanting to use the habtm(“has and belongs to many”) plugin for Formo( a plugin for Kohana that creates forms) to set a Binary Flag in the pivot table. The Binary Flags in the pivot table can represent different things. I am using the Binary flag to represent permissions and groups:

Read the rest of this entry »

Using binary numbers for permissions

I am building a permissions system on the Kohana framework(PHP) using binary numbers and bitwise operators. Below are the 5 binary flags

Read the rest of this entry »

Specifying Multiple recipients for Kohana’s email helper library

I was having troubles with the email helper for swift not being able to specify multiple recipients for the email::send() helper function which uses the Swift Mailer library.

Read the rest of this entry »

Kohana event

Kohana events are points in the Kohana process than methods can be hooked to.  These methods are static, and they should never be instanced.

Read the rest of this entry »

Kohana module

Kohana modules are reusable collections of related files that together add a particular functionality to an application.  Modules are for use across applications or within an individual application itself.  Modules will not automatically be auto loaded by the auto loader.  First you need to add the module to the $config[‘modules’] array in the application/config/config.php file [...]

Read the rest of this entry »

Kohana helper

Kohana’s helpers are for static methods where the class does not need to be instantiated in order to use the methods.  You can consider these methods as handy functions that you can use throughout your application.  Helper classes are auto loaded by the framework so there is no need to include them.  Helper files are [...]

Read the rest of this entry »

Kohana library

Kohana’s libraries are for things like captcha, session, and authentication where you need a class that will be instantiated in order to use its methods.  Kohana’s Libraries are auto loaded by the framework so there is no need to include them.  You need to put the library files in the application/libraries folder.  Library class names [...]

Read the rest of this entry »

Kohana controller

The Kohana controller is what will control what happens between the models and the views in an application, MVC (model view controller). 

Read the rest of this entry »

Kohana routing

Kohana routing is you take what is in the url, past the host name, and give each segment a purpose. 

Read the rest of this entry »

Software Frameworks

Framework – reusable abstractions of code wrapped in a well-defined API(application programming interface). My experience with software frameworks.

Read the rest of this entry »
 
Stop SOPA!

SOPA breaks our internet freedom!
Any site can be shut down whether or not we've done anything wrong.

Stop SOPA!